Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
ResampleInterpolators
LinearResampleInterpolator
elxLinearResampleInterpolator.h
Go to the documentation of this file.
1
/*======================================================================
2
3
This file is part of the elastix software.
4
5
Copyright (c) University Medical Center Utrecht. All rights reserved.
6
See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7
details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notices for more information.
12
13
======================================================================*/
14
15
#ifndef __elxLinearResampleInterpolator_h
16
#define __elxLinearResampleInterpolator_h
17
18
#include "itkLinearInterpolateImageFunction.h"
19
#include "
elxIncludes.h
"
20
21
namespace
elastix
22
{
23
using namespace
itk;
24
41
template
<
class
TElastix >
42
class
LinearResampleInterpolator
:
43
public
44
LinearInterpolateImageFunction
<
45
ITK_TYPENAME ResampleInterpolatorBase<TElastix>::InputImageType,
46
ITK_TYPENAME ResampleInterpolatorBase<TElastix>::CoordRepType >,
47
public
ResampleInterpolatorBase
<TElastix>
48
{
49
public
:
50
52
typedef
LinearResampleInterpolator
Self
;
53
typedef
LinearInterpolateImageFunction
<
54
typename
ResampleInterpolatorBase<TElastix>::InputImageType
,
55
typename
ResampleInterpolatorBase<TElastix>::CoordRepType
>
Superclass1
;
56
typedef
ResampleInterpolatorBase<TElastix>
Superclass2
;
57
typedef
SmartPointer<Self>
Pointer
;
58
typedef
SmartPointer<const Self>
ConstPointer
;
59
61
itkNewMacro(
Self
);
62
64
itkTypeMacro(
LinearResampleInterpolator
,
LinearInterpolateImageFunction
);
65
70
elxClassNameMacro
(
"FinalLinearInterpolator"
);
71
73
itkStaticConstMacro( ImageDimension,
unsigned
int
,Superclass1::ImageDimension );
74
76
typedef
typename
Superclass1::OutputType
OutputType
;
77
typedef
typename
Superclass1::InputImageType
InputImageType
;
78
typedef
typename
Superclass1::IndexType
IndexType
;
79
typedef
typename
Superclass1::ContinuousIndexType
ContinuousIndexType
;
80
82
typedef
typename
Superclass2::ElastixType
ElastixType
;
83
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
84
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
85
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
86
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
87
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
88
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
89
90
protected
:
91
93
LinearResampleInterpolator
() {}
95
virtual
~LinearResampleInterpolator
() {}
96
97
private
:
98
100
LinearResampleInterpolator
(
const
Self& );
// purposely not implemented
102
void
operator=(
const
Self& );
// purposely not implemented
103
104
};
// end class LinearResampleInterpolator
105
106
107
}
// end namespace elastix
108
109
#ifndef ITK_MANUAL_INSTANTIATION
110
#include "elxLinearResampleInterpolator.hxx"
111
#endif
112
113
#endif // end __elxLinearResampleInterpolator_h
114
Generated on 27-06-2013 for elastix by
1.8.3.1