ITK
5.2.0
Insight Toolkit
ITK
Modules
Core
Common
include
itkFunctionBase.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright NumFOCUS
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef itkFunctionBase_h
19
#define itkFunctionBase_h
20
21
#include "
itkObject.h
"
22
#include "
itkObjectFactory.h
"
23
24
namespace
itk
25
{
43
template
<
typename
TInput,
typename
TOutput>
44
class
ITK_TEMPLATE_EXPORT
FunctionBase
:
public
Object
45
{
46
public
:
47
ITK_DISALLOW_COPY_AND_MOVE(
FunctionBase
);
48
50
using
Self
=
FunctionBase
;
51
using
Superclass
=
Object
;
52
using
Pointer
=
SmartPointer<Self>
;
53
using
ConstPointer
=
SmartPointer<const Self>
;
54
56
itkTypeMacro(
FunctionBase
,
Object
);
57
59
using
InputType
= TInput;
60
62
using
OutputType
= TOutput;
63
65
virtual
OutputType
66
Evaluate(
const
InputType
& input)
const
= 0;
67
68
protected
:
69
FunctionBase
() =
default
;
70
~
FunctionBase
()
override
=
default
;
71
};
72
}
// end namespace itk
73
74
#endif
itkObjectFactory.h
itk::SmartPointer< Self >
itk::FunctionBase< Point< float, TInputImage::ImageDimension >, TOutput >::OutputType
TOutput OutputType
Definition:
itkFunctionBase.h:62
itk::LightObject
Light weight base class for most itk classes.
Definition:
itkLightObject.h:59
itk::FunctionBase
Base class for all ITK function objects.
Definition:
itkFunctionBase.h:44
itkObject.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnnulusOperator.h:24
itk::Object
Base class for most ITK classes.
Definition:
itkObject.h:62
itk::Point
A templated class holding a geometric point in n-Dimensional space.
Definition:
itkPoint.h:53
Generated on Thu Apr 1 2021 01:44:22 for ITK by
1.8.16