[vtkusers] Getting the mesh information from a vtkPolyData

David Doria daviddoria at gmail.com
Mon Sep 27 15:52:06 EDT 2010


On Mon, Sep 27, 2010 at 3:49 PM, Wendel Silva <wendelbsilva at gmail.com>wrote:

> Hello everyone,
>
> I have a vtkPolyData and I wanna to get its mesh. From the instance I have,
> Im able to get the normals, texture coordinates and the index of the
> triangles but, Im not able to get the vertices.
> The TCoord and Normals I found inside the PointData. The vectors in the
> PointData is None. Inside the GetPolygons I was only able to get the index
> of the triangles.
>
>
Are you looking for vtkPolyData::GetPoints() ?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100927/7bd69530/attachment.htm>


More information about the vtkusers mailing list