[vtkusers] calculating intersection, union of two meshes (vtkpolydata)

David Doria daviddoria at gmail.com
Sat Apr 30 12:33:57 EDT 2011


On Sat, Apr 30, 2011 at 11:33 AM, Erkang Cheng <ekyaya at gmail.com> wrote:
> Dear all:
> Here is the question I am struggling in.
> I want to calculate intersection, union of two meshes. The mesh is actually
> vtkPolyData in the codes. I loaded in stl format.
> Can vtkImplictBoolean realize the operation?  I am wondering that  the input
> parameter of vtkImplicitBoolean->addFunction() is vtkImplicitFunction.
> Is there example that I can follow? The input are two meshes(vtkPolyData),
> the result is the intersection or union of these two meshes.
> Thanks a lot.
> Best
> Erkang

This is what you need:
http://www.insight-journal.org/browse/publication/726

The only issue is that it adds a dependency of GTS (GNU Triangulated
Surface Library).

David



More information about the vtkusers mailing list