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) VTK_OVERRIDE;
135 double GetError(
double *leftPoint,
double *midPoint,
136 double *rightPoint,
double alpha) VTK_OVERRIDE;
146 void ComputeSquareAbsoluteAttributeTolerance();
148 double AttributeTolerance;
150 double SquareAbsoluteAttributeTolerance;
153 double AbsoluteAttributeTolerance;
154 int DefinedByAbsolute;
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.
Objects that compute attribute-based error during cell tessellation.
a collection of attributes
static vtkAttributesErrorMetric * New()
Construct the error metric with a default relative attribute accuracy equal to 0.1.