vtkDataSetTriangleFilter Class Reference

#include <vtkDataSetTriangleFilter.h>

Inheritance diagram for vtkDataSetTriangleFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetTriangleFilter:

Collaboration graph
[legend]

List of all members.


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 46 of file vtkDataSetTriangleFilter.h.


Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 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

Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 50 of file vtkDataSetTriangleFilter.h.


Constructor & Destructor Documentation

vtkDataSetTriangleFilter::vtkDataSetTriangleFilter (  )  [protected]

vtkDataSetTriangleFilter::~vtkDataSetTriangleFilter (  )  [protected]


Member Function Documentation

static vtkDataSetTriangleFilter* vtkDataSetTriangleFilter::New (  )  [static]

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

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual const char* vtkDataSetTriangleFilter::GetClassName (  )  [virtual]

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.

static vtkDataSetTriangleFilter* vtkDataSetTriangleFilter::SafeDownCast ( vtkObject o  )  [static]

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.

virtual int vtkDataSetTriangleFilter::GetTetrahedraOnly (  )  [virtual]

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.

void vtkDataSetTriangleFilter::StructuredExecute ( vtkDataSet ,
vtkUnstructuredGrid  
) [protected]

void vtkDataSetTriangleFilter::UnstructuredExecute ( vtkDataSet ,
vtkUnstructuredGrid  
) [protected]


Member Data Documentation

Definition at line 71 of file vtkDataSetTriangleFilter.h.

Definition at line 77 of file vtkDataSetTriangleFilter.h.


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

Generated on Wed Aug 24 11:33:25 2011 for VTK by  doxygen 1.5.6