[vtkusers] help!!

Rosario X chacala1982 at hotmail.com
Thu Apr 22 21:48:38 EDT 2004


Hi!
I'm  Rosario, I use the next code for  deleting all the actors of the 
render.

vtkPropCollection * actors;
vtkProp *actor;
actors = render->GetProps();
vtkCollectionSimpleIterator actorIt;
for (actors->InitTraversal(actorIt),i=0;
       (actor = actors->GetNextProp(actorIt));i++)
                  actor->Delete();
render->GetProps()->RemoveAllItems();


My first problem is, if I add more actors to the same render,  the render 
displays the same thing always.
Second, After  5 times of delete and add new actors, the computer goes low 
of  memory.

What is the correct way for deleting actors and reuse the render ??????,

please Helpme , thanks a lot.

_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos.  
http://photos.msn.es/support/worldwide.aspx




More information about the vtkusers mailing list