#include <vtkGenericDataSetTessellator.h>
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).
Definition at line 46 of file vtkGenericDataSetTessellator.h.
Standard VTK methods.
Reimplemented from vtkUnstructuredGridAlgorithm.
Definition at line 53 of file vtkGenericDataSetTessellator.h.
vtkGenericDataSetTessellator::vtkGenericDataSetTessellator | ( | ) | [protected] |
vtkGenericDataSetTessellator::~vtkGenericDataSetTessellator | ( | ) | [protected] |
static vtkGenericDataSetTessellator* vtkGenericDataSetTessellator::New | ( | ) | [static] |
Standard VTK methods.
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual const char* vtkGenericDataSetTessellator::GetClassName | ( | ) | [virtual] |
Standard VTK methods.
Reimplemented from vtkUnstructuredGridAlgorithm.
static int vtkGenericDataSetTessellator::IsTypeOf | ( | const char * | type | ) | [static] |
Standard VTK methods.
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual int vtkGenericDataSetTessellator::IsA | ( | const char * | type | ) | [virtual] |
Standard VTK methods.
Reimplemented from vtkUnstructuredGridAlgorithm.
static vtkGenericDataSetTessellator* vtkGenericDataSetTessellator::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard VTK methods.
Reimplemented from vtkUnstructuredGridAlgorithm.
void vtkGenericDataSetTessellator::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Standard VTK methods.
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 | ( | 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 | ( | ) | [virtual] |
Return the MTime also considering the locator.
Reimplemented from vtkObject.
int vtkGenericDataSetTessellator::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.
int vtkGenericDataSetTessellator::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.
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.
Definition at line 105 of file vtkGenericDataSetTessellator.h.