[vtkusers] add multiple RenderWindowControl in runtime | ActiViz
David Cole
dlrdave at aol.com
Thu Feb 6 15:25:43 EST 2014
I think you mostl ikely don't need them... But I don't know for sure,
because I don't know what your application is doing.
The ActiViz RenderWindowControl encapsulates a RenderWindow, a Renderer
and a RenderWindowInteractor, as you can see in the source code for
ActiViz:
http://public.kitware.com/gitweb?p=activizdotnet.git;a=blob;f=RenderWindowControl/RenderWindowControl.cs;h=69245f0ce37aa566bb410955a320e7be420240b4;hb=HEAD#l20
HTH,
David
-----Original Message-----
From: Matias Montroull <matimontg at gmail.com>
To: David Cole <dlrdave at aol.com>
Cc: vtkusers <vtkusers at vtk.org>
Sent: Thu, Feb 6, 2014 11:04 am
Subject: Re: [vtkusers] add multiple RenderWindowControl in runtime |
ActiViz
Thanks David, so should I get rid completely of the
renderWindowInteractor then? If I remove that line of code my code
above around interactor is useless I think..
Thank you,
On Thu, Feb 6, 2014 at 12:32 PM, David Cole <dlrdave at aol.com> wrote:
As soon as you call:
renderWindowInteractor.Start();
it begins a message loop which does not return. Just delete that line
of code, and allow your application to control the message loop.
HTH,
David C.
More information about the vtkusers
mailing list