VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkDataSetTriangleFilter Class Reference

triangulate any type of dataset More...

#include <vtkDataSetTriangleFilter.h>

Inherits vtkUnstructuredGridAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

vtkOrderedTriangulator * Triangulator
 
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

typedef vtkUnstructuredGridAlgorithm vtkDataSetTriangleFilter::Superclass

Definition at line 51 of file vtkDataSetTriangleFilter.h.

Constructor & Destructor Documentation

vtkDataSetTriangleFilter::vtkDataSetTriangleFilter ( )
protected
vtkDataSetTriangleFilter::~vtkDataSetTriangleFilter ( )
protected

Member Function Documentation

static vtkDataSetTriangleFilter* vtkDataSetTriangleFilter::New ( )
static
static int vtkDataSetTriangleFilter::IsTypeOf ( const char *  type)
static
virtual int vtkDataSetTriangleFilter::IsA ( const char *  type)
virtual
static vtkDataSetTriangleFilter* vtkDataSetTriangleFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkDataSetTriangleFilter::NewInstanceInternal ( ) const
protectedvirtual
vtkDataSetTriangleFilter* vtkDataSetTriangleFilter::NewInstance ( ) const
void vtkDataSetTriangleFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkDataSetTriangleFilter::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
void vtkDataSetTriangleFilter::StructuredExecute ( vtkDataSet *  ,
vtkUnstructuredGrid *   
)
protected
void vtkDataSetTriangleFilter::UnstructuredExecute ( vtkDataSet *  ,
vtkUnstructuredGrid *   
)
protected

Member Data Documentation

vtkOrderedTriangulator* vtkDataSetTriangleFilter::Triangulator
protected

Definition at line 72 of file vtkDataSetTriangleFilter.h.

int vtkDataSetTriangleFilter::TetrahedraOnly
protected

Definition at line 78 of file vtkDataSetTriangleFilter.h.


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