71 #ifndef vtkDecimatePro_h
72 #define vtkDecimatePro_h
74 #include "vtkFiltersCoreModule.h"
80 VTK_ABI_NAMESPACE_BEGIN
110 vtkSetClampMacro(TargetReduction,
double, 0.0, 1.0);
111 vtkGetMacro(TargetReduction,
double);
131 vtkSetClampMacro(FeatureAngle,
double, 0.0, 180.0);
132 vtkGetMacro(FeatureAngle,
double);
153 vtkSetClampMacro(SplitAngle,
double, 0.0, 180.0);
154 vtkGetMacro(SplitAngle,
double);
179 vtkGetMacro(MaximumError,
double);
202 vtkSetMacro(ErrorIsAbsolute,
int);
203 vtkGetMacro(ErrorIsAbsolute,
int);
211 vtkGetMacro(AbsoluteError,
double);
221 vtkBooleanMacro(BoundaryVertexDeletion,
vtkTypeBool);
232 vtkGetMacro(Degree,
int);
241 vtkSetClampMacro(InflectionPointRatio,
double, 1.001,
VTK_DOUBLE_MAX);
242 vtkGetMacro(InflectionPointRatio,
double);
260 void GetInflectionPoints(
double* inflectionPoints);
269 double* GetInflectionPoints();
277 vtkSetMacro(OutputPointsPrecision,
int);
278 vtkGetMacro(OutputPointsPrecision,
int);
311 int IsValidSplit(
int index);
316 void DistributeError(
double error);
356 this->Array[this->MaxId] = v;
380 this->Array[this->MaxId] = t;
392 void Insert(
vtkIdType id,
double error = -1.0);
393 int Pop(
double& error);
416 double TheSplitAngle;
424 VTK_ABI_NAMESPACE_END
vtkTypeBool AccumulateError
vtkTypeBool BoundaryVertexDeletion
LocalTri & GetTriangle(vtkIdType i)
void InsertNextTriangle(LocalTri &t)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of double
a list of ids arranged in priority order
LocalVertex * LocalVertexPtr
static vtkPolyDataAlgorithm * New()
LocalVertex & GetVertex(vtkIdType i)
TriArray(const vtkIdType sz)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
list of point or cell ids
void InsertNextVertex(LocalVertex &v)
double InflectionPointRatio
vtkTypeBool PreserveTopology
VertexArray(const vtkIdType sz)
vtkDoubleArray * InflectionPoints
int OutputPointsPrecision
reduce the number of triangles in a mesh
vtkIdType GetNumberOfVertices()
vtkIdType GetNumberOfTriangles()
vtkPriorityQueue * EdgeLengths
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.