Hi,

the ParaView GUI has this nifty little button action "Zoom To Data"
which displays the current object such that it somehow fits its
window.

Is there a similar thing for the Python paraview.simple module? I'm
trying to get a hang on it with certain view options such as

 view = pv.GetRenderView()
 view.CameraFocalPoint = [0, 0, 0]
 view.CameraViewAngle = 90
 view.CameraPosition = [0, 0, 10]
 view.ViewSize = [600, 600]

but what I would really like to have is to set the camera at a
distance such that the object(s) just fit into the window they're
displayed in.

Any hints?

Cheers,
Nico
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to