Go to the documentation of this file.
32 #ifndef vtkViewDependentErrorMetric_h
33 #define vtkViewDependentErrorMetric_h
35 #include "vtkRenderingCoreModule.h"
68 vtkGetMacro(PixelTolerance,
double);
110 double alpha)
override;
125 double GetError(
double *leftPoint,
double *midPoint,
126 double *rightPoint,
double alpha)
override;
void SetViewport(vtkViewport *viewport)
vtkCoordinate * Coordinate
Objects that compute error during cell tessellation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetPixelTolerance(double value)
Set the squared screen-based geometric accuracy measured in pixels.
a simple class to control print indentation
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
vtkViewDependentErrorMetric()
abstract specification for Viewports
~vtkViewDependentErrorMetric() override
double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha) override
Return the error at the mid-point.
Objects that compute a screen-based error during cell tessellation.
static vtkViewDependentErrorMetric * New()
Construct the error metric with a default squared screen-based geometric accuracy measured in pixels ...
double Distance2LinePoint(double x[2], double y[2], double z[2])
Square distance between a straight line (defined by points x and y) and a point z.
int RequiresEdgeSubdivision(double *leftPoint, double *midPoint, double *rightPoint, double alpha) override
Does the edge need to be subdivided according to the distance between the line passing through its en...