[Paraview] is there any wrong?

2011-02-19 Thread 胡健
dear all: I want to parallel volume rendering in my computer, but I can not make it parallel, here is my code. Is there any wrong? #include vtkCompositeRenderManager.h #include vtkRenderWindow.h #include vtkRenderWindowInteractor.h #include vtkProperty.h #include vtkMPIController.h #include

[Paraview] scripting beginner

2011-02-19 Thread Hartwig Anzt
Hi! I am real beginner in paraview scripting. Up to now, I used the paraview graphic platform, but since the tasks are getting more complex, I wanted to use paraview scripting with python and failed. What I want to do: - Load .vts-data - Create Contour - Set Data Range - Save State/Save

Re: [Paraview] scripting beginner

2011-02-19 Thread Tim Gallagher
Without looking at the script in detail, have you tried using the Python Trace feature in the GUI? Since, at this stage anyway, all of your tasks are straight forward, you can do them in the GUI with the trace turned on, then look at the resulting script to show you how all of it is done.

Re: [Paraview] scripting beginner

2011-02-19 Thread Sebastien Jourdain
Hi, you forget to call Render() before and after the ResetCamera(). Seb On Sat, Feb 19, 2011 at 9:59 AM, Tim Gallagher tim.gallag...@gatech.edu wrote: Without looking at the script in detail, have you tried using the Python Trace feature in the GUI? Since, at this stage anyway, all of your