[vtk-developers] Polyhedral challenge

Casey Goodlett casey.goodlett at kitware.com
Mon Apr 19 12:30:36 EDT 2010


Hi David,

In further tests, I noticed that scalar point data is not passed through on
the clipped poly data.   This seems to be fixed by uncommenting lines around
311-320 of vtkClipClosedSurface.cxx  in the latest version.

Any reason this support is disabled?

Thanks

Casey

On Thu, Apr 8, 2010 at 9:19 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Casey,
>
> Try out the vtkClipClosedSurface that I just committed this morning.
> I've made some changes to the code so that works with zero tolerance
> now.
>
>  David
>
>
> On Wed, Apr 7, 2010 at 12:38 PM, Casey Goodlett
> <casey.goodlett at kitware.com> wrote:
> > 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?
> >
> > Thanks
> >
> > 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/20100419/4f04ce2a/attachment.html>


More information about the vtk-developers mailing list