39 #ifndef __vtkGenericCellTessellator_h
40 #define __vtkGenericCellTessellator_h
42 #include "vtkCommonDataModelModule.h"
49 class vtkGenericAdaptorCell;
52 class vtkGenericDataSet;
71 virtual void TessellateFace(vtkGenericAdaptorCell *cell,
75 vtkCellArray *cellArray,
76 vtkPointData *internalPd)=0;
86 virtual void Tessellate(vtkGenericAdaptorCell *cell,
89 vtkCellArray *cellArray,
90 vtkPointData *internalPd )=0;
100 virtual void Triangulate(vtkGenericAdaptorCell *cell,
103 vtkCellArray *cellArray,
104 vtkPointData *internalPd)=0;
111 virtual void SetErrorMetrics(
vtkCollection *someErrorMetrics);
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();
179 void SetGenericCell(vtkGenericAdaptorCell *cell);
abstract base class for most VTK objects
helper class to perform cell tessellation
a collection of attributes
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