When having several viewports in one
vtkRenderWindowInteractor, is it possible to set a different interactor style for each viewport such that one viewport shows a renderer with trackball style and another shows with image style.
Use case: the following scene where I want a top-down view as well as a full 3D interactive view. The top-down view should stay locked in its orientation and only allow zooming/panning.
Assuming there isn’t a way to use multiple interactor styles across viewports, does anyone have ideas on how the same effect could be achieved?
Assuming you’ve already created two different interactor styles and associated each with a different default renderer, I would suggest you handle the MouseMove event, to detect when your active viewport changes with
and then switch the interactor style with
Uh, that should work well! Thanks @toddy