[vtkusers] displaying simple polygons

David Doria daviddoria+vtk at gmail.com
Mon Nov 2 11:58:07 EST 2009


On Mon, Nov 2, 2009 at 9:10 AM, Xavi Almolda <xavi.almolda at gmail.com> wrote:
> Thanks for your answer,
> Yes, I have already read the information on this page.
> The problem I have is that I need to tesselate the non-convex polygons. I am
> using a vtkTriangleFilter and it works fine, but I need to display the edge
> of the original polygon, and after the tesselation I have a lot of triangles
> each with its edges. Do I need to create another vtkCellArray with a
> vtkPolyline cell? Is there another way to get and display the edge of the
> resulting set of triangles?
> Thank you,
> Xavi
>

Lets try to simplify the problem. Basically you have a triangle mesh
(can you provide one so we can play with it) and you want to highlight
the boundary edges? Is this correct?

Thanks,

David



More information about the vtkusers mailing list