[vtkusers] Coupling multiple cameras
Jothybasu Selvaraj
jothybasu at gmail.com
Mon Apr 2 08:47:39 EDT 2012
Something like this should do that
Renderer1->SetActiveCamera(renderer2->GetActiveCamera())
Jothy
On Mon, Apr 2, 2012 at 1:31 PM, Jonas Juselius <jonas.juselius at uit.no>wrote:
> Hi!
>
> I have the following problem: I have four actors, each with its own
> renderer. The renderers are tiled onto the rendering window using
> viewports, the cameras are reset for each renderer and the window is
> given an interactor. So far so good; I can rotate each of the cameras
> around each actor. Now I would like to couple the cameras, so that when
> I interact/move one camera, the others move in unison, i.e. that I get
> the same transformation for all four cameras/actors. How do I do this?
> Is there a better solution than using multiple viewports and cameras?
>
> Best regards, Jonas
>
> --
> Dr. Jonas Juselius <jonas.juselius at uit.no>
> High Performance Computing Group, University of Tromsø
> Tel. +47 776 60400 Mobile. +47 47419869
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://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
>
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120402/32aa889a/attachment.htm>
More information about the vtkusers
mailing list