[vtkusers] Locking camera rotation along camera axis

Jahn Otto Næsgaard Andersen jotto at jotto.no
Mon Oct 15 12:19:16 EDT 2012


I am using a vtkRenderWindowInteractor with interactor style
vtkInteractorStyleTrackballCamera. I need to restrict camera rotation so
that the camera can't be rotated around the view axis. In other words, the
camera's x axis shall always be in the world's xy plane.

How can I achieve this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121015/00ea74bc/attachment.htm>


More information about the vtkusers mailing list