39 #ifndef __vtkGenericCellTessellator_h
40 #define __vtkGenericCellTessellator_h
47 class vtkGenericAttributeCollection;
48 class vtkGenericAdaptorCell;
51 class vtkGenericDataSet;
70 virtual void TessellateFace(vtkGenericAdaptorCell *cell,
71 vtkGenericAttributeCollection *att,
74 vtkCellArray *cellArray,
75 vtkPointData *internalPd)=0;
85 virtual void Tessellate(vtkGenericAdaptorCell *cell,
86 vtkGenericAttributeCollection *att,
88 vtkCellArray *cellArray,
89 vtkPointData *internalPd )=0;
99 virtual void Triangulate(vtkGenericAdaptorCell *cell,
100 vtkGenericAttributeCollection *att,
102 vtkCellArray *cellArray,
103 vtkPointData *internalPd)=0;
110 virtual void SetErrorMetrics(
vtkCollection *someErrorMetrics);
115 virtual void Initialize(vtkGenericDataSet *ds)=0;
119 void InitErrorMetrics(vtkGenericDataSet *ds);
123 vtkGetMacro(Measurement,
int);
124 vtkSetMacro(Measurement,
int);
130 void GetMaxErrors(
double *errors);
149 int RequiresEdgeSubdivision(
double *left,
double *mid,
double *right,
164 virtual void UpdateMaxError(
double *leftPoint,
double *midPoint,
165 double *rightPoint,
double alpha);
170 void ResetMaxErrors();
178 void SetGenericCell(vtkGenericAdaptorCell *cell);
abstract base class for most VTK objects
helper class to perform cell tessellation
dynamic, self-adjusting array of double
iterator used to traverse cells
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
vtkCollection * ErrorMetrics
create and manipulate unsorted lists of objects
vtkGenericDataSet * DataSet