[vtk-developers] Override ALL interaction in wrapper language

David Gobbi dgobbi at imaging.robarts.ca
Sun Dec 8 23:10:34 EST 2002


With the new deprecation warnings for VTK 4.2, my old method
of trapping interaction events from Python (using the misbegotten
vtkInteractorStyleUser) is no longer kosher.

It looks like it should be easy to tie Python in to all of
the InteractorStyle events via Observers, but the MouseMotionEvent
doesn't come through, and there doesn't seem to be any way for
me to latch onto this event in Python.  Maybe it _would_ work if
I could call StartInteraction on the InteractorStyle, but that
method is protected.

Is there something I'm missing?

 - David

-- 
  David Gobbi, MSc                dgobbi at imaging.robarts.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario




More information about the vtk-developers mailing list