[vtkusers] Constraint rotation 3D scene

Bertrand De Boisdeffre bertranddeboisdeffre at yahoo.fr
Tue Aug 10 16:33:08 EDT 2010


Hi, 
Here my issue:

I would like to know if it is possible to  constraint rotation in a 3D scene. 
For example, rotate only around  y-axis and z-axis in a "simple way" without 
keyboard using ( it's for a  touch-screen). Actually, I suppose that it could be 
done by 1 way :

handle interactor events (like MouseMoveEvt and LeftButtonpressEvt)  and then do 
a "good camera positionning " based of the mouse movement.  But i think it's a 
little bit complicated.

Best regards,



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100810/22c1782c/attachment.htm>


More information about the vtkusers mailing list