[vtkusers] Obtain Points from Polydata
David Doria
daviddoria at gmail.com
Wed Jan 15 07:48:00 EST 2014
You can get the coordinates manually with:
double p[3];
points->GetPoint(i, p);
but if you want to write them with a writer (e.g. vtkSimplePointsWriter),
they will always have to be wrapped in a vtkPolyData first
(polydata->SetPoints(points)).
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140115/47755076/attachment.html>
More information about the vtkusers
mailing list