39 #ifndef __vtkGenericCellTessellator_h
40 #define __vtkGenericCellTessellator_h
42 #include "vtkCommonDataModelModule.h"
43 #include "vtkObject.h"
48 class vtkGenericAttributeCollection;
50 class vtkGenericCellIterator;
52 class vtkGenericDataSet;
61 void PrintSelf(ostream& os, vtkIndent indent);
72 vtkGenericAttributeCollection *att,
74 vtkDoubleArray *points,
76 vtkPointData *internalPd)=0;
87 vtkGenericAttributeCollection *att,
88 vtkDoubleArray *points,
90 vtkPointData *internalPd )=0;
101 vtkGenericAttributeCollection *att,
102 vtkDoubleArray *points,
104 vtkPointData *internalPd)=0;
111 virtual void SetErrorMetrics(vtkCollection *someErrorMetrics);
112 vtkGetObjectMacro(ErrorMetrics,vtkCollection);
116 virtual void Initialize(vtkGenericDataSet *ds)=0;
120 void InitErrorMetrics(vtkGenericDataSet *ds);
124 vtkGetMacro(Measurement,
int);
125 vtkSetMacro(Measurement,
int);
131 void GetMaxErrors(
double *errors);
150 int RequiresEdgeSubdivision(
double *left,
double *mid,
double *right,
165 virtual void UpdateMaxError(
double *leftPoint,
double *midPoint,
166 double *rightPoint,
double alpha);
171 void ResetMaxErrors();
helper class to perform cell tessellation
vtkCollection * ErrorMetrics
object to represent cell connectivity
vtkGenericDataSet * DataSet