VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/Math/vtkFunctionSet.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkFunctionSet.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00028 #ifndef vtkFunctionSet_h
00029 #define vtkFunctionSet_h
00030 
00031 #include "vtkCommonMathModule.h" // For export macro
00032 #include "vtkObject.h"
00033 
00034 class VTKCOMMONMATH_EXPORT vtkFunctionSet : public vtkObject
00035 {
00036 public:
00037   vtkTypeMacro(vtkFunctionSet,vtkObject);
00038   virtual void PrintSelf(ostream& os, vtkIndent indent);
00039 
00043   virtual int FunctionValues(double* x, double* f) = 0;
00044 
00046 
00048   virtual int GetNumberOfFunctions() {
00049     return this->NumFuncs; }
00051 
00053 
00056   virtual int GetNumberOfIndependentVariables() {
00057     return this->NumIndepVars; }
00059 
00060 protected:
00061   vtkFunctionSet();
00062   ~vtkFunctionSet() {}
00063 
00064   int NumFuncs;
00065   int NumIndepVars;
00066 
00067 private:
00068   vtkFunctionSet(const vtkFunctionSet&);  // Not implemented.
00069   void operator=(const vtkFunctionSet&);  // Not implemented.
00070 };
00071 
00072 #endif
00073 
00074 
00075 
00076 
00077