21 #ifndef vtkCleanUnstructuredGrid_h
22 #define vtkCleanUnstructuredGrid_h
24 #include "vtkFiltersGeneralModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
46 vtkSetMacro(ToleranceIsAbsolute,
bool);
47 vtkBooleanMacro(ToleranceIsAbsolute,
bool);
48 vtkGetMacro(ToleranceIsAbsolute,
bool);
56 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
57 vtkGetMacro(Tolerance,
double);
65 vtkGetMacro(AbsoluteTolerance,
double);
80 void CreateDefaultLocator(
vtkDataSet* input =
nullptr);
93 vtkSetMacro(OutputPointsPrecision,
int);
94 vtkGetMacro(OutputPointsPrecision,
int);
103 vtkSetMacro(RemovePointsWithoutCells,
bool);
104 vtkGetMacro(RemovePointsWithoutCells,
bool);
105 vtkBooleanMacro(RemovePointsWithoutCells,
bool);
119 vtkGetMacro(PointDataWeighingStrategy,
int);
120 vtkSetClampMacro(PointDataWeighingStrategy,
int, FIRST_POINT, NUMBER_OF_WEIGHING_TYPES - 1);
128 NUMBER_OF_WEIGHING_TYPES
135 bool ToleranceIsAbsolute =
false;
136 double Tolerance = 0.0;
137 double AbsoluteTolerance = 1.0;
138 bool RemovePointsWithoutCells =
false;
141 int PointDataWeighingStrategy = FIRST_POINT;
150 VTK_ABI_NAMESPACE_END
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void ReleaseLocator()
Release locator.
abstract class to specify dataset behavior
static vtkUnstructuredGridAlgorithm * New()
Abstract class in support of both point location and point insertion.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkSmartPointer< vtkIncrementalPointLocator > Locator
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Superclass for algorithms that produce only unstructured grid as output.