[vtkusers] how to interact two renderers
Antonin Perrot-Audet
antonin07130 at gmail.com
Mon May 17 12:03:05 EDT 2010
Please which ever method you use, report it to the mailing list.
I have been trying setting up the same interactor on several windows,
with surprising result, maybe because I use Qt.
Antonin
> Try to use the same interactor in both windows. That may fit your need.
>
> Xiaofeng
>
>
>
> ------------------------------------------------------------------------
> Date: Mon, 17 May 2010 00:23:21 -0400
> From: antonin07130 at gmail.com
> To: vtkusers at vtk.org
> Subject: Re: [vtkusers] how to interact two renderers
>
> Hello Jinyoung,
> I have been facing the same problem, and alos posted with no sucess in
> this mailing list.
> In order to synchronize 2 renderers, I setup one observer on each
> renderer's camera, osberving the event : vtkCommand::ModifiedEvent
> This event triggers a function which forces the other renderer to render.
>
> Hope that it helps, I can send you a small code sample if you need to
> see how to setup callbacks.
>
> Regards
> --
> Antonin
>
>
> On 5/17/10 12:16 AM, Jinyoung Hwang wrote:
>
> Hi all,
> Even I posted the same question, I didn't find appropriate answers.
>
> I'm trying to generate stereo views (left and right view).
> First, I made two renderers (vtkMFCwindow) in one application.
> Each renderer will be captured in bitmap, then all of bitmaps are
> converted to movie file (AVI).
>
> I met a problem in implementation.
> If one renderer are translated or scaled by mouse control, another
> renderer should certainly be translated or scaled.
> How to capture the mouse operation in one renderer?
> Additionally, how to send the mouse operation to another renderer?
>
> Thanks,
>
> JY
>
>
>
>
> _______________________________________________
> Powered bywww.kitware.com <http://www.kitware.com/>
>
> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
> ------------------------------------------------------------------------
> Hotmail is redefining busy with tools for the New Busy. Get more from
> your inbox. See how.
> <http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2>
--
Antonin Perrot-Audet
Electrical Engineering& Computer Sciences, INSA Lyon
M2 GEGP Signal& Image Processing, INSA Lyon, UCBL, Centrale Lyon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100517/9b473d77/attachment.htm>
More information about the vtkusers
mailing list