[vtkusers] Getting the mesh information from a vtkPolyData

Wendel Silva wendelbsilva at gmail.com
Mon Sep 27 15:54:34 EDT 2010


Hi David,

Yes, Im. But in the GetPoints I only get the Normals and TCoord. The Vector
array is empty.

[]

Wendel B Silva


On Mon, Sep 27, 2010 at 1:52 PM, David Doria <daviddoria at gmail.com> wrote:

> 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/e34cc668/attachment.htm>


More information about the vtkusers mailing list