[vtkusers] ActiViz | vtkRenderWindowInteractor Start event

Matias Montroull matimontg at gmail.com
Mon Mar 31 20:56:27 EDT 2014


Hi David, thanks for the response.

I'm using this into a Windows Form Application. What would be my message
loop? I'm not quite sure what that means, can you explain a bit more?

Thanks!


On Sat, Mar 29, 2014 at 1:59 PM, David Cole <dlrdave at aol.com> wrote:

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140331/c8807641/attachment.html>


More information about the vtkusers mailing list