[vtkusers] ANN: Boolean operations on PolyData

Bill Lorensen bill.lorensen at gmail.com
Thu Dec 8 12:13:04 EST 2011


Recent additions to VTK allow boolean operations on PolyData. The
original contribution is described in the VTK Journal article:
"Boolean Operations on Surfaces in VTK Without External Libraries"
Quammen C., Weigle C., Taylor II R.M.
The University of North Carolina at Chapel Hill
http://www.insight-journal.org/browse/publication/797

The main contribution -
vtkBooleanOperationPolyDataFilter:
  Computes the boundary of the union, intersection, or difference
  volume computed from the volumes defined by two input surfaces

It uses these new classes which add functionality to VTK on their own -
vtkDistancePolyDataFilter:
  Computes the signed distance from one vtkPolyData to another
vtkIntersectionPolyDataFilter:
  Computes the intersection between two vtkPolyData objects
vtkImplicitPolyDataDistance:
  Computes the distance from a point x to the nearest point p on
  an input vtkPolyData.

The contribution underwent an intense peer-review using gerrit:
http://review.source.kitware.com/#change,3414

In addition to VTK regression tests that cover over 80% of the new
code, there are several VTK Wiki Examples illustrating each of the classes.

BooleanOperationPolyDataFilter -
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFilter

DistancePolyDataFilter -
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DistancePolyDataFilter

IntersectionPolyDataFilter -
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/IntersectionPolyDataFilter

ImplicitPolyDataDistance -
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ImplicitPolyDataDistance

To access these new classes you will need a version 5.9.20111206 or newer.



More information about the vtkusers mailing list