Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00032 #ifndef __vtkFunctionSet_h
00033 #define __vtkFunctionSet_h
00034 
00035 #include "vtkObject.h"
00036 
00037 class VTK_COMMON_EXPORT vtkFunctionSet : public vtkObject
00038 {
00039 public:
00040   vtkTypeRevisionMacro(vtkFunctionSet,vtkObject);
00041   virtual void PrintSelf(ostream& os, vtkIndent indent);
00042 
00046   virtual int FunctionValues(float* x, float* f) = 0;
00047 
00049 
00051   virtual int GetNumberOfFunctions() { 
00052     return this->NumFuncs; }
00054 
00056 
00059   virtual int GetNumberOfIndependentVariables() {
00060     return this->NumIndepVars; }
00062 
00063 protected:
00064   vtkFunctionSet();
00065   ~vtkFunctionSet() {};
00066 
00067   int NumFuncs;
00068   int NumIndepVars;
00069 
00070 private:
00071   vtkFunctionSet(const vtkFunctionSet&);  // Not implemented.
00072   void operator=(const vtkFunctionSet&);  // Not implemented.
00073 };
00074 
00075 #endif
00076 
00077 
00078 
00079 
00080