VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkFunctionSet.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFunctionSet.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
=========================================================================*/
28
#ifndef __vtkFunctionSet_h
29
#define __vtkFunctionSet_h
30
31
#include "
vtkObject.h
"
32
33
class
VTK_COMMON_EXPORT
vtkFunctionSet
:
public
vtkObject
34
{
35
public
:
36
vtkTypeMacro(
vtkFunctionSet
,
vtkObject
);
37
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
42
virtual
int
FunctionValues(
double
* x,
double
* f) = 0;
43
45
47
virtual
int
GetNumberOfFunctions
() {
48
return
this->NumFuncs; }
50
52
55
virtual
int
GetNumberOfIndependentVariables
() {
56
return
this->NumIndepVars; }
58
59
protected
:
60
vtkFunctionSet
();
61
~vtkFunctionSet
() {};
62
63
int
NumFuncs;
64
int
NumIndepVars
;
65
66
private
:
67
vtkFunctionSet
(
const
vtkFunctionSet
&);
// Not implemented.
68
void
operator=(
const
vtkFunctionSet
&);
// Not implemented.
69
};
70
71
#endif
72
73
74
75
76
Generated on Wed Nov 21 2012 21:33:39 for VTK by
1.8.2