56 #ifndef vtkQuadricDecimation_h
57 #define vtkQuadricDecimation_h
59 #include "vtkFiltersCoreModule.h"
81 vtkSetClampMacro(TargetReduction,
double, 0.0, 1.0);
82 vtkGetMacro(TargetReduction,
double);
139 vtkSetMacro(ScalarsWeight,
double);
140 vtkSetMacro(VectorsWeight,
double);
141 vtkSetMacro(NormalsWeight,
double);
142 vtkSetMacro(TCoordsWeight,
double);
143 vtkSetMacro(TensorsWeight,
double);
144 vtkGetMacro(ScalarsWeight,
double);
145 vtkGetMacro(VectorsWeight,
double);
146 vtkGetMacro(NormalsWeight,
double);
147 vtkGetMacro(TCoordsWeight,
double);
148 vtkGetMacro(TensorsWeight,
double);
156 vtkGetMacro(ActualReduction,
double);
174 void InitializeQuadrics(
vtkIdType numPts);
179 void AddBoundaryConstraints(
void);
197 double ComputeCost(
vtkIdType edgeId,
double *x);
198 double ComputeCost2(
vtkIdType edgeId,
double *x);
214 int TrianglePlaneCheck(
const double t0[3],
const double t1[3],
215 const double t2[3],
const double *x);
216 void ComputeNumberOfComponents(
void);
223 void SetPointAttributeArray(
vtkIdType ptId,
const double *x);
224 void GetPointAttributeArray(
vtkIdType ptId,
double *x);
231 void GetAttributeComponents();
270 int AttributeComponents[6];
271 double AttributeScale[6];