[vtkusers] Disabling vtkImagePlaneWidget rotations?
vtk_darshan at yahoo.com
Thu Jun 29 19:00:40 EDT 2006
YOu can try using the InteractionOff() function in the Widget class.
THough if u wanna only diable plane rotation and keep the rest of the functionlaity the only thing that can work is to subclass the interactor.
Daniel Kornhauser <kornhauser at resonon.com> wrote:
I want my users to be able to *only* translate a vtkImagePlaneWidget ,
thus preventing them from rotating the plane with the mouse. How do I
disable rotations? From the vtkImagePlaneWidget documentation it looks
like it is possible:
"In addition there are methods to constrain the plane so that it is
aligned along the x-y-z axes."
But I can't seem to find the methods to constrain a plane to be aligned
:-(. Or I just misunderstand the whole meaning of the quoted sentence
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
Want to be your own boss? Learn how on Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers