ITK
5.4.0
Insight Toolkit
ITK
Modules
Core
ImageFunction
include
itkVectorLinearInterpolateImageFunction.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
* https://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 itkVectorLinearInterpolateImageFunction_h
19
#define itkVectorLinearInterpolateImageFunction_h
20
21
#include "
itkVectorInterpolateImageFunction.h
"
22
23
namespace
itk
24
{
42
template
<
typename
TInputImage,
typename
TCoordRep =
double
>
43
class
ITK_TEMPLATE_EXPORT
VectorLinearInterpolateImageFunction
44
:
public
VectorInterpolateImageFunction
<TInputImage, TCoordRep>
45
{
46
public
:
47
ITK_DISALLOW_COPY_AND_MOVE(
VectorLinearInterpolateImageFunction
);
48
50
using
Self
=
VectorLinearInterpolateImageFunction
;
51
using
Superclass
=
VectorInterpolateImageFunction<TInputImage, TCoordRep>
;
52
using
Pointer
=
SmartPointer<Self>
;
53
using
ConstPointer
=
SmartPointer<const Self>
;
54
56
itkNewMacro(
Self
);
57
59
itkTypeMacro(
VectorLinearInterpolateImageFunction
,
VectorInterpolateImageFunction
);
60
62
using
typename
Superclass::InputImageType;
63
using
typename
Superclass::PixelType;
64
using
typename
Superclass::ValueType;
65
using
typename
Superclass::RealType;
66
68
static
constexpr
unsigned
int
Dimension
=
Superclass::Dimension
;
69
71
static
constexpr
unsigned
int
ImageDimension = Superclass::ImageDimension;
72
74
using
typename
Superclass::IndexType
;
75
77
using
typename
Superclass::ContinuousIndexType;
78
using
InternalComputationType
=
typename
ContinuousIndexType::ValueType
;
79
81
using
typename
Superclass::OutputType;
82
91
OutputType
92
EvaluateAtContinuousIndex(
const
ContinuousIndexType
& index)
const override
;
93
94
protected
:
95
VectorLinearInterpolateImageFunction
() =
default
;
96
~
VectorLinearInterpolateImageFunction
()
override
=
default
;
97
98
private
:
100
static
const
unsigned
long
m_Neighbors
;
101
};
102
}
// end namespace itk
103
104
#ifndef ITK_MANUAL_INSTANTIATION
105
# include "itkVectorLinearInterpolateImageFunction.hxx"
106
#endif
107
108
#endif
itk::SmartPointer< Self >
itk::VectorInterpolateImageFunction
Base class for all vector image interpolators.
Definition:
itkVectorInterpolateImageFunction.h:47
itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, NumericTraits< TInputImage::PixelType >::RealType >::OutputType
NumericTraits< TInputImage::PixelType >::RealType OutputType
Definition:
itkFunctionBase.h:62
itk::VectorLinearInterpolateImageFunction::InternalComputationType
typename ContinuousIndexType::ValueType InternalComputationType
Definition:
itkVectorLinearInterpolateImageFunction.h:78
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition:
itkGTestTypedefsAndConstructors.h:50
itk::LightObject
Light weight base class for most itk classes.
Definition:
itkLightObject.h:55
itkVectorInterpolateImageFunction.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnnulusOperator.h:24
itk::ContinuousIndex< TCoordRep, Self::ImageDimension >
itk::ContinuousIndex< TCoordRep, Self::ImageDimension >::ValueType
TCoordRep ValueType
Definition:
itkContinuousIndex.h:58
itk::VectorLinearInterpolateImageFunction::m_Neighbors
static const unsigned long m_Neighbors
Definition:
itkVectorLinearInterpolateImageFunction.h:100
itk::GTest::TypedefsAndConstructors::Dimension2::Dimension
constexpr unsigned int Dimension
Definition:
itkGTestTypedefsAndConstructors.h:44
itk::VectorLinearInterpolateImageFunction
Linearly interpolate a vector image at specified positions.
Definition:
itkVectorLinearInterpolateImageFunction.h:43
Generated on
unknown
for ITK by
1.8.16