[vtkusers] Changing mouse buttons interactions on vtkImagePlaneWidget
Wagner Sales
wsalles2003 at yahoo.com.br
Mon Mar 20 15:40:36 EST 2006
Hi all,
I'm using a vtkImagePlaneWidget to show slices and i 'm trying to
customize mouse interactions with mouse and planes.
The problem are: i need to stop one interaction ( for example spin ou
rotating ). The class provides Set<Button>ButtonAction (eg.
SetMiddleButtonAction ) for the mouse buttons, but I can just change
between CURSOR_ACTION, SLICE_MOTION_ACTION and WINDOW_LEVEL_ACTION. I
want to maintain, for example, the slice motion on middle button, but
not rotation.
How i can do that? I need to reimplement this class? Have some methods
or couple of methods that's can solve that?
Thanks in advance and sorry by newbie question. I'm using vtk 5.
Wagner Sales
More information about the vtkusers
mailing list