VTK
vtkGenericSubdivisionErrorMetric.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenericSubdivisionErrorMetric.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 =========================================================================*/
37 #ifndef vtkGenericSubdivisionErrorMetric_h
38 #define vtkGenericSubdivisionErrorMetric_h
39 
40 #include "vtkCommonDataModelModule.h" // For export macro
41 #include "vtkObject.h"
42 
45 class vtkGenericDataSet;
46 
48 {
49 public:
51 
53  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
70  virtual int RequiresEdgeSubdivision(double *leftPoint, double *midPoint,
71  double *rightPoint, double alpha)=0;
73 
75 
84  virtual double GetError(double *leftPoint, double *midPoint,
85  double *rightPoint, double alpha)=0;
87 
89 
93 
95 
99 
100 protected:
103 
106 
107 private:
109  void operator=(const vtkGenericSubdivisionErrorMetric&); // Not implemented.
110 };
111 
112 #endif
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkGenericSubdivisionErrorMetric::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGenericSubdivisionErrorMetric::SetGenericCell
void SetGenericCell(vtkGenericAdaptorCell *cell)
vtkGenericSubdivisionErrorMetric::DataSet
vtkGenericDataSet * DataSet
Definition: vtkGenericSubdivisionErrorMetric.h:105
vtkCommonDataModelModule.h
vtkGenericSubdivisionErrorMetric::~vtkGenericSubdivisionErrorMetric
~vtkGenericSubdivisionErrorMetric()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkGenericAdaptorCell
defines cell interface
Definition: vtkGenericAdaptorCell.h:95
vtkGenericSubdivisionErrorMetric
Objects that compute error during cell tessellation.
Definition: vtkGenericSubdivisionErrorMetric.h:48
vtkGenericSubdivisionErrorMetric::GenericCell
vtkGenericAdaptorCell * GenericCell
Definition: vtkGenericSubdivisionErrorMetric.h:104
vtkGenericSubdivisionErrorMetric::vtkGenericSubdivisionErrorMetric
vtkGenericSubdivisionErrorMetric()
vtkGenericDataSet
defines dataset interface
Definition: vtkGenericDataSet.h:69
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGenericSubdivisionErrorMetric::RequiresEdgeSubdivision
virtual int RequiresEdgeSubdivision(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0
vtkGenericSubdivisionErrorMetric::SetDataSet
void SetDataSet(vtkGenericDataSet *ds)
vtkObject.h
vtkgl::alpha
GLclampf GLclampf GLclampf alpha
Definition: vtkgl.h:11313
vtkGenericSubdivisionErrorMetric::GetError
virtual double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0
vtkGenericAttributeCollection
a collection of attributes
Definition: vtkGenericAttributeCollection.h:36
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15