45#ifndef vtkMergeCells_h
46#define vtkMergeCells_h
50#include "vtkFiltersGeneralModule.h"
56class vtkMergeCellsSTLCloak;
106 vtkSetMacro(UseGlobalIds,
int);
107 vtkGetMacro(UseGlobalIds,
int);
108 vtkBooleanMacro(UseGlobalIds,
int);
120 vtkGetMacro(PointMergeTolerance,
double);
128 vtkSetMacro(UseGlobalCellIds,
int);
129 vtkGetMacro(UseGlobalCellIds,
int);
130 vtkBooleanMacro(UseGlobalCellIds,
int);
139 vtkSetMacro(MergeDuplicatePoints,
bool);
140 vtkGetMacro(MergeDuplicatePoints,
bool);
141 vtkBooleanMacro(MergeDuplicatePoints,
bool);
155 vtkSetMacro(TotalNumberOfDataSets,
int);
156 vtkGetMacro(TotalNumberOfDataSets,
int);
173 vtkSetMacro(OutputPointsPrecision,
int);
174 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