Hi Antonio,<br /><br />
I'm sorry for that.<br />
Hmm, you say the class extracts a polydata from the actor.<br /><br />
Assuming your volume source is a vtkImageData you could use vtkImageDataGeometryFilter to convert it to a polyData object. Then you can use this as the input of a vtkPolyDataMapper and finally create a vtkActor.<br />
<pre><span style=' color: Green;'>//...</span>
vtkSmartPointer<vtkImageDataGeometryFilter> filter = vtkSmartPointer<vtkImageDataGeometryFilter>::New();
filter->SetInput(yourImageData)
vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New();
mapper->SetInputConnection(filter->GetOutputPort());
vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
vtkActor->SetMapper(mapper);
<span style=' color: Green;'>//...</span>
</pre>
<br />
Maybe this is an workaround for your problem.<br /><br />
best regards
Jochen
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkVolume-vtkActor-tp5714227p5714244.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/>