vtkFunctionSet.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00039 #ifndef __vtkFunctionSet_h
00040 #define __vtkFunctionSet_h
00041
00042 #include "vtkObject.h"
00043
00044 class VTK_COMMON_EXPORT vtkFunctionSet : public vtkObject
00045 {
00046 public:
00047 vtkTypeRevisionMacro(vtkFunctionSet,vtkObject);
00048 virtual void PrintSelf(ostream& os, vtkIndent indent);
00049
00053 virtual int FunctionValues(double* x, double* f) = 0;
00054
00056
00058 virtual int GetNumberOfFunctions() {
00059 return this->NumFuncs; }
00061
00063
00066 virtual int GetNumberOfIndependentVariables() {
00067 return this->NumIndepVars; }
00069
00070 protected:
00071 vtkFunctionSet();
00072 ~vtkFunctionSet() {};
00073
00074 int NumFuncs;
00075 int NumIndepVars;
00076
00077 private:
00078 vtkFunctionSet(const vtkFunctionSet&);
00079 void operator=(const vtkFunctionSet&);
00080 };
00081
00082 #endif
00083
00084
00085
00086
00087