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

Common/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 =========================================================================*/
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&);  // Not implemented.
00068   void operator=(const vtkFunctionSet&);  // Not implemented.
00069 };
00070 
00071 #endif
00072 
00073 
00074 
00075 
00076