19#ifndef vtkAttributesErrorMetric_h
20#define vtkAttributesErrorMetric_h
22#include "vtkCommonDataModelModule.h"
25VTK_ABI_NAMESPACE_BEGIN
55 vtkGetMacro(AbsoluteAttributeTolerance,
double);
79 vtkGetMacro(AttributeTolerance,
double);
109 double* leftPoint,
double* midPoint,
double* rightPoint,
double alpha)
override;
124 double GetError(
double* leftPoint,
double* midPoint,
double* rightPoint,
double alpha)
override;
Objects that compute attribute-based error during cell tessellation.
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
Objects that compute error during cell tessellation.
a simple class to control print indentation
record modification and/or execution time