[Paraview] Reset camera center of rotation

Laurent Vanboquestal laurent.vanboquestal at gmail.com
Mon Jul 12 03:01:27 EDT 2010


Yeah, It works ...

Thanks you,

Regards,

Laurent

On Fri, Jul 9, 2010 at 6:37 PM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com
> wrote:

> Try the following:
>
> ResetCamera()
> view = GetActiveView()
> view.CenterOfRotation = GetActiveCamera().GetFocalPoint()
> Render()
>
> On Fri, Jul 9, 2010 at 11:58 AM, Laurent Vanboquestal
> <laurent.vanboquestal at gmail.com> wrote:
> > 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
> >
> > _______________________________________________
> > 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100712/4749d45a/attachment.htm>


More information about the ParaView mailing list