[vtkusers] Mouse "Styles"

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Fri Jul 6 10:19:59 EDT 2001


Your best bet is to subclass vtkInteractorStyle.
see for example InteractorStyleFlight

JB

At 01:17 06/07/2001, Gharrison9 at aol.com wrote:
>I'm working on a project that will have to deliver considerable interaction
>via mouse (and keyboard) to a vtk C++ application.  I can redefine a style
>(via vtkInteractorStyleUser and SetLeftButtonPressMethod,
>SetUserInteractionMethod, etc.) for any mouse button.  However, I can't
>redefine more than one mouse button to work during an interaction.  I'm sure
>that I'm missing something here.  Can anyone help or at least give an pointer
>to a C++ or TCL example that redefines the actions of at least two mouse
>buttons?
>
>Thanks
>
>George
>George C. Harrison   Professor of Computer Science
>Norfolk State University





More information about the vtkusers mailing list