59 #ifndef vtkQuadricDecimation_h
60 #define vtkQuadricDecimation_h
62 #include "vtkFiltersCoreModule.h"
84 vtkSetClampMacro(TargetReduction,
double, 0.0, 1.0);
85 vtkGetMacro(TargetReduction,
double);
142 vtkSetMacro(ScalarsWeight,
double);
143 vtkSetMacro(VectorsWeight,
double);
144 vtkSetMacro(NormalsWeight,
double);
145 vtkSetMacro(TCoordsWeight,
double);
146 vtkSetMacro(TensorsWeight,
double);
147 vtkGetMacro(ScalarsWeight,
double);
148 vtkGetMacro(VectorsWeight,
double);
149 vtkGetMacro(NormalsWeight,
double);
150 vtkGetMacro(TCoordsWeight,
double);
151 vtkGetMacro(TensorsWeight,
double);
159 vtkGetMacro(ActualReduction,
double);
177 void InitializeQuadrics(
vtkIdType numPts);
182 void AddBoundaryConstraints(
void);
200 double ComputeCost(
vtkIdType edgeId,
double *x);
201 double ComputeCost2(
vtkIdType edgeId,
double *x);
217 int TrianglePlaneCheck(
const double t0[3],
const double t1[3],
218 const double t2[3],
const double *x);
219 void ComputeNumberOfComponents(
void);
226 void SetPointAttributeArray(
vtkIdType ptId,
const double *x);
227 void GetPointAttributeArray(
vtkIdType ptId,
double *x);
234 void GetAttributeComponents();
273 int AttributeComponents[6];
274 double AttributeScale[6];