48#ifndef vtkMergeCells_h
49#define vtkMergeCells_h
53#include "vtkFiltersGeneralModule.h"
59class vtkMergeCellsSTLCloak;
109 vtkSetMacro(UseGlobalIds,
int);
110 vtkGetMacro(UseGlobalIds,
int);
111 vtkBooleanMacro(UseGlobalIds,
int);
123 vtkGetMacro(PointMergeTolerance,
double);
131 vtkSetMacro(UseGlobalCellIds,
int);
132 vtkGetMacro(UseGlobalCellIds,
int);
133 vtkBooleanMacro(UseGlobalCellIds,
int);
142 vtkSetMacro(MergeDuplicatePoints,
bool);
143 vtkGetMacro(MergeDuplicatePoints,
bool);
144 vtkBooleanMacro(MergeDuplicatePoints,
bool);
158 vtkSetMacro(TotalNumberOfDataSets,
int);
159 vtkGetMacro(TotalNumberOfDataSets,
int);
176 vtkSetMacro(OutputPointsPrecision,
int);
177 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