[vtkusers] Removing Actors

Renato Cesar Pompeu rcpompeu at hotmail.com
Mon May 5 09:45:11 EDT 2008


Hello All,
 
How do I remove an individual actor from the scene? My code does not work. Someone help me? Thanks.
 
if  (tbnIniciar->Down) {  VTK3->GetRenderer()->AddActor(outlineActor);  }
 
else {    VTK3->GetRenderer()->RemoveActor(outlineActor);    VTK3->GetRenderer()->RemoveViewProp(outlineActor);    VTK3->GetRenderer()->Clear();   }
 
VTK3->Invalidate();
_________________________________________________________________
Confira vídeos com notícias do NY Times, gols direto do Lance, videocassetadas e muito mais no MSN Video!
http://video.msn.com/?mkt=pt-br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080505/011dfc29/attachment.htm>


More information about the vtkusers mailing list