[vtkusers] Hide/show viewports
Joachim Pouderoux
joachim.pouderoux at kitware.com
Sat Dec 22 06:45:44 EST 2012
Hi,
The viewport defines the rectangle in the rendering window where the
visualization is actually rendered.
Are you sure this is what you want to change or isn't it the camera
settings (point of view, orientation,...)? The viewport is generally
fixed once for all and there is only one viewport per renderer. If you
really want to define multiple viewport in the same window you will
need to create the same number of renderers.
If you want to provide the user multiple viewpoints of the same scene
but once at a time, just switch cameras.
Regards,
Joachim
Le 21 déc. 2012 à 17:39, "a.c.sant" <acsantome at gmail.com> a écrit :
> 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