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.vtkMergeCells Class Reference

vtkMergeCells - merges any number of vtkDataSets back into a single vtkUnstructuredGrid More...

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

List of all members.

Public Member Functions

 vtkMergeCells (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkMergeCells ()
 Undocumented Block.
void Finish ()
 Call Finish() after merging last DataSet to free unneeded memory and to make sure the ugrid's GetNumberOfPoints() reflects the actual number of points set, not the number allocated.
virtual int GetMergeDuplicatePoints ()
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().
virtual float GetPointMergeTolerance ()
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.
virtual float GetPointMergeToleranceMaxValue ()
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.
virtual float GetPointMergeToleranceMinValue ()
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.
virtual int GetTotalNumberOfCells ()
 Specify the total number of cells in the final vtkUnstructuredGrid. Make this call before any call to MergeDataSet().
virtual int GetTotalNumberOfDataSets ()
 We need to know the number of different data sets that will be merged into one so we can pre-allocate some arrays. This can be an upper bound, not necessarily exact.
virtual int GetTotalNumberOfPoints ()
 Specify the total number of points in the final vtkUnstructuredGrid Make this call before any call to MergeDataSet(). This is an upper bound, since some points may be duplicates.
virtual vtkUnstructuredGrid GetUnstructuredGrid ()
 Set the vtkUnstructuredGrid object that will become the union of the DataSets specified in MergeDataSet calls. vtkMergeCells assumes this grid is empty at first.
virtual int GetUseGlobalCellIds ()
 vtkMergeCells will detect and filter out duplicate cells if you provide it the name of a global cell ID array.
virtual int GetUseGlobalIds ()
 vtkMergeCells attempts eliminate duplicate points when merging data sets. This is done most efficiently if a global point ID field array is available. Set the name of the point array if you have one.
override int IsA (string type)
 Undocumented Block.
int MergeDataSet (vtkDataSet set)
 Provide a DataSet to be merged in to the final UnstructuredGrid. This call returns after the merge has completed. Be sure to call SetTotalNumberOfCells, SetTotalNumberOfPoints, and SetTotalNumberOfDataSets before making this call. Return 0 if OK, -1 if error.
virtual void MergeDuplicatePointsOff ()
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().
virtual void MergeDuplicatePointsOn ()
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().
new vtkMergeCells NewInstance ()
 Undocumented Block.
virtual void SetMergeDuplicatePoints (int _arg)
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().
virtual void SetPointMergeTolerance (float _arg)
 vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.
virtual void SetTotalNumberOfCells (int _arg)
 Specify the total number of cells in the final vtkUnstructuredGrid. Make this call before any call to MergeDataSet().
virtual void SetTotalNumberOfDataSets (int _arg)
 We need to know the number of different data sets that will be merged into one so we can pre-allocate some arrays. This can be an upper bound, not necessarily exact.
virtual void SetTotalNumberOfPoints (int _arg)
 Specify the total number of points in the final vtkUnstructuredGrid Make this call before any call to MergeDataSet(). This is an upper bound, since some points may be duplicates.
virtual void SetUnstructuredGrid (vtkUnstructuredGrid arg0)
 Set the vtkUnstructuredGrid object that will become the union of the DataSets specified in MergeDataSet calls. vtkMergeCells assumes this grid is empty at first.
virtual void SetUseGlobalCellIds (int _arg)
 vtkMergeCells will detect and filter out duplicate cells if you provide it the name of a global cell ID array.
virtual void SetUseGlobalIds (int _arg)
 vtkMergeCells attempts eliminate duplicate points when merging data sets. This is done most efficiently if a global point ID field array is available. Set the name of the point array if you have one.

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "13vtkMergeCells"
 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 vtkMergeCells_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkMergeCells_Finish_01 (HandleRef pThis)
static internal int vtkMergeCells_GetMergeDuplicatePoints_02 (HandleRef pThis)
static internal float vtkMergeCells_GetPointMergeTolerance_03 (HandleRef pThis)
static internal float vtkMergeCells_GetPointMergeToleranceMaxValue_04 (HandleRef pThis)
static internal float vtkMergeCells_GetPointMergeToleranceMinValue_05 (HandleRef pThis)
static internal int vtkMergeCells_GetTotalNumberOfCells_06 (HandleRef pThis)
static internal int vtkMergeCells_GetTotalNumberOfDataSets_07 (HandleRef pThis)
static internal int vtkMergeCells_GetTotalNumberOfPoints_08 (HandleRef pThis)
static internal IntPtr vtkMergeCells_GetUnstructuredGrid_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkMergeCells_GetUseGlobalCellIds_10 (HandleRef pThis)
static internal int vtkMergeCells_GetUseGlobalIds_11 (HandleRef pThis)
static internal int vtkMergeCells_IsA_12 (HandleRef pThis, string type)
static internal int vtkMergeCells_IsTypeOf_13 (string type)
static internal int vtkMergeCells_MergeDataSet_14 (HandleRef pThis, HandleRef set)
static internal void vtkMergeCells_MergeDuplicatePointsOff_15 (HandleRef pThis)
static internal void vtkMergeCells_MergeDuplicatePointsOn_16 (HandleRef pThis)
static internal IntPtr vtkMergeCells_NewInstance_18 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkMergeCells_SafeDownCast_19 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkMergeCells_SetMergeDuplicatePoints_20 (HandleRef pThis, int _arg)
static internal void vtkMergeCells_SetPointMergeTolerance_21 (HandleRef pThis, float _arg)
static internal void vtkMergeCells_SetTotalNumberOfCells_22 (HandleRef pThis, int _arg)
static internal void vtkMergeCells_SetTotalNumberOfDataSets_23 (HandleRef pThis, int _arg)
static internal void vtkMergeCells_SetTotalNumberOfPoints_24 (HandleRef pThis, int _arg)
static internal void vtkMergeCells_SetUnstructuredGrid_25 (HandleRef pThis, HandleRef arg0)
static internal void vtkMergeCells_SetUseGlobalCellIds_26 (HandleRef pThis, int _arg)
static internal void vtkMergeCells_SetUseGlobalIds_27 (HandleRef pThis, int _arg)

Static Private Member Functions

static vtkMergeCells ()
 Automatically generated type registration mechanics.

Detailed Description

vtkMergeCells - merges any number of vtkDataSets back into a single vtkUnstructuredGrid

Description Designed to work with distributed vtkDataSets, this class will take vtkDataSets and merge them back into a single vtkUnstructuredGrid.

The vtkPoints object of the unstructured grid will have data type VTK_FLOAT, regardless of the data type of the points of the input vtkDataSets. If this is a problem, someone must let me know.

It is assumed the different DataSets have the same field arrays. If the name of a global point ID array is provided, this class will refrain from including duplicate points in the merged Ugrid. This class differs from vtkAppendFilter in these ways: (1) it uses less memory than that class (which uses memory equal to twice the size of the final Ugrid) but requires that you know the size of the final Ugrid in advance (2) this class assumes the individual DataSets have the same field arrays, while vtkAppendFilter intersects the field arrays (3) this class knows duplicate points may be appearing in the DataSets and can filter those out, (4) this class is not a filter.


Constructor & Destructor Documentation

static Kitware.VTK.vtkMergeCells.vtkMergeCells ( ) [static, private]

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

override void Kitware.VTK.vtkMergeCells.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.

Call Finish() after merging last DataSet to free unneeded memory and to make sure the ugrid's GetNumberOfPoints() reflects the actual number of points set, not the number allocated.

vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().

vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.

vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.

vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.

Specify the total number of cells in the final vtkUnstructuredGrid. Make this call before any call to MergeDataSet().

We need to know the number of different data sets that will be merged into one so we can pre-allocate some arrays. This can be an upper bound, not necessarily exact.

Specify the total number of points in the final vtkUnstructuredGrid Make this call before any call to MergeDataSet(). This is an upper bound, since some points may be duplicates.

Set the vtkUnstructuredGrid object that will become the union of the DataSets specified in MergeDataSet calls. vtkMergeCells assumes this grid is empty at first.

Here is the call graph for this function:

vtkMergeCells will detect and filter out duplicate cells if you provide it the name of a global cell ID array.

virtual int Kitware.VTK.vtkMergeCells.GetUseGlobalIds ( ) [virtual]

vtkMergeCells attempts eliminate duplicate points when merging data sets. This is done most efficiently if a global point ID field array is available. Set the name of the point array if you have one.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Provide a DataSet to be merged in to the final UnstructuredGrid. This call returns after the merge has completed. Be sure to call SetTotalNumberOfCells, SetTotalNumberOfPoints, and SetTotalNumberOfDataSets before making this call. Return 0 if OK, -1 if error.

vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().

vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkMergeCells.SetMergeDuplicatePoints ( int  _arg) [virtual]

vtkMergeCells attempts eliminate duplicate points when merging data sets. If for some reason you don't want it to do this, than MergeDuplicatePointsOff().

virtual void Kitware.VTK.vtkMergeCells.SetPointMergeTolerance ( float  _arg) [virtual]

vtkMergeCells attempts eliminate duplicate points when merging data sets. If no global point ID field array name is provided, it will use a point locator to find duplicate points. You can set a tolerance for that locator here. The default tolerance is 10e-4.

virtual void Kitware.VTK.vtkMergeCells.SetTotalNumberOfCells ( int  _arg) [virtual]

Specify the total number of cells in the final vtkUnstructuredGrid. Make this call before any call to MergeDataSet().

virtual void Kitware.VTK.vtkMergeCells.SetTotalNumberOfDataSets ( int  _arg) [virtual]

We need to know the number of different data sets that will be merged into one so we can pre-allocate some arrays. This can be an upper bound, not necessarily exact.

virtual void Kitware.VTK.vtkMergeCells.SetTotalNumberOfPoints ( int  _arg) [virtual]

Specify the total number of points in the final vtkUnstructuredGrid Make this call before any call to MergeDataSet(). This is an upper bound, since some points may be duplicates.

Set the vtkUnstructuredGrid object that will become the union of the DataSets specified in MergeDataSet calls. vtkMergeCells assumes this grid is empty at first.

virtual void Kitware.VTK.vtkMergeCells.SetUseGlobalCellIds ( int  _arg) [virtual]

vtkMergeCells will detect and filter out duplicate cells if you provide it the name of a global cell ID array.

virtual void Kitware.VTK.vtkMergeCells.SetUseGlobalIds ( int  _arg) [virtual]

vtkMergeCells attempts eliminate duplicate points when merging data sets. This is done most efficiently if a global point ID field array is available. Set the name of the point array if you have one.

static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_Finish_01 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_GetMergeDuplicatePoints_02 ( HandleRef  pThis) [private]
static internal float Kitware.VTK.vtkMergeCells.vtkMergeCells_GetPointMergeTolerance_03 ( HandleRef  pThis) [private]
static internal float Kitware.VTK.vtkMergeCells.vtkMergeCells_GetPointMergeToleranceMaxValue_04 ( HandleRef  pThis) [private]
static internal float Kitware.VTK.vtkMergeCells.vtkMergeCells_GetPointMergeToleranceMinValue_05 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_GetTotalNumberOfCells_06 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_GetTotalNumberOfDataSets_07 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_GetTotalNumberOfPoints_08 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkMergeCells.vtkMergeCells_GetUnstructuredGrid_09 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_GetUseGlobalCellIds_10 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_GetUseGlobalIds_11 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_IsA_12 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_IsTypeOf_13 ( string  type) [private]
static internal int Kitware.VTK.vtkMergeCells.vtkMergeCells_MergeDataSet_14 ( HandleRef  pThis,
HandleRef  set 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_MergeDuplicatePointsOff_15 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_MergeDuplicatePointsOn_16 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkMergeCells.vtkMergeCells_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkMergeCells.vtkMergeCells_NewInstance_18 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkMergeCells.vtkMergeCells_SafeDownCast_19 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetMergeDuplicatePoints_20 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetPointMergeTolerance_21 ( HandleRef  pThis,
float  _arg 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetTotalNumberOfCells_22 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetTotalNumberOfDataSets_23 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetTotalNumberOfPoints_24 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetUnstructuredGrid_25 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetUseGlobalCellIds_26 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkMergeCells.vtkMergeCells_SetUseGlobalIds_27 ( HandleRef  pThis,
int  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkMergeCells.MRClassNameKey = "13vtkMergeCells" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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