<div>Hello everyone,</div>
<div> </div>
<div>I have developed a visualization for my algorithm using VTK. </div>
<div> </div>
<div>No matter what computation we do, we want to visualize it and for that purpose we finally end up creating a vtkRenderer ( with all the actors added ) which would draw to an onscreen vtkRenderWindow.</div>
<div> </div>
<div>Now i want to see the results of my algorithm on a batch of input. i.e i want to run the same application in batch mode.</div>
<div> </div>
<div>For this i would want the same vtkRenderer to draw to both an onscreen vtkRenderWindow and an off screen vtkRenderWindow ( i would save what ever is being rendered to an offscreen render window to a disk image). So that i can see the visualization both onscreen while the batch is running and also offscreen when the batch has finished, by looking at the disk images.
</div>
<div> </div>
<div>But vtk does not allow me to set the same renderer to draw into both these render windows. It just disconnects the interactivity in the onscreen render window, whenever i set the same renderer to draw into the offscreen render window.
</div>
<div> </div>
<div>Is there any way to do this ???</div>
<div> </div>
<div>If, not i have a work around ------ If i can make a copy of my vtkRenderer -- i will use one renderer for the offscreen and one for the on screen purpose.</div>
<div> </div>
<div>But unfortunately, i couldnt find a way to make this vtkRenderer clone or copy ??? how can i achieve this ???</div>
<div> </div>
<div>Thanks in advance.....</div>
<div> </div>
<div>Please Help !!!!</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Deepak Roy</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>