[vtkusers] vtk AddActor

Anka Kochanowska anka at bic.mni.mcgill.ca
Tue Aug 25 12:21:53 EDT 2009


Hi!
If you are playing with vtk cone examples, probably you added actors:
  vtkRenderer *ren    = vtkRenderer::New();
...
  ren->AddViewProp(actor1);

so then you use
  ren->RemoveViewProp(actor1);

In  vtkRenderer you have also functions AddActor and RemoveActor.
Anka


Zampini Samuele wrote:
> Dear all,
>
> I wanna now if it is exist a feature that allow me to remove an actor instaed of adding it.
>
> I mean, if I succed in putting 2 cones together and I decided to remove one of them, how can I do?
>
>
>
> Thanks for help,
>
> 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