[vtkusers] Zoom to Mouse in 3D

Alfredo Rodriguez alfredo at mbfbioscience.com
Wed Jul 10 16:48:29 EDT 2013


Hi,

I'm new to vtk and I need to modify existing vtk code to allow "zoom to mouse" in the 3D window using the mouse wheel. This is similar to zoom implemented in google maps but in 3D. From what I've read looks like I need to override the OnMouseWheelForward() and OnMouseWheelBackward() methods of my particular derivation of vtkInteractorStyle but I'm wondering if vtk already offers something to accomplish this type of zooming.

Any information on this will be really helpful.

Thanks,

Alfredo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130710/4e47ee1b/attachment.htm>


More information about the vtkusers mailing list