[vtkusers] ActiViz | vtkRenderWindowInteractor Start event

David Cole dlrdave at aol.com
Sat Mar 29 12:59:17 EDT 2014


iren.Start(); runs a message loop, and doesn't exit until you as a user 
exit that window (either press the 'q' key, or close the window)

If you don't want that because you're building this into an application 
where you already have your own message loop, then simply don't call 
iren.Start();...

Instead, call "renwin.Render();" to show the window and render its 
contents. If you're running in the context of a WinForms application, 
or something like it, then your message loop should suffice to cause 
events to be processed for the render window.


HTH,
David C.



More information about the vtkusers mailing list