Is the RenderWindow common between the two renderers? If so you can try setting the interactor to the RnderWindow and see if it does the trick<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 8:34 AM, Jinyoung Hwang <span dir="ltr">&lt;<a href="mailto:hwangjinyoung@gmail.com">hwangjinyoung@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hi all vtkusers,</div>
<div> </div>
<div>I&#39;m now trying to generate stereo views using vtk.</div>
<div>First, I created two vtkMFCwindow instances, and two views (for left and right eye) were displayed; each translated a little bit as follows.</div>
<p> renderer-&gt;SetBackground(1, 0, 0);<br> maincamera-&gt;SetPosition(-5, 0, 300); <br> renderer-&gt;SetActiveCamera(maincamera);<br> <br> renderer2-&gt;SetBackground(0, 0, 1);<br> maincamera2-&gt;SetPosition(5, 0, 300);<br>

 renderer2-&gt;SetActiveCamera(maincamera2);</p>
<div>In this case, the interactor of each window cannot be duplicated.</div>
<div>When I control (rotate or translate) the window (#1) using mouse, another window (#2) should consequentially be rotated or translated.</div>
<div> </div>
<div>Is there any function or something to interact two interactions of vtkMFCwindow.</div>
<div>Thanks in advance.</div>
<div> </div>
<div>JY</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<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>
<br></blockquote></div><br>