Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

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)

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


Member Typedef Documentation

typedef vtkUnstructuredGridAlgorithm vtkDataSetTriangleFilter::Superclass
 

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 *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkDataSetTriangleFilter::IsA const char *  type  )  [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 vtkTypeRevisionMacro 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 int vtkDataSetTriangleFilter::RequestData vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[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

vtkOrderedTriangulator* vtkDataSetTriangleFilter::Triangulator [protected]
 

Definition at line 63 of file vtkDataSetTriangleFilter.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:40:43 2008 for VTK by  doxygen 1.4.3-20050530