 |
VTK
9.0.1
|
Go to the documentation of this file.
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;
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
void SetGenericCell(vtkGenericAdaptorCell *cell)
The cell that the edge belongs to.
vtkGenericDataSet * DataSet
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.
vtkGenericAdaptorCell * GenericCell
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