[vtkusers] who 'observes' event?

A J lost_bits1110 at hotmail.com
Tue Jun 1 22:59:51 EDT 2004


...OR, am I supposed to be doing InvokeEvent( vtkCommand::EnterEvent ) 
myself, and only then will my callback work..!?
And I guess I would detect this keypress by using OpenGL's 
GlutKeyboardFunction or something, upon which I do the InvokeEvent, after 
which my callback function is executed..?

Or am I on totally the wrong track?

Okay thanks again =S

AJ




>
>regarding the problem of my last post - maybe the problem is I haven't 
>added an observer to the correct object
>
>I tried it with
>
>            RenWin->AddObserver( vtkCommand::EnterEvent, cbc );
>and       Ren-> "
>and       Iren-> "
>
>(note that I am calling Iren->Render() to render my scene)
>
>but none of them seem to detect when I press the Enter key on my keyboard..
>
>If I change it to detecting Ren->AddObserver( vtkCommand::ModifiedEvent, 
>cbc)
>Then this works fine
>
>But thats the only one that I can get to work
>Really I would like it to detect when I press Enter!
>
>So if anyone has any insight.. then please englighten me..! =S
>Thank you in advance once again =)
>
>AJ
>
>_________________________________________________________________
>Looking to buy a house? Get informed with the Home Buying Guide from MSN 
>House & Home. http://coldwellbanker.msn.com/
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. 
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




More information about the vtkusers mailing list