[Paraview] WriteImage Arguments

2012-07-17 Thread Roba Binyahib
Hello I'm want to write the result of this code to png file and I found the writer WriteImage() the thing is that in Paraview's tutorials I found the writer with two arguments like the following view.WriteImage(example.png,vtkPNGWriter) but when I run that from the termianl using pvpython I

[Paraview] Volume Rendering with python

2012-07-14 Thread Roba Binyahib
Hello I want to change the representation to volume using python this is my script from paraview import servermanager servermanager.Connect() from paraview.simple import* reader = servermanager.sources.XdmfReader(FileName = /.../HCOOnly.xmf) reader.UpdatePipeline() pointData =

[Paraview] How to calculate the gradient ?

2012-04-27 Thread Roba Binyahib
Hi everyone I have applyed the contour filter on a dataset with isosurface Temp and I want to calculate the gradient of a variable Temp on the combustion dataset and use the magnitude of the gradient as a color map for the Temp isosurface how can I do that ? Thanks

Re: [Paraview] How to calculate the gradient ?

2012-04-27 Thread Roba Binyahib
magnitude as the value to color the isosurface by. reader-gradient-contour David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Apr 27, 2012 at 10:52 AM, Roba Binyahib roba.binya...@kaust.edu.sa wrote: Hi everyone

Re: [Paraview] problem in displaying filters affects

2012-04-20 Thread Roba Binyahib
,.5,0] Show(clip) Render() Hide(reader) Render() That should do what you script was doing. But at the end I make sure that I hide the full data so I can see the clip of that data. Seb On Mon, Apr 16, 2012 at 8:50 AM, Roba Binyahib roba.binya...@kaust.edu.sa wrote: Hi everyone

[Paraview] problem in displaying filters affects

2012-04-16 Thread Roba Binyahib
Hi everyone I'm having a problem with applying filters using python and paraview I can load the data file and change the colors but when I apply filters I can not see any changes I'm using paraview version 3.14.0 and this is an example of the code I'm trying to run from paraview import