[vtkusers] Different interactors for different renderers?

Francois Bertel francois.bertel at kitware.com
Tue Feb 2 12:11:36 EST 2010


I don't think so as vtkViewport objects can overlap (reminder:
vtkRenderer is a subclass of vtkViewport).

On Tue, Feb 2, 2010 at 11:59 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> I want to do something like this:
> http://www.vtk.org/Wiki/VTK/Examples/Visualization/SideBySideViewports
> but have an image (vtkImageActor and vtkInteractionStyleImage) on the right
> and a normal 3D view on the left (vtkActor and
> vtkInteractionStyleTrackballCamera)
> It seems like the interactor is linked to the RenderWindow:
> renderWindowInteractor->SetRenderWindow(renderWindow);
> and the RenderWindow contains the two viewports and renderers.
> Is there a way to use a different interactor for each of the two viewports?
> Thanks,
>
> David
>
> _______________________________________________
> 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
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list