[vtk-developers] Polyhedral challenge

Casey Goodlett casey.goodlett at kitware.com
Wed Apr 7 14:38:40 EDT 2010

Hi David,

I tested this filter, and it seems very nice.  Thanks for adding this.

In my test, I also ran into the problem with not getting watertight outputs
despite having watertight inputs.  I was able to fix this, at least for my
cases, by setting the tolerance to zero in the point locator on line 309.  I
think because I have very narrow triangles near the clipping surface some
points are getting merged by the point locator and the resulting cap polygon
ends up with a small hole.

Any reason I should not be doing that?  Should the locator have a zero
tolerance, or could we set a user controllable tolerance to the class?


Casey Goodlett

On Tue, Mar 30, 2010 at 9:16 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Will,
> The vtkClipClosedSurface filter is in VTK cvs now. I've put together a
> wiki page here:
> http://www.vtk.org/Wiki/VTK/Closed_Surface_Clipping
> The test is Graphics/Testing/Tcl/TestClipClosedSurface.tcl
>  David
> On Wed, Mar 24, 2010 at 1:20 PM, Will Schroeder
> <will.schroeder at kitware.com> wrote:
> > David-
> > This is good timing. Hua has been looking into the problem too. We came
> up
> > with an initial, very limited solution and it will be good to have a more
> > thorough approach. We are looking forward to seeing what you did.
> > I'm curious, did you create a filter to do this? How did you implement it
> in
> > VTK....
> > Will
> >
> > On Wed, Mar 24, 2010 at 2:39 PM, David Gobbi <david.gobbi at gmail.com>
> wrote:
> >>
> >> Hi Will,
> >>
> >> I've finally completed my code for clipping closed polydata shapes and
> >> creating new "cap" polygons so that the result is also a closed
> >> polydata.  The solution was more complicated than I originally
> >> thought.  After the branch I'll commit it to VTK.
> >>
> >>   David
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100407/9e79bcb8/attachment.html>

More information about the vtk-developers mailing list