Hello,
I'm browsing through servermanager.CreateRenderView().GetActiveCamera()
methods, and I have a question: is it possible somehow to set the active
camera properties so that all of the data is within vtk view window, but
without loading a paraview state file? When I work in Paraview GUI
fronte
Hi Peter,
thank you so much for the help, it got me on the way, but I still have
some questions.
Here's what i've tried:
I didn't set wireframe, points , etc, and ResetCamera and
StillRender give me a black screen. I took your advice and did this:
view = servermanager.CreateRenderView()
c
>From a user:
I'm trying to create a Python script which will loop through a set of Exodus
block IDs and will output an image for each block. I started the trace and
tried to use the "Zoom to Data" button, but this didn't translate well into the
python script - instead I got a discrete camera v
Alan,
With git/master, it translates to something like this:
renderView1.ResetCamera(-10.0, 10.0, -10.0, 10.0, -10.0, 10.0)
Where the values are indeed the current data bounds. But I think we
can add API to "ZoomTOData" in Python using a data source rather that
current bounds. Feel free to add a
I see in coprocessing.py it does:
if view.IsA("vtkSMRenderViewProxy") == True:
view.ResetCamera()
elif view.IsA("vtkSMContextViewProxy") == True:
view.ResetDisplay()
The first is for standard 2D and 3D views an