[vtkusers] vtkRenderWindowInteractor::Start() never returns

Erin McKay MckayEr at SESAHS.NSW.GOV.AU
Mon Sep 27 17:43:59 EDT 2004


Hmmn, I think I've got a problem, then. When I Start(), the render window appears behind the terminal window from which I launch the application (Cylinder.cxx). The only active part of the window is the button group (close, minimise, etc). Any keypress is captured by the terminal. I can close the render window but the application continues running until I hit ^C.

Also, when I run the GraphicsCxxTests, I get a render window that displays an image for rather less than a second, then disappears. Is this what I should expect? (nb. the TestCxxFeatures tests all report a pass).

I'm working on Mac OSX 10.3 using the OpenGL and Carbon frameworks, if that makes a difference.

thanks for any assistance,
erin



Hitting the 'Q' key while in the interactor makes the Start() call
unblock.  It does not mean the app has to quit then.
Hope this helps some.

- Charles Moad

On Sep 25, 2004, at 5:51 PM, Erin McKay wrote:

>
> According to the documentation for vtkRenderWindowInteractor, the
> Start() method of will start up the event loop and never return. How,
> then, do I reach the cleanup code in (for example) the cylinder.cxx
> sample code?
>
> Must I write my own event loop if I need to return to the entry point?
>


SOUTH EAST HEALTH CONFIDENTIALITY NOTICE

This email,  and the files transmitted with it, are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are not permitted to distribute or use this email or any of its attachments in any way. We also request that you advise the sender of
the incorrect addressing.

This email message has been virus-scanned. Although no computer viruses were detected, South East Health accepts no liability for any consequential damage resulting from email containing any computer viruses.




More information about the vtkusers mailing list