[vtkusers] Select active renderer for interaction
Slaughter, Andrew E
andrew.slaughter at inl.gov
Wed Nov 25 17:00:44 EST 2015
FYI, I was able to solve this by calling:
window.GetInteractor().GetInteractorStyle().SetDefaultRenderer(renderer)
where window = vtkRenderWindow and renderer is the vtkRenderer object that
you desire to be interactive.
On Thu, Nov 5, 2015 at 2:48 PM, Slaughter, Andrew E <
andrew.slaughter at inl.gov> wrote:
> I have a scenario where I have two vtkRenderer objects that occupy the
> entire viewport, one on layer 0 and another on layer 1. What is the correct
> method to select which renderer is active in the interactor? I would like
> to make a keyboard event to switch between which rendered object may be
> manipulated via the mouse, is this sort of thing possible?
>
> Thanks,
> Andrew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151125/507b6c8a/attachment.html>
More information about the vtkusers
mailing list