DESCRIPTION:

The Hull container creates a convex hull for its corresponding PolyData set. vtkHull is a filter which will produce an n-sided convex hull given a set of n planes. (The convex hull bounds the input polygonal data.) The hull is generated by squeezing the planes towards the input vtkPolyData, until the planes just touch the vtkPolyData. Then, the resulting planes are used to generate a polyhedron (i.e., hull) that is represented by triangles.

NEO CREATION:

VTK render engine name:
The unit name of the corresponding Render unit to use as a render engine for the hull.
PolyData name:
The unit name of the PolyData unit to use as the underlaying dataset.
Number of recursions:
Add the planes that represent the normals of the vertices of a polygonal sphere formed by recursively subdividing the triangles in an octahedron. Each triangle is subdivided by connecting the midpoints of the edges thus forming 4 smaller triangles. The level indicates how many subdivisions to do with a level of 0 used to add the 6 planes from the original octahedron, level 1 will add 18 planes, and so on.

EXECUTION:

Execution of the created unit does nothing. However, execution of any of its named subunits (via use_named or use_method) invokes the corresponding C++ class method. The interface of each named subunit provides inputs and outputs for the corresponding method.

INTERFACES AND DESCRIPTION of named subunits:

The Set and Color methods are used in the same way as for the Surf class unit.

FILE

nst_vtk.cc