VTK
dox
Common
Math
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
=========================================================================*/
29
#ifndef vtkFunctionSet_h
30
#define vtkFunctionSet_h
31
32
#include "vtkCommonMathModule.h"
// For export macro
33
#include "
vtkObject.h
"
34
35
class
VTKCOMMONMATH_EXPORT
vtkFunctionSet
:
public
vtkObject
36
{
37
public
:
38
vtkTypeMacro(
vtkFunctionSet
,
vtkObject
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
47
virtual
int
FunctionValues(
double
* x,
double
* f) = 0;
48
54
virtual
int
GetNumberOfFunctions
() {
55
return
this->NumFuncs; }
56
62
virtual
int
GetNumberOfIndependentVariables
() {
63
return
this->NumIndepVars; }
64
65
protected
:
66
vtkFunctionSet
();
67
~vtkFunctionSet
()
override
{}
68
69
int
NumFuncs
;
70
int
NumIndepVars
;
71
72
private
:
73
vtkFunctionSet
(
const
vtkFunctionSet
&) =
delete
;
74
void
operator=(
const
vtkFunctionSet
&) =
delete
;
75
};
76
77
#endif
78
79
80
81
82
vtkFunctionSet
Abstract interface for sets of functions.
Definition:
vtkFunctionSet.h:35
vtkFunctionSet::GetNumberOfFunctions
virtual int GetNumberOfFunctions()
Return the number of functions.
Definition:
vtkFunctionSet.h:54
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkFunctionSet::~vtkFunctionSet
~vtkFunctionSet() override
Definition:
vtkFunctionSet.h:67
vtkFunctionSet::NumIndepVars
int NumIndepVars
Definition:
vtkFunctionSet.h:70
vtkFunctionSet::NumFuncs
int NumFuncs
Definition:
vtkFunctionSet.h:69
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkFunctionSet::GetNumberOfIndependentVariables
virtual int GetNumberOfIndependentVariables()
Return the number of independent variables.
Definition:
vtkFunctionSet.h:62
Generated by
1.8.16