<div dir="ltr">Thanks, basically I need my application to display multiple Dicom images. I think the only way is either adding multiple renderwindowcontrols or add multiple images to a single renderwindow, not sure which one would be best as I need to also interact with the images, like delete selected image, or change WL/WC etc.<div>
Thanks!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 5:25 PM, David Cole <span dir="ltr"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>

<br>
The ActiViz RenderWindowControl encapsulates a RenderWindow, a Renderer and a RenderWindowInteractor, as you can see in the source code for ActiViz:<br>
<br>
    <a href="http://public.kitware.com/gitweb?p=activizdotnet.git;a=blob;f=RenderWindowControl/RenderWindowControl.cs;h=69245f0ce37aa566bb410955a320e7be420240b4;hb=HEAD#l20" target="_blank">http://public.kitware.com/<u></u>gitweb?p=activizdotnet.git;a=<u></u>blob;f=RenderWindowControl/<u></u>RenderWindowControl.cs;h=<u></u>69245f0ce37aa566bb410955a320e7<u></u>be420240b4;hb=HEAD#l20</a><br>

<br>
<br>
HTH,<br>
David<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Matias Montroull <<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>><br>
To: David Cole <<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>><br>
Cc: vtkusers <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Sent: Thu, Feb 6, 2014 11:04 am<br>
Subject: Re: [vtkusers] add multiple RenderWindowControl in runtime | ActiViz<br>
<br>
<br>
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..<br>
<br>
<br>
Thank you,<br>
<br>
<br>
<br>
<br>
On Thu, Feb 6, 2014 at 12:32 PM, David Cole <<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>> wrote:<br>
<br>
As soon as you call:<br>
<br>
   renderWindowInteractor.Start(<u></u>);<br>
<br>
it begins a message loop which does not return. Just delete that line of code, and allow your application to control the message loop.<br>
<br>
<br>
HTH,<br>
David C.<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>