[vtkusers] Getting the mesh information from a vtkPolyData

Wendel Silva wendelbsilva at gmail.com
Mon Sep 27 16:04:48 EDT 2010


Hi,

I just figured out the problem.
Inside the PolyData.GetPoints() I didnt had the vertices but,
PolyData.GetPoint() give to me the vertice I want.

[]

Wendel B Silva

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

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


More information about the vtkusers mailing list