The main goal of this project is to make it possible to clip a surface, and then create a "cap" polygon (or polygons) that fill in the area that is enclosed by all the new edges that were created by the clipping. In other words, the goal is to close the surface after the clipping has been performed. For this purpose, a new filter called vtkClipClosedSurface has been created.
This class was committed to VTK cvs by David Gobbi on March 30, 2010. It is in VTK 5.8 and later releases.
Features
A skin isosurface with a reversed bone isosurface.
The vtkClipClosedSurface filter has the following features:
- A vtkPlaneCollection is used to set the clip region (arbitrary implicit functions are not allowed).
- When given a closed surface as input, it will produce a closed surface as output.
- When given an open surface as input, it will create a closed surface if all of the boundary edges lie outside of the clip region.
- The input surface can be concave, but cannot self-intersect.
- The input can have multiple surfaces, where any surfaces that are inside-out will be treated as holes within larger, enclosing surfaces. The inner and outer surfaces must not intersect each other.
- If an input surface is inside-out, but does not have a larger surface
用来切割表面,可以跟补洞、戴帽等方法联合起来在不同唱歌使用。