[IGSTK-Users] where is the code that interprets the mouse gestures?

Ray Tayek rtayek at ca.rr.com
Mon Jul 7 18:30:30 EDT 2008


At 05:48 PM 7/6/2008, you wrote:
>...
>take it easy :-)

thanks, i needed that :)

>are you planning to work with FLTK or QT? These are the two 
>currently supported in IGSTK

fltk i assume.

>the IGSTK book is the correct starting point

yes,  that was very useful

>you are 
>lucky 
>...<http://www.na-mic.org/Wiki/index.php/OpenIGTLink>http://www.na-mic.org/Wiki/index.php/OpenIGTLink

great!

>with regard to your example, the way you can extend any of such 
>examples would be something like this:
>...
>class HeadView : public Fl_Group {
>...
>virtual int handle(int e);
>...
>you can then use your HeadView window as usual in FLTK

ok.

i found some mouse event code that deals with control and shift in: 
FLTKWidget::handle. it calls: 
renderWindowInteractor->SetEventInformation, so i am on the trail of 
that stuff.

>keep us posted with your news

will do.

thanks

>On Sun, Jul 6, 2008 at 8:23 PM, Ray Tayek 
><<mailto:rtayek at ca.rr.com>rtayek at ca.rr.com> wrote:
>At 02:25 PM 7/6/2008, you wrote:
>...
>        case FL_KEYUP:
>            if  (Fl::event_state() == FL_SHIFT) // or  FL_CTRL
>
>the above makes sense. but i can not seem to find where this is 
>occurring in the hello world ...
>
>Let us know a bit more about your intended application
>
>
>i would like to write a tracker that listens to a socket (i think). ...

---
vice-chair http://ocjug.org/





More information about the IGSTK-Users mailing list