83 #ifndef vtkDecimatePro_h
84 #define vtkDecimatePro_h
86 #include "vtkFiltersCoreModule.h"
120 vtkSetClampMacro(TargetReduction,
double, 0.0, 1.0);
121 vtkGetMacro(TargetReduction,
double);
141 vtkSetClampMacro(FeatureAngle,
double, 0.0, 180.0);
142 vtkGetMacro(FeatureAngle,
double);
163 vtkSetClampMacro(SplitAngle,
double, 0.0, 180.0);
164 vtkGetMacro(SplitAngle,
double);
189 vtkGetMacro(MaximumError,
double);
212 vtkSetMacro(ErrorIsAbsolute,
int);
213 vtkGetMacro(ErrorIsAbsolute,
int);
221 vtkGetMacro(AbsoluteError,
double);
231 vtkBooleanMacro(BoundaryVertexDeletion,
vtkTypeBool);
242 vtkGetMacro(Degree,
int);
251 vtkSetClampMacro(InflectionPointRatio,
double, 1.001,
VTK_DOUBLE_MAX);
252 vtkGetMacro(InflectionPointRatio,
double);
270 void GetInflectionPoints(
double* inflectionPoints);
279 double* GetInflectionPoints();
287 vtkSetMacro(OutputPointsPrecision,
int);
288 vtkGetMacro(OutputPointsPrecision,
int);
321 int IsValidSplit(
int index);
326 void DistributeError(
double error);
366 this->Array[this->MaxId] = v;
390 this->Array[this->MaxId] = t;
402 void Insert(
vtkIdType id,
double error = -1.0);
403 int Pop(
double& error);
426 double TheSplitAngle;
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.