<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Try to use the same interactor in both windows. That may fit your need.<BR><BR>Xiaofeng<BR><BR><BR> <BR>
<HR id=stopSpelling>
Date: Mon, 17 May 2010 00:23:21 -0400<BR>From: antonin07130@gmail.com<BR>To: vtkusers@vtk.org<BR>Subject: Re: [vtkusers] how to interact two renderers<BR><BR>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=ecxmoz-signature>Antonin </PRE><BR><BR>On 5/17/10 12:16 AM, Jinyoung Hwang wrote:
<BLOCKQUOTE cite=mid:AANLkTinMoi7AsQV7xvqxH88oOuY0eed3lQpda3riJBKA@mail.gmail.com>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><FIELDSET class=ecxmimeAttachmentHeader></FIELDSET>
_______________________________________________
Powered by <A class=ecxmoz-txt-link-abbreviated href="http://www.kitware.com/">www.kitware.com</A>
Visit other Kitware open-source projects at <A class=ecxmoz-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 class=ecxmoz-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 class=ecxmoz-txt-link-freetext href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A>
</PRE></BLOCKQUOTE><BR>                                            <br /><hr />Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2' target='_new'>See how.</a></body>
</html>