75 #ifndef vtkCleanPolyData_h
76 #define vtkCleanPolyData_h
78 #include "vtkFiltersCoreModule.h"
82 #include <unordered_set>
84 VTK_ABI_NAMESPACE_BEGIN
110 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
111 vtkGetMacro(Tolerance,
double);
119 vtkGetMacro(AbsoluteTolerance,
double);
127 vtkBooleanMacro(ConvertLinesToPoints,
vtkTypeBool);
145 vtkBooleanMacro(ConvertStripsToPolys,
vtkTypeBool);
173 void CreateDefaultLocator(
vtkPolyData* input =
nullptr);
188 virtual void OperateOnPoint(
double in[3],
double out[3]);
193 virtual void OperateOnBounds(
double in[6],
double out[6]);
210 vtkSetMacro(OutputPointsPrecision,
int);
211 vtkGetMacro(OutputPointsPrecision,
int);
239 bool IsPointDataAlreadyCopied(
vtkIdType ptIndex);
242 std::unordered_map<vtkIdType, vtkIdType>& addedGlobalIdsMap,
double*
point,
vtkIdType& ptId);
244 std::unordered_set<vtkIdType> CopiedPoints;
247 VTK_ABI_NAMESPACE_END
vtkTypeBool ConvertLinesToPoints
vtkTypeUInt32 vtkMTimeType
vtkTypeBool ToleranceIsAbsolute
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int OutputPointsPrecision
vtkTypeBool ConvertPolysToLines
vtkTypeBool ConvertStripsToPolys
Abstract class in support of both point location and point insertion.
vtkTypeBool PieceInvariant
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
merge duplicate points, and/or remove unused points and/or remove degenerate cells ...
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void ReleaseLocator()
Release locator.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIncrementalPointLocator * Locator