38#ifndef vtkGenericSubdivisionErrorMetric_h
39#define vtkGenericSubdivisionErrorMetric_h
41#include "vtkCommonDataModelModule.h"
78 double* leftPoint,
double* midPoint,
double* rightPoint,
double alpha) = 0;
94 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
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray