[vtkusers] vtkInteractorStyleUser

David Doria daviddoria+vtk at gmail.com
Tue Sep 14 16:15:07 EDT 2010


The documentation says: "you must use e.g. SetMiddleButtonPressMethod()
instead of the more general SetButtonPressMethod()". I don't see either of
those functions? Has anyone used this class? I'm trying to figure it out in
c++ before trying it in Python (I guess this is how you are supposed to
handle interaction in Python. Again from the documentation: "This is
particularly useful for setting up custom interaction modes in scripting
languages such as Tcl and Python".

I made a shell example here if anyone can demonstrate how to use it:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/InteractorStyleUser
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/InteractorStyleUser>
Thanks!

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100914/031e997a/attachment.htm>


More information about the vtkusers mailing list