31#ifndef vtkAttributesErrorMetric_h
32#define vtkAttributesErrorMetric_h
34#include "vtkCommonDataModelModule.h"
120 double* leftPoint,
double* midPoint,
double* rightPoint,
double alpha)
override;
135 double GetError(
double* leftPoint,
double* midPoint,
double* rightPoint,
double alpha)
override;
vtkAttributesErrorMetric()
void SetAttributeTolerance(double value)
Set the relative attribute accuracy to ‘value’.
~vtkAttributesErrorMetric() override
double SquareAbsoluteAttributeTolerance
double AbsoluteAttributeTolerance
double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha) override
Return the error at the mid-point.
int RequiresEdgeSubdivision(double *leftPoint, double *midPoint, double *rightPoint, double alpha) override
Does the edge need to be subdivided according to the distance between the value of the active attribu...
vtkGenericAttributeCollection * AttributeCollection
static vtkAttributesErrorMetric * New()
Construct the error metric with a default relative attribute accuracy equal to 0.1.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK type and error macros.
void ComputeSquareAbsoluteAttributeTolerance()
Compute the square absolute attribute tolerance, only if the cached value is obsolete.
vtkTimeStamp SquareAbsoluteAttributeToleranceComputeTime
double AttributeTolerance
void SetAbsoluteAttributeTolerance(double value)
Set the absolute attribute accuracy to ‘value’.
a collection of attributes
defines dataset interface
vtkGenericSubdivisionErrorMetric()
a simple class to control print indentation
record modification and/or execution time