[vtkusers] Converting Unstructured Grid to Polydata
Jihang Wang
wangjihang88 at gmail.com
Fri Mar 11 03:58:49 EST 2011
Hi guys,
I am trying to convert the output of delaunay3D which belong to Unstructured
Grid to Polydata. Someone said we can use vtkGeometryFilter to do it. When I
try it, I get an error below.
cannot convert parameter 1 from 'vtkUnstructuredGrid *' to 'vtkDataObject *'
My coding is:
vtkGeometryFilter *extract = vtkGeometryFilter::New();
extract->SetInput(delaunay3D->GetOutput());
Thanks,
Jihang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110311/5d228285/attachment.htm>
More information about the vtkusers
mailing list