[vtkusers] key board event

Hoang Hoang hp1711 at gmail.com
Mon Dec 11 03:28:39 EST 2006


hi all,
 I am writing a window appication which requires keyboard interaction. I
have used the methods
vtkRenderWindowInteractor->AddObserver(eventId,command) which can catch
keyboard events (press or release). The problem is the same action is taken
for every key. How can I specify action for an invidual key?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061211/9b44ce1a/attachment.htm>


More information about the vtkusers mailing list