Yeah, It works ...
Thanks you,
Regards,
Laurent
On Fri, Jul 9, 2010 at 6:37 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com
wrote:
Try the following:
ResetCamera()
view = GetActiveView()
view.CenterOfRotation = GetActiveCamera().GetFocalPoint()
Render()
On Fri, Jul 9, 2010 at 11:58
Hello,
I would like to know if there is a (python) way to reset the center of
rotation (like the Reset button in the paraview GUI/Camera toolbar) ?
I notice that the ResetCamera() function doesn't reset the center of
rotation
Any idea?
Best Regards,
Laurent
Try the following:
ResetCamera()
view = GetActiveView()
view.CenterOfRotation = GetActiveCamera().GetFocalPoint()
Render()
On Fri, Jul 9, 2010 at 11:58 AM, Laurent Vanboquestal
laurent.vanboques...@gmail.com wrote:
Hello,
I would like to know if there is a (python) way to reset the center of