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

tessellates generic, higher-order datasets into linear cells More...

#include <vtkGenericDataSetTessellator.h>

Inherits vtkUnstructuredGridAlgorithm.

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 (vtkIncrementalPointLocator *locator)
 
virtual
vtkIncrementalPointLocator * 
GetLocator ()
 

Protected Member Functions

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

Protected Attributes

int KeepCellIds
 
vtkPointData * InternalPD
 
int Merging
 
vtkIncrementalPointLocator * Locator
 
typedef
vtkUnstructuredGridAlgorithm 
Superclass
 
static
vtkGenericDataSetTessellator
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkGenericDataSetTessellator
SafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkGenericDataSetTessellatorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

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). Tetrahedras 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 by a vtkGenericDataSet into a conventional vtkDataSet that can be operated on by linear VTK graphics filters (end of pipeline for rendering).

See Also
vtkGenericCellTessellator vtkGenericSubdivisionErrorMetric
Tests:
vtkGenericDataSetTessellator (Tests)

Definition at line 47 of file vtkGenericDataSetTessellator.h.

Member Typedef Documentation

typedef vtkUnstructuredGridAlgorithm vtkGenericDataSetTessellator::Superclass

Standard VTK methods.

Definition at line 54 of file vtkGenericDataSetTessellator.h.

Constructor & Destructor Documentation

vtkGenericDataSetTessellator::vtkGenericDataSetTessellator ( )
protected
vtkGenericDataSetTessellator::~vtkGenericDataSetTessellator ( )
protected

Member Function Documentation

static vtkGenericDataSetTessellator* vtkGenericDataSetTessellator::New ( )
static

Standard VTK methods.

static int vtkGenericDataSetTessellator::IsTypeOf ( const char *  type)
static

Standard VTK methods.

virtual int vtkGenericDataSetTessellator::IsA ( const char *  type)
virtual

Standard VTK methods.

static vtkGenericDataSetTessellator* vtkGenericDataSetTessellator::SafeDownCast ( vtkObjectBase *  o)
static

Standard VTK methods.

virtual vtkObjectBase* vtkGenericDataSetTessellator::NewInstanceInternal ( ) const
protectedvirtual

Standard VTK methods.

vtkGenericDataSetTessellator* vtkGenericDataSetTessellator::NewInstance ( ) const

Standard VTK methods.

void vtkGenericDataSetTessellator::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Standard VTK methods.

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 ( vtkIncrementalPointLocator *  locator)

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

virtual vtkIncrementalPointLocator* 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 ( )

Return the MTime also considering the locator.

int vtkGenericDataSetTessellator::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected
int vtkGenericDataSetTessellator::FillInputPortInformation ( int  ,
vtkInformation *   
)
protected

Member Data Documentation

int vtkGenericDataSetTessellator::KeepCellIds
protected

Definition at line 100 of file vtkGenericDataSetTessellator.h.

vtkPointData* vtkGenericDataSetTessellator::InternalPD
protected

Definition at line 103 of file vtkGenericDataSetTessellator.h.

int vtkGenericDataSetTessellator::Merging
protected

Definition at line 105 of file vtkGenericDataSetTessellator.h.

vtkIncrementalPointLocator* vtkGenericDataSetTessellator::Locator
protected

Definition at line 106 of file vtkGenericDataSetTessellator.h.


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