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
00043 #ifndef __vtkFunctionSet_h
00044 #define __vtkFunctionSet_h
00045
00046 #include "vtkObject.h"
00047
00048 class VTK_COMMON_EXPORT vtkFunctionSet : public vtkObject
00049 {
00050 public:
00051 vtkTypeRevisionMacro(vtkFunctionSet,vtkObject);
00052 virtual void PrintSelf(ostream& os, vtkIndent indent);
00053
00057 virtual int FunctionValues(float* x, float* f) = 0;
00058
00060
00062 virtual int GetNumberOfFunctions() {
00063 return this->NumFuncs; }
00065
00067
00070 virtual int GetNumberOfIndependentVariables() {
00071 return this->NumIndepVars; }
00073
00074 protected:
00075 vtkFunctionSet();
00076 ~vtkFunctionSet() {};
00077
00078 int NumFuncs;
00079 int NumIndepVars;
00080
00081 private:
00082 vtkFunctionSet(const vtkFunctionSet&);
00083 void operator=(const vtkFunctionSet&);
00084 };
00085
00086 #endif
00087
00088
00089
00090
00091