61#ifndef vtkStaticCleanUnstructuredGrid_h
62#define vtkStaticCleanUnstructuredGrid_h
64#include "vtkFiltersCoreModule.h"
70VTK_ABI_NAMESPACE_BEGIN
96 vtkSetMacro(ToleranceIsAbsolute,
bool);
97 vtkBooleanMacro(ToleranceIsAbsolute,
bool);
98 vtkGetMacro(ToleranceIsAbsolute,
bool);
107 vtkGetMacro(AbsoluteTolerance,
double);
116 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
117 vtkGetMacro(Tolerance,
double);
132 vtkSetStringMacro(MergingArray);
133 vtkGetStringMacro(MergingArray);
144 vtkSetMacro(RemoveUnusedPoints,
bool);
145 vtkBooleanMacro(RemoveUnusedPoints,
bool);
146 vtkGetMacro(RemoveUnusedPoints,
bool);
157 vtkSetMacro(ProduceMergeMap,
bool);
158 vtkBooleanMacro(ProduceMergeMap,
bool);
159 vtkGetMacro(ProduceMergeMap,
bool);
171 vtkSetMacro(AveragePointData,
bool);
172 vtkBooleanMacro(AveragePointData,
bool);
173 vtkGetMacro(AveragePointData,
bool);
182 vtkSetMacro(OutputPointsPrecision,
int);
183 vtkGetMacro(OutputPointsPrecision,
int);
198 vtkSetMacro(PieceInvariant,
bool);
199 vtkGetMacro(PieceInvariant,
bool);
200 vtkBooleanMacro(PieceInvariant,
bool);
233 vtkIdType numPts,
vtkIdType* pmap,
unsigned char* ptUses, std::vector<vtkIdType>& mergeMap);
object to represent cell connectivity
represent and manipulate cell attribute data
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
Hold a reference to a vtkObjectBase instance.
merge duplicate points, and/or remove unused points and/or remove degenerate cells
merge duplicate points, removed unused points, in an vtkUnstructuredGrid
static vtkStaticCleanUnstructuredGrid * New()
Standard methods for instantiation, obtaining type information, and printing the state of the object.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkMTimeType GetMTime() override
Get the MTime of this object also considering the locator.
~vtkStaticCleanUnstructuredGrid() override=default
vtkSmartPointer< vtkStaticPointLocator > Locator
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing the state of the object.
static void MarkPointUses(vtkCellArray *ca, vtkIdType *mergeMap, unsigned char *ptUses)
int OutputPointsPrecision
static vtkIdType BuildPointMap(vtkIdType numPts, vtkIdType *pmap, unsigned char *ptUses, std::vector< vtkIdType > &mergeMap)
static void AveragePoints(vtkPoints *inPts, vtkPointData *inPD, vtkPoints *outPts, vtkPointData *outPD, vtkIdType *ptMap, double tol)
vtkStaticCleanUnstructuredGrid()
static void CopyPoints(vtkPoints *inPts, vtkPointData *inPD, vtkPoints *outPts, vtkPointData *outPD, vtkIdType *ptMap)
quickly locate points in 3-space
Superclass for algorithms that produce only unstructured grid as output.
vtkTypeUInt32 vtkMTimeType