[vtkusers] Deleting / Hiding all the objects in a window

Karthik Krishnan karthik.krishnan at kitware.com
Wed Oct 28 08:23:13 EDT 2009


On Wed, Oct 28, 2009 at 7:49 AM, Zampini Samuele
<samuele.zampini at epfl.ch> wrote:
> Dear all,
>
> I would like to delete (or hide) all the objects that I have in a windows before adding other objects.

Either renderer->RemoveAlllViewProps() or
Iterate thru the prop collection of the renderer in question
(renderer->GetViewProps()) and set its visibility to 0

>
> How can I do this?
>
> Thanks a lot,
>
> samuele.
> _______________________________________________
> 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