184#ifndef vtkCleanPolyData_h
185#define vtkCleanPolyData_h
187#include "vtkFiltersCoreModule.h"
190#include <unordered_set>
192VTK_ABI_NAMESPACE_BEGIN
218 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
219 vtkGetMacro(Tolerance,
double);
227 vtkGetMacro(AbsoluteTolerance,
double);
318 vtkSetMacro(OutputPointsPrecision,
int);
319 vtkGetMacro(OutputPointsPrecision,
int);
349 bool IsPointDataAlreadyCopied(
vtkIdType ptIndex);
352 std::unordered_map<vtkIdType, vtkIdType>& addedGlobalIdsMap,
double* point,
vtkIdType& ptId);
354 std::unordered_set<vtkIdType> CopiedPoints;
merge duplicate points, and/or remove unused points and/or remove degenerate cells
int OutputPointsPrecision
virtual void OperateOnPoint(double in[3], double out[3])
Perform operation on a point.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReleaseLocator()
Release locator.
virtual void OperateOnBounds(double in[6], double out[6])
Perform operation on bounds.
vtkTypeBool ConvertPolysToLines
vtkMTimeType GetMTime() override
Get the MTime of this object also considering the locator.
vtkTypeBool ConvertLinesToPoints
static vtkCleanPolyData * New()
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkCleanPolyData() override
void CreateDefaultLocator(vtkPolyData *input=nullptr)
Create default locator.
virtual void SetLocator(vtkIncrementalPointLocator *locator)
Set/Get a spatial locator for speeding the search process.
vtkIncrementalPointLocator * Locator
vtkTypeBool ConvertStripsToPolys
vtkTypeBool ToleranceIsAbsolute
vtkTypeBool PieceInvariant
dynamic, self-adjusting array of vtkIdType
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTypeUInt32 vtkMTimeType