Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
Transforms
TranslationTransform
elxTranslationTransform.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 __elxTranslationTransform_H_
16
#define __elxTranslationTransform_H_
17
18
#include "
itkAdvancedTranslationTransform.h
"
19
#include "
itkTranslationTransformInitializer.h
"
20
#include "
elxIncludes.h
"
21
22
namespace
elastix
23
{
24
using namespace
itk;
25
47
template
<
class
TElastix >
48
class
TranslationTransformElastix
:
49
public
AdvancedCombinationTransform
<
50
ITK_TYPENAME elx::TransformBase<TElastix>::CoordRepType,
51
elx::TransformBase<TElastix>::FixedImageDimension > ,
52
public
elx::TransformBase
<TElastix>
53
{
54
public
:
55
57
typedef
TranslationTransformElastix
Self
;
58
59
typedef
AdvancedCombinationTransform
<
60
typename
elx::TransformBase<TElastix>::CoordRepType
,
61
elx::TransformBase<TElastix>::FixedImageDimension
>
Superclass1
;
62
63
typedef
elx::TransformBase<TElastix>
Superclass2
;
64
67
typedef
AdvancedTranslationTransform
<
68
typename
elx::TransformBase<TElastix>::CoordRepType
,
69
elx::TransformBase<TElastix>::FixedImageDimension
>
TranslationTransformType
;
70
71
typedef
SmartPointer<Self>
Pointer
;
72
typedef
SmartPointer<const Self>
ConstPointer
;
73
75
itkNewMacro(
Self
);
76
78
itkTypeMacro(
TranslationTransformElastix
,
AdvancedCombinationTransform
);
79
84
elxClassNameMacro
(
"TranslationTransform"
);
85
87
itkStaticConstMacro( SpaceDimension,
unsigned
int
, Superclass2::FixedImageDimension );
88
90
typedef
typename
Superclass1::ScalarType
ScalarType
;
91
typedef
typename
Superclass1::ParametersType
ParametersType
;
92
typedef
typename
Superclass1::JacobianType
JacobianType
;
93
typedef
typename
Superclass1::InputVectorType
InputVectorType
;
94
typedef
typename
Superclass1::OutputVectorType
OutputVectorType
;
95
typedef
typename
Superclass1::InputCovariantVectorType
InputCovariantVectorType
;
96
typedef
typename
Superclass1::OutputCovariantVectorType
OutputCovariantVectorType
;
97
typedef
typename
Superclass1::InputVnlVectorType
InputVnlVectorType
;
98
typedef
typename
Superclass1::OutputVnlVectorType
OutputVnlVectorType
;
99
typedef
typename
Superclass1::InputPointType
InputPointType
;
100
typedef
typename
Superclass1::OutputPointType
OutputPointType
;
101
103
typedef
typename
Superclass2::ElastixType
ElastixType
;
104
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
105
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
106
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
107
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
108
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
109
typedef
typename
Superclass2::CoordRepType
CoordRepType
;
110
typedef
typename
Superclass2::FixedImageType
FixedImageType
;
111
typedef
typename
Superclass2::MovingImageType
MovingImageType
;
112
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
113
typedef
typename
Superclass2::CombinationTransformType
CombinationTransformType
;
114
116
typedef
TranslationTransformInitializer
<
117
TranslationTransformType
,
118
FixedImageType
,
119
MovingImageType
>
TransformInitializerType
;
120
typedef
typename
TransformInitializerType::Pointer
TransformInitializerPointer
;
121
typedef
typename
TranslationTransformType::Pointer
TranslationTransformPointer
;
122
126
virtual
void
BeforeRegistration(
void
);
127
134
virtual
void
InitializeTransform(
void
);
135
136
protected
:
137
139
TranslationTransformElastix
();
141
virtual
~TranslationTransformElastix
() {};
142
143
TranslationTransformPointer m_TranslationTransform;
144
145
private
:
146
148
TranslationTransformElastix
(
const
Self& );
// purposely not implemented
150
void
operator=(
const
Self& );
// purposely not implemented
151
152
};
// end class TranslationTransformElastix
153
154
155
}
// end namespace elastix
156
157
#ifndef ITK_MANUAL_INSTANTIATION
158
#include "elxTranslationTransform.hxx"
159
#endif
160
161
#endif // end #ifndef __elxTranslationTransform_H_
Generated on 21-03-2014 for elastix by
1.8.1.2