<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Jinyoung,<br>
I have been facing the same problem, and alos posted with no sucess in
this mailing list.<br>
In order to synchronize 2 renderers, I setup one observer on each
renderer's camera, osberving the event : vtkCommand::ModifiedEvent<br>
This event triggers a function which forces the other renderer to
render.<br>
<br>
Hope that it helps, I can send you a small code sample if you need to
see how to setup callbacks.<br>
<br>
Regards<br>
-- <br>
<pre class="moz-signature" cols="72">Antonin </pre>
<br>
<br>
On 5/17/10 12:16 AM, Jinyoung Hwang wrote:
<blockquote
cite="mid:AANLkTinMoi7AsQV7xvqxH88oOuY0eed3lQpda3riJBKA@mail.gmail.com"
type="cite">Hi all,
<div>Even I posted the same question, I didn't find appropriate
answers.</div>
<div><br>
</div>
<div>I'm trying to generate stereo views (left and right view).</div>
<div>First, I made two renderers (vtkMFCwindow) in one application.</div>
<div>Each renderer will be captured in bitmap, then all of bitmaps
are converted to movie file (AVI).</div>
<div><br>
</div>
<div>I met a problem in implementation.</div>
<div>If one renderer are translated or scaled by mouse control,
another renderer should certainly be translated or scaled.</div>
<div>How to capture the mouse operation in one renderer?</div>
<div>Additionally, how to send the mouse operation to another
renderer?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>JY</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>