Problem solved using <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">tkFeatureEdges.</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>

</span></font></div><div><span class="Apple-style-span" style="font-size: 13px; "></span><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: arial; ">Thank you very much.</span><br>

</span></font><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><span class="Apple-style-span" style="font-size: 13px; "></span><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Xavi<br>

</span></font><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 6:03 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

vtkFeatureEdges will do it.<br>
BoundaryEdgesOn()<br>
FeatureEdgesOff()<br>
ManifoldEdgesOff()<br>
NonManifoldEdgesOff()<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Mon, Nov 2, 2009 at 11:58 AM, David Doria &lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>&gt; wrote:<br>
&gt; On Mon, Nov 2, 2009 at 9:10 AM, Xavi Almolda &lt;<a href="mailto:xavi.almolda@gmail.com">xavi.almolda@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Thanks for your answer,<br>
&gt;&gt; Yes, I have already read the information on this page.<br>
&gt;&gt; The problem I have is that I need to tesselate the non-convex polygons. I am<br>
&gt;&gt; using a vtkTriangleFilter and it works fine, but I need to display the edge<br>
&gt;&gt; of the original polygon, and after the tesselation I have a lot of triangles<br>
&gt;&gt; each with its edges. Do I need to create another vtkCellArray with a<br>
&gt;&gt; vtkPolyline cell? Is there another way to get and display the edge of the<br>
&gt;&gt; resulting set of triangles?<br>
&gt;&gt; Thank you,<br>
&gt;&gt; Xavi<br>
&gt;&gt;<br>
&gt;<br>
&gt; Lets try to simplify the problem. Basically you have a triangle mesh<br>
&gt; (can you provide one so we can play with it) and you want to highlight<br>
&gt; the boundary edges? Is this correct?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; David<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div></div>