ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkGenericCellTessellator Class Reference

vtkGenericCellTessellator - helper class to perform cell tessellation More...

Inheritance diagram for Kitware.VTK.vtkGenericCellTessellator:
[legend]
Collaboration diagram for Kitware.VTK.vtkGenericCellTessellator:
[legend]

List of all members.

Public Member Functions

 vtkGenericCellTessellator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual vtkCollection GetErrorMetrics ()
 Specify the list of error metrics used to decide if an edge has to be splitted or not. It is a collection of vtkGenericSubdivisionErrorMetric-s.
void GetMaxErrors (IntPtr errors)
 Get the maximum error measured after the fixed subdivision.
virtual int GetMeasurement ()
 If true, measure the quality of the fixed subdivision.
void InitErrorMetrics (vtkGenericDataSet ds)
 Init the error metric with the dataset. Should be called in each filter before any tessellation of any cell.
virtual void Initialize (vtkGenericDataSet ds)
 Initialize the tessellator with a data set `ds'.
override int IsA (string type)
 Undocumented Block.
new vtkGenericCellTessellator NewInstance ()
 Undocumented Block.
virtual void SetErrorMetrics (vtkCollection someErrorMetrics)
 Specify the list of error metrics used to decide if an edge has to be splitted or not. It is a collection of vtkGenericSubdivisionErrorMetric-s.
virtual void SetMeasurement (int _arg)
 If true, measure the quality of the fixed subdivision.
virtual void Tessellate (vtkGenericAdaptorCell cell, vtkGenericAttributeCollection att, vtkDoubleArray points, vtkCellArray cellArray, vtkPointData internalPd)
 Tessellate a 3D `cell'. The result is a set of smaller linear tetrahedra in `cellArray' with `points' and point data `internalPd'.
virtual void TessellateFace (vtkGenericAdaptorCell cell, vtkGenericAttributeCollection att, int index, vtkDoubleArray points, vtkCellArray cellArray, vtkPointData internalPd)
 Tessellate a face of a 3D `cell'. The face is specified by the index value. The result is a set of smaller linear triangles in `cellArray' with `points' and point data `internalPd'.
virtual void Triangulate (vtkGenericAdaptorCell cell, vtkGenericAttributeCollection att, vtkDoubleArray points, vtkCellArray cellArray, vtkPointData internalPd)
 Triangulate a 2D `cell'. The result is a set of smaller linear triangles in `cellArray' with `points' and point data `internalPd'.

Static Public Member Functions

static new int IsTypeOf (string type)
 Undocumented Block.
static new
vtkGenericCellTessellator 
SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkGenericCellTessellator"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "25vtkGenericCellTessellator"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkGenericCellTessellator_GetErrorMetrics_01 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGenericCellTessellator_GetMaxErrors_02 (HandleRef pThis, IntPtr errors)
static internal int vtkGenericCellTessellator_GetMeasurement_03 (HandleRef pThis)
static internal void vtkGenericCellTessellator_InitErrorMetrics_04 (HandleRef pThis, HandleRef ds)
static internal void vtkGenericCellTessellator_Initialize_05 (HandleRef pThis, HandleRef ds)
static internal int vtkGenericCellTessellator_IsA_06 (HandleRef pThis, string type)
static internal int vtkGenericCellTessellator_IsTypeOf_07 (string type)
static internal IntPtr vtkGenericCellTessellator_NewInstance_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkGenericCellTessellator_SafeDownCast_09 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGenericCellTessellator_SetErrorMetrics_10 (HandleRef pThis, HandleRef someErrorMetrics)
static internal void vtkGenericCellTessellator_SetMeasurement_11 (HandleRef pThis, int _arg)
static internal void vtkGenericCellTessellator_Tessellate_12 (HandleRef pThis, HandleRef cell, HandleRef att, HandleRef points, HandleRef cellArray, HandleRef internalPd)
static internal void vtkGenericCellTessellator_TessellateFace_13 (HandleRef pThis, HandleRef cell, HandleRef att, int index, HandleRef points, HandleRef cellArray, HandleRef internalPd)
static internal void vtkGenericCellTessellator_Triangulate_14 (HandleRef pThis, HandleRef cell, HandleRef att, HandleRef points, HandleRef cellArray, HandleRef internalPd)

Static Private Member Functions

static vtkGenericCellTessellator ()
 Automatically generated type registration mechanics.

Detailed Description

vtkGenericCellTessellator - helper class to perform cell tessellation

Description vtkGenericCellTessellator is a helper class to perform adaptive tessellation of particular cell topologies. The major purpose for this class is to transform higher-order cell types (e.g., higher-order finite elements) into linear cells that can then be easily visualized by VTK. This class works in conjunction with the vtkGenericDataSet and vtkGenericAdaptorCell classes.

