[vtkusers] Is there a way to limit movement of vtkCamera to a plane?
Arnaud BARRE
arnaud.barre at gmail.com
Thu May 31 00:54:49 EDT 2012
I don't know any interactor style with this behavior. You should
inherit from an existing one (e.g. vtkInteractorStyleTrackballCamera),
add a member to enable/disable the rotation and overload the method
OnLeftButtonDown(). In this method you will decide what to do if the
rotation is enabled or not.
Arnaud
On Thu, May 31, 2012 at 6:25 AM, Mike Gagnon <mike at gagnon.com> wrote:
> Hello!
>
> I'm setting up 4 views on a vtkActor - 3 of which are views along the X Y Z
> axis respectively. Is there a way to limit the allowed motion of the
> camera, so that all it can do is zoom in and out, for a given renderer?
>
> Thanks!
> Mike
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list