dox/Common/vtkFunctionSet.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00032
#ifndef __vtkFunctionSet_h
00033
#define __vtkFunctionSet_h
00034
00035
#include "vtkObject.h"
00036
00037 class VTK_COMMON_EXPORT vtkFunctionSet :
public vtkObject
00038 {
00039
public:
00040 vtkTypeRevisionMacro(vtkFunctionSet,
vtkObject);
00041
virtual void PrintSelf(ostream& os,
vtkIndent indent);
00042
00046
virtual int FunctionValues(
float* x,
float* f) = 0;
00047
00049
00051 virtual int GetNumberOfFunctions() {
00052
return this->NumFuncs; }
00054
00056
00059 virtual int GetNumberOfIndependentVariables() {
00060
return this->NumIndepVars; }
00062
00063
protected:
00064 vtkFunctionSet();
00065 ~vtkFunctionSet() {};
00066
00067 int NumFuncs;
00068 int NumIndepVars;
00069
00070
private:
00071 vtkFunctionSet(
const vtkFunctionSet&);
00072
void operator=(
const vtkFunctionSet&);
00073 };
00074
00075
#endif
00076
00077
00078
00079
00080