[vtkusers] can't retreive actors in the actorCollection
Giancarlo Amati
ilferraresebono at hotmail.it
Mon Apr 20 04:14:45 EDT 2009
God morning,
I have the following code:
this->_ren->AddActor(imgAct1);
this->_ren->AddActor(imgAct2);
this->_ren->AddActor(imgAct3);
_ren->Render();
_ren->ResetCamera();
vtkActorCollection *actColl = _ren->GetActor();
actColl->InitTraversal();
now the problem I have is although I've added the three actors to my renderer, when It follows a call to the actorCollection the collection list is empty.
Can someone tell me why?
Kind regards.
Giancarlo
_________________________________________________________________
25 GB di spazio gratuito su Internet! Prova SkyDrive
http://clk.atdmt.com/GBL/go/140630371/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090420/8b08bfd7/attachment.htm>
More information about the vtkusers
mailing list