[vtkusers] Enable or disable pan, rotation and zoom on key pressed event
hernanunpa at Gmail.com
Wed Oct 4 11:16:37 EDT 2017
I'm trying to set up a MouseInteractor Class
(vtkInteractorStyleTrackballCamera) handling events to disable pan, zoom, or
rotation. Each of these functions would be enabled or disabled according to
an user's pressed key.
I think the most common way of doing it, is to generate an event handler
function for each different key and, inside it's block setting some flag of
the class vtkRenderWindowInteractor to false or true using a function like
setPan(false) or setPan(true), etc.
But as you may know there's no such function or method on the
Is my aprroach correct? Does someone have a better idea?
Thank you all.
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers