[vtkusers] Hide/show viewports

Alex Malyushytskyy alexmalvtk at gmail.com
Fri Dec 21 20:44:48 EST 2012


As far as I understand viewport is area in the window renderer renders to.
You can have multiple renderers render in the same/different or
overlapping area.

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/MultipleViewports

I guess removing specific renderer from pipeline is what you want.

Alex


On Fri, Dec 21, 2012 at 8:38 AM, a.c.sant <acsantome at gmail.com> wrote:
> Hi!
> I'm trying to set multiple viewports in a window and having the user choose
> which viewport view at each moment. For example, starting with viewport #1,
> if the user clicks a button, hide #1 and show #2.
>
> Currently, I'm playing with Renderer::SetViewport and Renderer::GetViewport
> but still can't make this work.
>
> Maybe it's not possible? I would like to hear your opinions.
>
> Cheers!
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Hide-show-viewports-tp5717695.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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



More information about the vtkusers mailing list