[vtkusers] interaction of two interactors
darshanpai at gmail.com
Thu May 13 11:42:45 EDT 2010
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
On Wed, May 12, 2010 at 8:34 AM, Jinyoung Hwang <hwangjinyoung at gmail.com>wrote:
> Hi all vtkusers,
> I'm now trying to generate stereo views using vtk.
> First, I created two vtkMFCwindow instances, and two views (for left and
> right eye) were displayed; each translated a little bit as follows.
> renderer->SetBackground(1, 0, 0);
> maincamera->SetPosition(-5, 0, 300);
> renderer2->SetBackground(0, 0, 1);
> maincamera2->SetPosition(5, 0, 300);
> In this case, the interactor of each window cannot be duplicated.
> When I control (rotate or translate) the window (#1) using mouse, another
> window (#2) should consequentially be rotated or translated.
> Is there any function or something to interact two interactions of
> Thanks in advance.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers