Hi Antonio,<br /><br />
vtkVolume does have a function GetActors().<br />
It returns a vtkPropCollection.<br />
Maybe it helps. Untested snippet:<br />
<pre><span style=' color: Green;'>//...</span>
vtkPropCollection* coll = yourVtkVolumeObject->GetActors();
coll->InitTraversal();
vtkActor actor;
<span style=' color: Blue;'>while</span>((actor = <span style=' color: Blue;'>reinterpret_cast</span><vtkActor*>(coll.GetNextProp()))){
<span style=' color: Green;'>// do something with actor</span>
}
<span style=' color: Green;'>//...</span>
</pre><br />
if reinterpret_cast don't work try static_cast instead.
<br /><br />
with best regards<br />
Jochen
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkVolume-vtkActor-tp5714227p5714231.html">Re: vtkVolume vtkActor</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>