Section: Visualization Toolkit Graphics Classes
This filter uses simple 1D and 2D triangulation techniques for cells that are of topological dimension 2 or less. For 3D cells--due to the issue of face compatibility across quadrilateral faces (which way to orient the diagonal?)--a fancier ordered Delaunay triangulation is used. This approach produces templates on the fly for triangulating the cells. The templates are then used to do the actual triangulation.
To create an instance of class vtkDataSetTriangleFilter, simply invoke its constructor as follows
obj = vtkDataSetTriangleFilter
obj
is an instance of the vtkDataSetTriangleFilter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkDataSetTriangleFilter = obj.NewInstance ()
vtkDataSetTriangleFilter = obj.SafeDownCast (vtkObject o)
obj.SetTetrahedraOnly (int )
- When On this filter will cull all 1D and 2D cells from the output.
The default is Off.
int = obj.GetTetrahedraOnly ()
- When On this filter will cull all 1D and 2D cells from the output.
The default is Off.
obj.TetrahedraOnlyOn ()
- When On this filter will cull all 1D and 2D cells from the output.
The default is Off.
obj.TetrahedraOnlyOff ()
- When On this filter will cull all 1D and 2D cells from the output.
The default is Off.