21#ifndef vtkCleanUnstructuredGrid_h
22#define vtkCleanUnstructuredGrid_h
24#include "vtkFiltersGeneralModule.h"
28VTK_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);
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;
virtual vtkIncrementalPointLocator * GetLocator()
Set/Get a spatial locator for speeding the search process.
vtkCleanUnstructuredGrid()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkCleanUnstructuredGrid() override
virtual void SetLocator(vtkIncrementalPointLocator *locator)
Set/Get a spatial locator for speeding the search process.
static vtkCleanUnstructuredGrid * New()
void ReleaseLocator()
Release locator.
void CreateDefaultLocator(vtkDataSet *input=nullptr)
Create default locator.
vtkSmartPointer< vtkIncrementalPointLocator > Locator
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class to specify dataset behavior
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.
Superclass for algorithms that produce only unstructured grid as output.