<p dir="ltr">It does not produce verts, it produces points.</p>
<div class="gmail_quote">On Mar 31, 2016 3:31 PM, "Garrett Morrison" <<a href="mailto:garrett.d.morrison@gmail.com">garrett.d.morrison@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I am currently passing an ImageData containing a scalar float array to a contour filter which I then plan to extract the verts and polys from for something I am working on. I have confirmed that the ImageData actually contains all the proper scalar values and that the isovalue being used for the contouring is within a reasonable range such that it should be generating a surface.<br><br></div>The issue I am running into is that when I look at the GetOutput polydata of the contour filter, GetNumberOfPolys is returning a reasonable number while GetNumberOfVerts returns 0. So somehow it's generating the vertex indices but not the actual coordinates for said vertices. I did notice that enabling ClosedSurfaceOn for the contour causes it to not generate the polys either so I was wondering if possibly there's a setting I'm missing or something else I need to do to force it to generate both vertices as well as polygonal indices.<br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div>