[vtkusers] Is there a special filter to smooth out marching cube meshes?

David Doria daviddoria+vtk at gmail.com
Fri Dec 4 17:18:43 EST 2009


On Fri, Dec 4, 2009 at 4:15 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Works for me. I reduced the # of iterations to 5. 15 was too
> aggressive for the sphere example.

Ah, the input I was running it with accidentally was just vertices. It
should not segfault in any case.

I believe if the inMesh->Delete() on line 785 of
vtkWindowedSincPolyDataFilter.cxx is moved to inside the conditional
on line 221 (i.e. to line 316) that will fix the problem. It was
attempting to delete inMesh even if it was never created. Bill, can
you take a look and commit this fix?

Thanks,

David



More information about the vtkusers mailing list