26#ifndef vtkGenericSubdivisionErrorMetric_h
27#define vtkGenericSubdivisionErrorMetric_h
29#include "vtkCommonDataModelModule.h"
32VTK_ABI_NAMESPACE_BEGIN
67 double* leftPoint,
double* midPoint,
double* rightPoint,
double alpha) = 0;
83 double* leftPoint,
double* midPoint,
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 ...
vtkGenericDataSet * DataSet
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK type and error macros.
vtkGenericSubdivisionErrorMetric()
vtkGenericAdaptorCell * GenericCell
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