<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div class="gmail_quote">On Fri, Feb 25, 2011 at 12:45 PM, Jonathan Morra <span dir="ltr"><<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm not sure how I'd use this. Also, I don't have a vtkPolygon, but vtkPolyData.<div><div></div><div class="h5">
</div></div></blockquote></div><br></div><div>Since the points in your PolyData are a contour, I'm assuming they are ordered? If so, you can make them into a Polygon:</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon</a><div>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon"></a><br>David</div></div>