[vtkusers] Handling TDxButtonReleaseEvent in VTK

Roberto Garrido rgarrido at emedica.es
Mon Nov 19 06:58:16 EST 2012


Hi all! J

We are handling 3DConnexion Space Navigator events via subclassing
vtkTDxInteractorStyle class. OnMotionEvent and OnButtonPressedEvent are
being invoked, but OnButtonReleasedEvent is not. After digging into the code
(vtkTDxWinDevice.cxx file) we can see that such event is not being handled
in the ProcessEvent method. This applies, at least, VTK versions from 5.6.1,
to the development branch.

 

We have made some modifications in the above mentioned file (not a big
deal), in order to get OnButtonReleasedEvent event working, but we think
that modifying VTK code is not the best approach, and there is no other
mechanism to get this working. Any ideas on why this event is not being
handled? Any thought on how to handle it by avoiding VTK code modifications?

 

Thanks in advance. 

My best,

Robert.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121119/20761b1d/attachment.htm>


More information about the vtkusers mailing list