[vtkusers] Get Individual Actor

Hamp Donald hampdonald at yahoo.com
Mon Apr 12 11:16:22 EDT 2004


Hi
      Suppose I have a collection of actors. 
ren1=importer->GetRenderer();
vtkActorCollection *actorcol =
vtkActorCollection::New();
actorcol = ren1->GetActors();
actorcol->Print(cout);

I want to acess them one by one. Please help me in
this regard. The following line is working only.
GetNextActor() is not working. May be something have
to be initialized. Please help me.

actor = actorcol->GetLastActor();

Regards
Donald 

__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html



More information about the vtkusers mailing list