[vtkusers] who 'observes' event?

A J lost_bits1110 at hotmail.com
Tue Jun 1 22:20:19 EDT 2004


Hi,

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/




More information about the vtkusers mailing list