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

vtkGenericDataSetTessellator Class Reference

#include <vtkGenericDataSetTessellator.h>

Inheritance diagram for vtkGenericDataSetTessellator:

Inheritance graph
[legend]
Collaboration diagram for vtkGenericDataSetTessellator:

Collaboration graph
[legend]
List of all members.

Detailed Description

tessellates generic, higher-order datasets into linear cells

vtkGenericDataSetTessellator is a filter that subdivides a vtkGenericDataSet into linear elements (i.e., linear VTK cells). Tetrahedra are produced from 3D cells; triangles from 2D cells; and lines from 1D cells. The subdivision process depends on the cell tessellator associated with the input generic dataset, and its associated error metric. (These can be specified by the user if necessary.)

This filter is typically used to convert a higher-order, complex dataset represented vtkGenericDataSet into a conventional vtkDataSet that can be operated on by linear VTK graphics filters.

See also:
vtkGenericDataSetTessellator vtkGenericCellTessellator vtkGenericSubdivisionErrorMetric
Tests:
vtkGenericDataSetTessellator (Tests)

Definition at line 46 of file vtkGenericDataSetTessellator.h.
typedef vtkUnstructuredGridAlgorithm Superclass
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
static vtkGenericDataSetTessellatorNew ()
static int IsTypeOf (const char *type)
static vtkGenericDataSetTessellatorSafeDownCast (vtkObject *o)

Public Member Functions

void CreateDefaultLocator ()
unsigned long GetMTime ()
virtual void SetKeepCellIds (int)
virtual int GetKeepCellIds ()
virtual void KeepCellIdsOn ()
virtual void KeepCellIdsOff ()
virtual void SetMerging (int)
virtual int GetMerging ()
virtual void MergingOn ()
virtual void MergingOff ()
void SetLocator (vtkPointLocator *locator)
virtual vtkPointLocatorGetLocator ()

Protected Member Functions

 vtkGenericDataSetTessellator ()
 ~vtkGenericDataSetTessellator ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillInputPortInformation (int, vtkInformation *)

Protected Attributes

int KeepCellIds
vtkPointDatainternalPD
int Merging
vtkPointLocatorLocator


Member Typedef Documentation

typedef vtkUnstructuredGridAlgorithm vtkGenericDataSetTessellator::Superclass
 

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 53 of file vtkGenericDataSetTessellator.h.


Constructor & Destructor Documentation

vtkGenericDataSetTessellator::vtkGenericDataSetTessellator  )  [protected]
 

vtkGenericDataSetTessellator::~vtkGenericDataSetTessellator  )  [protected]
 


Member Function Documentation

static vtkGenericDataSetTessellator* vtkGenericDataSetTessellator::New  )  [static]
 

Standard VTK methods.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual const char* vtkGenericDataSetTessellator::GetClassName  )  [virtual]
 

Reimplemented from vtkUnstructuredGridAlgorithm.

static int vtkGenericDataSetTessellator::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 vtkGenericDataSetTessellator::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 vtkGenericDataSetTessellator* vtkGenericDataSetTessellator::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkGenericDataSetTessellator::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 vtkGenericDataSetTessellator::SetKeepCellIds int   )  [virtual]
 

Turn on/off generation of a cell centered attribute with ids of the original cells (as an input cell is tessellated into several linear cells). The name of the data array is "OriginalIds". It is true by default.

virtual int vtkGenericDataSetTessellator::GetKeepCellIds  )  [virtual]
 

Turn on/off generation of a cell centered attribute with ids of the original cells (as an input cell is tessellated into several linear cells). The name of the data array is "OriginalIds". It is true by default.

virtual void vtkGenericDataSetTessellator::KeepCellIdsOn  )  [virtual]
 

Turn on/off generation of a cell centered attribute with ids of the original cells (as an input cell is tessellated into several linear cells). The name of the data array is "OriginalIds". It is true by default.

virtual void vtkGenericDataSetTessellator::KeepCellIdsOff  )  [virtual]
 

Turn on/off generation of a cell centered attribute with ids of the original cells (as an input cell is tessellated into several linear cells). The name of the data array is "OriginalIds". It is true by default.

virtual void vtkGenericDataSetTessellator::SetMerging int   )  [virtual]
 

Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.

virtual int vtkGenericDataSetTessellator::GetMerging  )  [virtual]
 

Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.

virtual void vtkGenericDataSetTessellator::MergingOn  )  [virtual]
 

Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.

virtual void vtkGenericDataSetTessellator::MergingOff  )  [virtual]
 

Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.

void vtkGenericDataSetTessellator::SetLocator vtkPointLocator locator  ) 
 

Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.

virtual vtkPointLocator* vtkGenericDataSetTessellator::GetLocator  )  [virtual]
 

Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.

void vtkGenericDataSetTessellator::CreateDefaultLocator  ) 
 

Create default locator. Used to create one when none is specified.

unsigned long vtkGenericDataSetTessellator::GetMTime  )  [virtual]
 

Return the MTime also considering the locator.

Reimplemented from vtkObject.

int vtkGenericDataSetTessellator::RequestData vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[protected, virtual]
 

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

Reimplemented from vtkUnstructuredGridAlgorithm.

int vtkGenericDataSetTessellator::FillInputPortInformation int  ,
vtkInformation
[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

int vtkGenericDataSetTessellator::KeepCellIds [protected]
 

Definition at line 99 of file vtkGenericDataSetTessellator.h.

vtkPointData* vtkGenericDataSetTessellator::internalPD [protected]
 

Definition at line 102 of file vtkGenericDataSetTessellator.h.

int vtkGenericDataSetTessellator::Merging [protected]
 

Definition at line 104 of file vtkGenericDataSetTessellator.h.

vtkPointLocator* vtkGenericDataSetTessellator::Locator [protected]
 

Definition at line 105 of file vtkGenericDataSetTessellator.h.


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