[vtkusers] How to get mouse button details from vtkInteractorStyleImage

K O ranjith kor1581 at gmail.com
Thu Jul 6 08:02:18 EDT 2017


Hello,
I'm inheriting  vtkInteractorStyleImage for customizing mouse events in an
image viewer.
In vtkInteractorStyleImage, have any method to get the details of which
mouse button is pressed(Left/ Right/Middle) like GetKeySym() for keyborad
 keys.
I know about the virtual functions like OnRightButtonDown
<http://www.vtk.org/doc/nightly/html/classvtkInteractorStyle.html#a41fd8967b8537a29e68d614990006ee1>
 ().
Have any direct way to get from the vtkInteractorStyleImage  object...?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170706/d299f21c/attachment.html>


More information about the vtkusers mailing list