VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkDataSetTriangleFilter Class Reference

triangulate any type of dataset More...

#include <vtkDataSetTriangleFilter.h>

Inheritance diagram for vtkDataSetTriangleFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkDataSetTriangleFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDataSetTriangleFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetTetrahedraOnly (int)
virtual int GetTetrahedraOnly ()
virtual void TetrahedraOnlyOn ()
virtual void TetrahedraOnlyOff ()

Static Public Member Functions

static vtkDataSetTriangleFilterNew ()
static int IsTypeOf (const char *type)
static vtkDataSetTriangleFilterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDataSetTriangleFilter ()
 ~vtkDataSetTriangleFilter ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
void StructuredExecute (vtkDataSet *, vtkUnstructuredGrid *)
void UnstructuredExecute (vtkDataSet *, vtkUnstructuredGrid *)

Protected Attributes

vtkOrderedTriangulatorTriangulator
int TetrahedraOnly

Detailed Description

triangulate any type of dataset

vtkDataSetTriangleFilter generates n-dimensional simplices from any input dataset. That is, 3D cells are converted to tetrahedral meshes, 2D cells to triangles, and so on. The triangulation is guaranteed to be compatible.

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.

See also:
vtkOrderedTriangulator vtkTriangleFilter
Examples:
vtkDataSetTriangleFilter (Examples)
Tests:
vtkDataSetTriangleFilter (Tests)

Definition at line 47 of file vtkDataSetTriangleFilter.h.


Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 51 of file vtkDataSetTriangleFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkUnstructuredGridAlgorithm.

static int vtkDataSetTriangleFilter::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkDataSetTriangleFilter::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkUnstructuredGridAlgorithm.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual vtkObjectBase* vtkDataSetTriangleFilter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkUnstructuredGridAlgorithm.

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkDataSetTriangleFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual void vtkDataSetTriangleFilter::SetTetrahedraOnly ( int  ) [virtual]

When On this filter will cull all 1D and 2D cells from the output. The default is Off.

When On this filter will cull all 1D and 2D cells from the output. The default is Off.

virtual void vtkDataSetTriangleFilter::TetrahedraOnlyOn ( ) [virtual]

When On this filter will cull all 1D and 2D cells from the output. The default is Off.

virtual void vtkDataSetTriangleFilter::TetrahedraOnlyOff ( ) [virtual]

When On this filter will cull all 1D and 2D cells from the output. The default is Off.

virtual int vtkDataSetTriangleFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkDataSetTriangleFilter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkUnstructuredGridAlgorithm.


Member Data Documentation

Definition at line 72 of file vtkDataSetTriangleFilter.h.

Definition at line 78 of file vtkDataSetTriangleFilter.h.


The documentation for this class was generated from the following file: