[vtkusers] displaying simple polygons
Bill Lorensen
bill.lorensen at gmail.com
Mon Nov 2 12:03:48 EST 2009
vtkFeatureEdges will do it.
BoundaryEdgesOn()
FeatureEdgesOff()
ManifoldEdgesOff()
NonManifoldEdgesOff()
On Mon, Nov 2, 2009 at 11:58 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list