22#ifndef vtkSmoothErrorMetric_h 
   23#define vtkSmoothErrorMetric_h 
   25#include "vtkCommonDataModelModule.h"  
   28VTK_ABI_NAMESPACE_BEGIN
 
   81    double* leftPoint, 
double* midPoint, 
double* rightPoint, 
double alpha) 
override;
 
   96  double GetError(
double* leftPoint, 
double* midPoint, 
double* rightPoint, 
double alpha) 
override;
 
defines dataset interface
 
Objects that compute error during cell tessellation.
 
a simple class to control print indentation
 
Objects that compute geometry-based error during cell tessellation according to some max angle.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK type and error macros.
 
~vtkSmoothErrorMetric() override
 
static vtkSmoothErrorMetric * New()
Construct the error metric with a default flatness threshold of 90.1 degrees.
 
double GetAngleTolerance()
Return the flatness threshold.
 
void SetAngleTolerance(double value)
Set the flatness threshold with an angle in degrees.
 
int RequiresEdgeSubdivision(double *leftPoint, double *midPoint, double *rightPoint, double alpha) override
Does the edge need to be subdivided according to the cosine between the two chords passing through th...
 
double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha) override
Return the error at the mid-point.