38 #ifndef vtkGenericSubdivisionErrorMetric_h
39 #define vtkGenericSubdivisionErrorMetric_h
41 #include "vtkCommonDataModelModule.h"
78 double *rightPoint,
double alpha)=0;
93 virtual double GetError(
double *leftPoint,
double *midPoint,
94 double *rightPoint,
double alpha)=0;
a collection of attributes
defines dataset interface
Objects that compute error during cell tessellation.
virtual double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0
Return the error at the mid-point.
void SetGenericCell(vtkGenericAdaptorCell *cell)
The cell that the edge belongs to.
virtual int RequiresEdgeSubdivision(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0
Does the edge need to be subdivided according to the implemented computation? The edge is defined by ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGenericSubdivisionErrorMetric()
void SetDataSet(vtkGenericDataSet *ds)
Set/Get the dataset to be tessellated.
~vtkGenericSubdivisionErrorMetric() override
a simple class to control print indentation
abstract base class for most VTK objects