[vtkusers] Switching interaction input source from mouse to reading from a TCP port?

bkchng bkchng at gmail.com
Sun Jan 10 00:21:53 EST 2010


Thanks for your reply. However, writing such a mouse driver would not enable
multi-touch capabilities in VTK, because it would only emulate the functions
of a mouse (single click). This is because VTK's interaction styles
currently only work with mouse/trackball/joystick interaction styles
(correct me if I'm wrong).
David Borland over at RENCI has come up with an interesting implementation
of multi-touch in VTK (http://unc.renci.org/rencinews/vtkinteractiondevice),
but I'm still struggling to understand the codes and to adapt it to my
multi-touch device. Perhaps those of you who are interested can shed some
light on it.

But for a start, my first question would be, how do I make a TCP message
received from port 3333 register as a left mouse click in VTK? Which file
should I modify? I'm hoping to get this done as a first step, so as to pave
the way for implementing additional multi-touch capabilities. I'm guessing
that I will have to add additional interaction styles in the future, but
I'll work with the mouse interaction style for now.
-- 
View this message in context: http://old.nabble.com/Switching-interaction-input-source-from-mouse-to-reading-from-a-TCP-port--tp27090671p27095750.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list