This algorithm is based on edge subdivision. An error metric along each edge is evaluated, and if the error is greater than some tolerance, the edge is subdivided (as well as all connected 2D and 3D cells). The process repeats until the error metric is satisfied.

A significant issue addressed by this algorithm is to insure face compatibility across neigboring cells. That is, diagonals due to face triangulation must match to insure that the mesh is compatible. The algorithm employs a precomputed table to accelerate the tessellation process. The table was generated with the help of vtkOrderedTriangulator; the basic idea is that the choice of diagonal is made by considering the relative value of the point ids.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

override void Kitware.VTK.vtkGenericCellTessellator.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

Specify the list of error metrics used to decide if an edge has to be splitted or not. It is a collection of vtkGenericSubdivisionErrorMetric-s.

Here is the call graph for this function:

Get the maximum error measured after the fixed subdivision.

Precondition:
errors_exists: errors!=0
valid_size: sizeof(errors)==GetErrorMetrics()->GetNumberOfItems()

If true, measure the quality of the fixed subdivision.

Init the error metric with the dataset. Should be called in each filter before any tessellation of any cell.

Initialize the tessellator with a data set `ds'.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

override int Kitware.VTK.vtkGenericCellTessellator.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

static new int Kitware.VTK.vtkGenericCellTessellator.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkGenericCellTessellator.SetErrorMetrics ( vtkCollection  someErrorMetrics) [virtual]

Specify the list of error metrics used to decide if an edge has to be splitted or not. It is a collection of vtkGenericSubdivisionErrorMetric-s.

virtual void Kitware.VTK.vtkGenericCellTessellator.SetMeasurement ( int  _arg) [virtual]

If true, measure the quality of the fixed subdivision.

Tessellate a 3D `cell'. The result is a set of smaller linear tetrahedra in `cellArray' with `points' and point data `internalPd'.

Precondition:
cell_exists: cell!=0
valid_dimension: cell->GetDimension()==3
att_exists: att!=0
points_exists: points!=0
cellArray_exists: cellArray!=0
internalPd_exists: internalPd!=0

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

virtual void Kitware.VTK.vtkGenericCellTessellator.TessellateFace ( vtkGenericAdaptorCell  cell,
vtkGenericAttributeCollection  att,
int  index,
vtkDoubleArray  points,
vtkCellArray  cellArray,
vtkPointData  internalPd 
) [virtual]

Tessellate a face of a 3D `cell'. The face is specified by the index value. The result is a set of smaller linear triangles in `cellArray' with `points' and point data `internalPd'.

Precondition:
cell_exists: cell!=0
valid_dimension: cell->GetDimension()==3
valid_index_range: (index>=0) && (index<cell->GetNumberOfBoundaries(2))
att_exists: att!=0
points_exists: points!=0
cellArray_exists: cellArray!=0
internalPd_exists: internalPd!=0

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

Triangulate a 2D `cell'. The result is a set of smaller linear triangles in `cellArray' with `points' and point data `internalPd'.

Precondition:
cell_exists: cell!=0
valid_dimension: cell->GetDimension()==2
att_exists: att!=0
points_exists: points!=0
cellArray_exists: cellArray!=0
internalPd_exists: internalPd!=0

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

static internal IntPtr Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_GetErrorMetrics_01 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_GetMaxErrors_02 ( HandleRef  pThis,
IntPtr  errors 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_InitErrorMetrics_04 ( HandleRef  pThis,
HandleRef  ds 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_Initialize_05 ( HandleRef  pThis,
HandleRef  ds 
) [private]
static internal int Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_IsA_06 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_NewInstance_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_SafeDownCast_09 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_SetErrorMetrics_10 ( HandleRef  pThis,
HandleRef  someErrorMetrics 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_SetMeasurement_11 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_Tessellate_12 ( HandleRef  pThis,
HandleRef  cell,
HandleRef  att,
HandleRef  points,
HandleRef  cellArray,
HandleRef  internalPd 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_TessellateFace_13 ( HandleRef  pThis,
HandleRef  cell,
HandleRef  att,
int  index,
HandleRef  points,
HandleRef  cellArray,
HandleRef  internalPd 
) [private]
static internal void Kitware.VTK.vtkGenericCellTessellator.vtkGenericCellTessellator_Triangulate_14 ( HandleRef  pThis,
HandleRef  cell,
HandleRef  att,
HandleRef  points,
HandleRef  cellArray,
HandleRef  internalPd 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkGenericCellTessellator.MRClassNameKey = "25vtkGenericCellTessellator" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.

new const string Kitware.VTK.vtkGenericCellTessellator.MRFullTypeName = "Kitware.VTK.vtkGenericCellTessellator"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSimpleCellTessellator.


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