Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkFunctionSet.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkFunctionSet.h,v $
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 =========================================================================*/
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&);  // Not implemented.
00079   void operator=(const vtkFunctionSet&);  // Not implemented.
00080 };
00081 
00082 #endif
00083 
00084 
00085 
00086 
00087