Go to the documentation of this file.
31 #ifndef vtkAttributesErrorMetric_h
32 #define vtkAttributesErrorMetric_h
34 #include "vtkCommonDataModelModule.h"
66 vtkGetMacro(AbsoluteAttributeTolerance,
double);
90 vtkGetMacro(AttributeTolerance,
double);
120 double alpha)
override;
135 double GetError(
double *leftPoint,
double *midPoint,
136 double *rightPoint,
double alpha)
override;
double AttributeTolerance
double AbsoluteAttributeTolerance
vtkAttributesErrorMetric()
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...
record modification and/or execution time
void SetAttributeTolerance(double value)
Set the relative attribute accuracy to ‘value’.
Objects that compute error during cell tessellation.
~vtkAttributesErrorMetric() override
defines dataset interface
double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha) override
Return the error at the mid-point.
void SetAbsoluteAttributeTolerance(double value)
Set the absolute attribute accuracy to ‘value’.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ComputeSquareAbsoluteAttributeTolerance()
Compute the square absolute attribute tolerance, only if the cached value is obsolete.
Objects that compute attribute-based error during cell tessellation.
double SquareAbsoluteAttributeTolerance
a collection of attributes
static vtkAttributesErrorMetric * New()
Construct the error metric with a default relative attribute accuracy equal to 0.1.
vtkGenericAttributeCollection * AttributeCollection
vtkTimeStamp SquareAbsoluteAttributeToleranceComputeTime