VTK
vtkFunctionSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFunctionSet.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef vtkFunctionSet_h
29 #define vtkFunctionSet_h
30 
31 #include "vtkCommonMathModule.h" // For export macro
32 #include "vtkObject.h"
33 
35 {
36 public:
37  vtkTypeMacro(vtkFunctionSet,vtkObject);
38  virtual void PrintSelf(ostream& os, vtkIndent indent);
39 
43  virtual int FunctionValues(double* x, double* f) = 0;
44 
46 
48  virtual int GetNumberOfFunctions() {
49  return this->NumFuncs; }
51 
53 
57  return this->NumIndepVars; }
59 
60 protected:
63 
64  int NumFuncs;
66 
67 private:
68  vtkFunctionSet(const vtkFunctionSet&); // Not implemented.
69  void operator=(const vtkFunctionSet&); // Not implemented.
70 };
71 
72 #endif
73 
74 
75 
76 
77 
abstract base class for most VTK objects
Definition: vtkObject.h:61
virtual int GetNumberOfFunctions()
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
Abstract interface for sets of functions.
virtual int GetNumberOfIndependentVariables()
#define VTKCOMMONMATH_EXPORT