33#ifndef vtkMergeCells_h
34#define vtkMergeCells_h
38#include "vtkFiltersGeneralModule.h"
42VTK_ABI_NAMESPACE_BEGIN
45class vtkMergeCellsSTLCloak;
95 vtkSetMacro(UseGlobalIds,
int);
96 vtkGetMacro(UseGlobalIds,
int);
97 vtkBooleanMacro(UseGlobalIds,
int);
109 vtkGetMacro(PointMergeTolerance,
double);
117 vtkSetMacro(UseGlobalCellIds,
int);
118 vtkGetMacro(UseGlobalCellIds,
int);
119 vtkBooleanMacro(UseGlobalCellIds,
int);
128 vtkSetMacro(MergeDuplicatePoints,
bool);
129 vtkGetMacro(MergeDuplicatePoints,
bool);
130 vtkBooleanMacro(MergeDuplicatePoints,
bool);
144 vtkSetMacro(TotalNumberOfDataSets,
int);
145 vtkGetMacro(TotalNumberOfDataSets,
int);
162 vtkSetMacro(OutputPointsPrecision,
int);
163 vtkGetMacro(OutputPointsPrecision,
int);
represent and manipulate cell attribute data
helps manage arrays from multiple vtkDataSetAttributes.
abstract class to specify dataset behavior
Abstract class in support of both point location and point insertion.
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
vtkSmartPointer< vtkIncrementalPointLocator > Locator
void Finish()
Call Finish() after merging last DataSet to free unneeded memory and to make sure the ugrid's GetNumb...
static vtkMergeCells * New()
void StartUGrid(vtkDataSet *set)
vtkMergeCellsSTLCloak * GlobalCellIdMap
vtkDataSetAttributes::FieldList * CellList
vtkIdType AddNewCellsDataSet(vtkDataSet *set, vtkIdType *idMap)
vtkIdType * MapPointsToIdsUsingLocator(vtkDataSet *set)
~vtkMergeCells() override
bool MergeDuplicatePoints
vtkMergeCellsSTLCloak * GlobalIdMap
double PointMergeTolerance
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType * MapPointsToIdsUsingGlobalIds(vtkDataSet *set)
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
Hold a reference to a vtkObjectBase instance.
dataset represents arbitrary combinations of all possible cell types