[vtkusers] vtkUnstructuredGrid to vtkPolyData

-Daniel- ich_daniel at habmalnefrage.de
Tue Aug 20 09:02:03 EDT 2013


Hi,

is there any way to cast (or something like that) a vtkUnstructuredGrid to a
vtkPolyData?

I created an vtkActor and I want to cast into a vtkPolyData:
/(vtkPolyData)actor.GetMapper().GetInputAsDataSet()/
But a vtkUnstructedGrid cannot be cast to vtkPolyData.

Any suggestions or hints?


I use Java and vtk 6.0.



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkUnstructuredGrid-to-vtkPolyData-tp5722890.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list