[vtkusers] Multiple renderes and interactors in single window?
David Doria
daviddoria at gmail.com
Fri Dec 17 22:00:24 EST 2010
On Fri, Dec 17, 2010 at 9:45 PM, Jafari, Kourosh <kjafari at rad.hfh.edu> wrote:
> Dear VTK users,
>
> I have a single render window and 4 renderes, 3 of them showing 2D images and one showing 3D object. Currently, I can only assign one interactor to the whole render window. But I need to use different interactors for the renderers: vtkInteractorStyleImage for images and vtkInteractorStyleTrackballCamera for the 3D object. How do I do that?
>
> I highly appreciate your help.
>
> Regards,
> Kourosh
I believe the only way to do this is to use multiple QVTKWidgets in a
Qt application:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/SideBySideRenderWindows
It may seem like overkill, but your application will definitely turn
out better using Qt anyway :)
David
More information about the vtkusers
mailing list