[vtk-developers] Polyhedral challenge
casey.goodlett at kitware.com
Wed Apr 7 14:38:40 EDT 2010
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?
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:
> The test is Graphics/Testing/Tcl/TestClipClosedSurface.tcl
> 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
> > 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
> > VTK....
> > Will
> > On Wed, Mar 24, 2010 at 2:39 PM, David Gobbi <david.gobbi at gmail.com>
> >> 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
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers