[vtkusers] Two Interaction Styles: Mouse and Keypress
John Drescher
drescherjm at gmail.com
Tue Apr 6 08:45:30 EDT 2010
> I wan't to have both mouse and keypress interaction in my code.
> I worked with both the classes seperately
> Mouse-Interaction:
> http://www.vtk.org/Wiki/VTK/Examples/Interaction/DoubleClick
> Keypress-Interaction:
> http://www.vtk.org/Wiki/VTK/Examples/Interaction/KeypressEvents
>
> But now I want to merge them to one interaction style.
> Does anybody know how to add both to the Render Window Interactor?
>
They both derive from the same base class
vtkInteractorStyleTrackballCamera. Merge the code from the two.
John
More information about the vtkusers
mailing list