[vtkusers] wkVTKRWI with customized event handling?
sven.prevrhal at radiology.ucsf.edu
Wed Jul 13 11:38:36 EDT 2005
I am using wxvtkRenderWindowInteractor and am trying to catch some events
with the AddObserver method to a vtkInteractorStyleSwitch. This does not
seem to work properly!
ist = widget.GetInteractorStyle() # returns vtkInteractorStyleSwitch
def OnChar(obj, event):
prints "CharEvent" as expected, but event processing continues for some keys
such as f (flies to pick spot), but not for others, e.g. 't', (toggle to
def OnLeftButtonDown(self, obj, event):
doesn't seem to be called at all!
I know I could use the wx event mechanism but I'd like to avoid it to stay
independent of wx.
I am wondering whether anybody else might have identified the same problems:
Sven Prevrhal, Ph.D.
Department of Radiology
University of California, San Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers