VTK
vtkSmoothErrorMetric.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSmoothErrorMetric.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
33 #ifndef vtkSmoothErrorMetric_h
34 #define vtkSmoothErrorMetric_h
35 
36 #include "vtkCommonDataModelModule.h" // For export macro
38 
39 class vtkGenericDataSet;
40 
42 {
43 public:
47 
49 
51  void PrintSelf(ostream& os, vtkIndent indent);
53 
57 
62  void SetAngleTolerance(double value);
63 
65 
78  int RequiresEdgeSubdivision(double *leftPoint, double *midPoint,
79  double *rightPoint, double alpha);
81 
83 
92  double GetError(double *leftPoint, double *midPoint, double *rightPoint,
93  double alpha);
95 
96 protected:
99 
101  double CosTolerance;
102 
103 private:
104  vtkSmoothErrorMetric(const vtkSmoothErrorMetric&); // Not implemented.
105  void operator=(const vtkSmoothErrorMetric&); // Not implemented.
106 };
107 
108 #endif
vtkSmoothErrorMetric
Objects that compute geometry-based error during cell tessellation according to some max angle.
Definition: vtkSmoothErrorMetric.h:42
vtkSmoothErrorMetric::CosTolerance
double CosTolerance
Definition: vtkSmoothErrorMetric.h:101
vtkCommonDataModelModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkGenericSubdivisionErrorMetric
Objects that compute error during cell tessellation.
Definition: vtkGenericSubdivisionErrorMetric.h:48
vtkSmoothErrorMetric::New
static vtkSmoothErrorMetric * New()
vtkGenericDataSet
defines dataset interface
Definition: vtkGenericDataSet.h:69
vtkSmoothErrorMetric::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkSmoothErrorMetric::GetAngleTolerance
double GetAngleTolerance()
vtkSmoothErrorMetric::AngleTolerance
double AngleTolerance
Definition: vtkSmoothErrorMetric.h:100
vtkSmoothErrorMetric::~vtkSmoothErrorMetric
virtual ~vtkSmoothErrorMetric()
vtkgl::value
GLsizei const GLfloat * value
Definition: vtkgl.h:12021
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSmoothErrorMetric::RequiresEdgeSubdivision
int RequiresEdgeSubdivision(double *leftPoint, double *midPoint, double *rightPoint, double alpha)
vtkSmoothErrorMetric::vtkSmoothErrorMetric
vtkSmoothErrorMetric()
vtkgl::alpha
GLclampf GLclampf GLclampf alpha
Definition: vtkgl.h:11313
vtkSmoothErrorMetric::GetError
double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha)
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkGenericSubdivisionErrorMetric.h
vtkSmoothErrorMetric::SetAngleTolerance
void SetAngleTolerance(double value)