Common/vtkFunctionSet.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00028 #ifndef __vtkFunctionSet_h
00029 #define __vtkFunctionSet_h
00030
00031 #include "vtkObject.h"
00032
00033 class VTK_COMMON_EXPORT vtkFunctionSet : public vtkObject
00034 {
00035 public:
00036 vtkTypeRevisionMacro(vtkFunctionSet,vtkObject);
00037 virtual void PrintSelf(ostream& os, vtkIndent indent);
00038
00042 virtual int FunctionValues(double* x, double* f) = 0;
00043
00045
00047 virtual int GetNumberOfFunctions() {
00048 return this->NumFuncs; }
00050
00052
00055 virtual int GetNumberOfIndependentVariables() {
00056 return this->NumIndepVars; }
00058
00059 protected:
00060 vtkFunctionSet();
00061 ~vtkFunctionSet() {};
00062
00063 int NumFuncs;
00064 int NumIndepVars;
00065
00066 private:
00067 vtkFunctionSet(const vtkFunctionSet&);
00068 void operator=(const vtkFunctionSet&);
00069 };
00070
00071 #endif
00072
00073
00074
00075
00076