Go to the documentation of this file.
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;
void SetGenericCell(vtkGenericAdaptorCell *cell)
The cell that the edge belongs to.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
Objects that compute error during cell tessellation.
vtkGenericSubdivisionErrorMetric()
defines dataset interface
~vtkGenericSubdivisionErrorMetric() override
a simple class to control print indentation
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 SetDataSet(vtkGenericDataSet *ds)
Set/Get the dataset to be tessellated.
virtual double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0
Return the error at the mid-point.
a collection of attributes