45 #ifndef vtkMergeCells_h
46 #define vtkMergeCells_h
49 #include "vtkFiltersGeneralModule.h"
55 class vtkMergeCellsSTLCloak;
104 vtkSetMacro(UseGlobalIds,
int);
105 vtkGetMacro(UseGlobalIds,
int);
106 vtkBooleanMacro(UseGlobalIds,
int);
118 vtkGetMacro(PointMergeTolerance,
float);
126 vtkSetMacro(UseGlobalCellIds,
int);
127 vtkGetMacro(UseGlobalCellIds,
int);
128 vtkBooleanMacro(UseGlobalCellIds,
int);
137 vtkSetMacro(MergeDuplicatePoints,
bool);
138 vtkGetMacro(MergeDuplicatePoints,
bool);
139 vtkBooleanMacro(MergeDuplicatePoints,
bool);
153 vtkSetMacro(TotalNumberOfDataSets,
int);
154 vtkGetMacro(TotalNumberOfDataSets,
int);
represent and manipulate cell attribute data
helps manage arrays from multiple vtkDataSetAttributes.
abstract class to specify dataset behavior
a simple class to control print indentation
merges any number of vtkDataSets back into a single vtkUnstructuredGrid
vtkIdType TotalNumberOfCells
vtkIdType TotalNumberOfPoints
vtkDataSetAttributes::FieldList * PointList
int MergeDataSet(vtkDataSet *set)
Provide a DataSet to be merged in to the final UnstructuredGrid.
vtkIdType AddNewCellsUnstructuredGrid(vtkDataSet *set, vtkIdType *idMap)
int TotalNumberOfDataSets
void InvalidateCachedLocator()
Clear the Locator and set it to nullptr.
vtkUnstructuredGrid * UnstructuredGrid
void Finish()
Call Finish() after merging last DataSet to free unneeded memory and to make sure the ugrid's GetNumb...
vtkIdType * MapPointsToIdsUsingGlobalIds(vtkDataSet *set)
float PointMergeTolerance
void StartUGrid(vtkDataSet *set)
static vtkMergeCells * New()
vtkMergeCellsSTLCloak * GlobalCellIdMap
vtkIdType * MapPointsToIdsUsingLocator(vtkDataSet *set)
vtkDataSetAttributes::FieldList * CellList
vtkIdType AddNewCellsDataSet(vtkDataSet *set, vtkIdType *idMap)
~vtkMergeCells() override
bool MergeDuplicatePoints
vtkMergeCellsSTLCloak * GlobalIdMap
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkMergePoints > Locator
virtual void SetUnstructuredGrid(vtkUnstructuredGrid *)
Set the vtkUnstructuredGrid object that will become the union of the DataSets specified in MergeDataS...
merge exactly coincident points
abstract base class for most VTK objects
represent and manipulate point attribute data
dataset represents arbitrary combinations of all possible cell types