[vtkusers] vtkVolume vtkActor

Jochen K. jochen.kling at email.de
Tue Jun 26 07:21:22 EDT 2012


Hi Antonio,

vtkVolume does have a function GetActors().

It returns a vtkPropCollection.

Maybe it helps. Untested snippet:

//...
vtkPropCollection* coll = yourVtkVolumeObject->GetActors();
coll->InitTraversal();
vtkActor actor;
while((actor = reinterpret_cast<vtkActor*>(coll.GetNextProp()))){
   // do something with actor
}
//...

if reinterpret_cast don't work try static_cast instead.

with best regards

Jochen


--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkVolume-vtkActor-tp5714227p5714231.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120626/d954f2bb/attachment.htm>


More information about the vtkusers mailing list