<div dir="ltr">Ideally, vtkDelaunay2D could be used to fill a contour, but it is numerically unstable and sometimes it segfaults...<div><br></div><div> - David<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 8:45 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ah ha! I was just thinking there should be a filter in VTK that does this, having manually triangulated contours in the past by creating a vtkPolyData with a single polygon cell defined by the contour. I'll have to try this out.<div><br></div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, May 4, 2015 at 10:41 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi Hortense,<div><br></div><div>The vtkTriangleFilter can only triangulate existing faces, it cannot create new faces from a contour. I think that the filter you need is vtkContourTriangulator.</div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkContourTriangulator.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkContourTriangulator.html</a><span><font color="#888888"><br></font></span></div><span><font color="#888888"><div><br></div><div> - David</div></font></span><span><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 8:09 AM, Hortense KIRISLI <span dir="ltr"><<a href="mailto:hortense.kirisli@aquilab.com" target="_blank">hortense.kirisli@aquilab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="FR" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">Here is what I would like to do:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have a sphere that I cut with a plane. I succeeded to display the intersection of the sphere with the plane as a contour, but do not succeed to display it filled.<br></span></p></div></div></blockquote></div></div></div></span></div>
</div></div></blockquote></div></div></blockquote></div><br></div></div></div>