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 "vtkObject.h"
32 
34 {
35 public:
36  vtkTypeMacro(vtkFunctionSet,vtkObject);
37  virtual void PrintSelf(ostream& os, vtkIndent indent);
38 
42  virtual int FunctionValues(double* x, double* f) = 0;
43 
45 
47  virtual int GetNumberOfFunctions() {
48  return this->NumFuncs; }
50 
52 
56  return this->NumIndepVars; }
58 
59 protected:
62 
63  int NumFuncs;
65 
66 private:
67  vtkFunctionSet(const vtkFunctionSet&); // Not implemented.
68  void operator=(const vtkFunctionSet&); // Not implemented.
69 };
70 
71 #endif
72 
73 
74 
75 
76 
abstract base class for most VTK objects
Definition: vtkObject.h:60
virtual int GetNumberOfFunctions()
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
Abstract interface for sets of functions.
virtual int GetNumberOfIndependentVariables()