VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
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 "
vtkObject.h
"
41
42
class
vtkGenericAttributeCollection
;
43
class
vtkGenericAdaptorCell
;
44
class
vtkGenericDataSet
;
45
46
class
VTK_FILTERING_EXPORT
vtkGenericSubdivisionErrorMetric
:
public
vtkObject
47
{
48
public
:
50
51
vtkTypeMacro(
vtkGenericSubdivisionErrorMetric
,
vtkObject
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
56
69
virtual
int
RequiresEdgeSubdivision(
double
*leftPoint,
double
*midPoint,
70
double
*rightPoint,
double
alpha
)=0;
72
74
83
virtual
double
GetError(
double
*leftPoint,
double
*midPoint,
84
double
*rightPoint,
double
alpha
)=0;
86
88
89
void
SetGenericCell(
vtkGenericAdaptorCell
*cell);
90
vtkGetObjectMacro(GenericCell,
vtkGenericAdaptorCell
);
92
94
95
void
SetDataSet(
vtkGenericDataSet
*ds);
96
vtkGetObjectMacro(DataSet,
vtkGenericDataSet
);
98
99
protected
:
100
vtkGenericSubdivisionErrorMetric
();
101
~
vtkGenericSubdivisionErrorMetric
();
102
103
vtkGenericAdaptorCell
*
GenericCell
;
104
vtkGenericDataSet
*
DataSet
;
105
106
private
:
107
vtkGenericSubdivisionErrorMetric
(
const
vtkGenericSubdivisionErrorMetric
&);
// Not implemented.
108
void
operator=(
const
vtkGenericSubdivisionErrorMetric
&);
// Not implemented.
109
};
110
111
#endif
Generated on Wed May 30 2012 13:21:55 for VTK by
1.8.1