<div dir="ltr">You can call interactor->ExitCallback() from within an event callback of some sort and it will pop out of the message loop started by interactor->Start()...<br><br><div>I'm not sure if the render window remains open beyond that point or if it closes as part of the ExitCallback processing. Start with that and ask again if you have further questions... I think the render window remains until you Delete it and the interactor.</div>
<div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br><div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, Oct 8, 2008 at 5:14 PM, Kwame Kutten <span dir="ltr"><<a href="mailto:kuttek@rpi.edu">kuttek@rpi.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
Is there a way to interrupt/stop/remove the a vtkRenderWindowInteractor<br>
without closing the render window.<br>
<br>
For example..<br>
<br>
int main(void)<br>
{<br>
//...<br>
interactor->Start();<br>
//Do other things but render window is still open.<br>
return 0;<br>
}<br>
<br>
Thanks,<br>
ksk<br>
<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div></div>