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:
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 
vtkFunctionSet
Abstract interface for sets of functions.
Definition: vtkFunctionSet.h:35
vtkFunctionSet::FunctionValues
virtual int FunctionValues(double *x, double *f)=0
vtkFunctionSet::vtkFunctionSet
vtkFunctionSet()
vtkFunctionSet::GetNumberOfFunctions
virtual int GetNumberOfFunctions()
Definition: vtkFunctionSet.h:48
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkFunctionSet::NumIndepVars
int NumIndepVars
Definition: vtkFunctionSet.h:65
vtkFunctionSet::NumFuncs
int NumFuncs
Definition: vtkFunctionSet.h:64
vtkFunctionSet::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkFunctionSet::~vtkFunctionSet
~vtkFunctionSet()
Definition: vtkFunctionSet.h:62
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCommonMathModule.h
VTKCOMMONMATH_EXPORT
#define VTKCOMMONMATH_EXPORT
Definition: vtkCommonMathModule.h:15
vtkgl::f
GLclampf f
Definition: vtkgl.h:14181
vtkObject.h
vtkFunctionSet::GetNumberOfIndependentVariables
virtual int GetNumberOfIndependentVariables()
Definition: vtkFunctionSet.h:56