[vtkusers] vtkActorCollection how this works?
ilferraresebono at hotmail.it
Mon Mar 30 12:03:46 EDT 2009
I'm using the class vtkPIcker to pick an object in the scene. From the class picker I'm getting the vtkActorCollection using picker->GetActors()....
and so I use
vtkActor *act = vtkActor::New();
act = actColl->GetNextItem();
to access the list of the actors but the pointer I get back is NULL, while if I use pick->GetActor (without the final S) I get the pointer to the actor.
I want to apply a transformation to the sselected actor so...what's the problem with the collection?
Portati avanti: scarica Messenger 2009!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers