[vtkusers] clip STL surface

Bill Lorensen bill.lorensen at gmail.com
Fri Feb 1 11:34:26 EST 2013


you should be able to run vtkContourFilter on the distance field. set
the contour level to the distance threshold you desire.

Bill

On Thu, Jan 31, 2013 at 11:09 PM, Martin Genet
<martin.genet at ucsfmedctr.org> wrote:
> Dear VTK users,
>
> I have two STL surfaces, say S1 & S2. I need to measure the area of the part
> of S1 that's "close" to S2.
>
> I thought of creating a third surface that would be a copy of S1 but without
> the cells that are "too far away" from S2. I'm able to use
> vtkDistancePolyDataFilter to create on S1 a field of distance to S2. But I
> can't seem to find a way to "filter" S1 using this distance field and a
> given threshold. Is there such a capability in vtk?
>
> More generally, is there a better way to do what I need to do?
>
> Thanks!
>
> Martin
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list