go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
elxTranslationStackTransform.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
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 elxTranslationStackTransform_h
19#define elxTranslationStackTransform_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
25
26
53
54namespace elastix
55{
56template <typename TElastix>
57class ITK_TEMPLATE_EXPORT TranslationStackTransform
58 : public itk::AdvancedCombinationTransform<typename elx::TransformBase<TElastix>::CoordinateType,
59 elx::TransformBase<TElastix>::FixedImageDimension>
60 , public elx::TransformBase<TElastix>
61{
62public:
64
70 using Pointer = itk::SmartPointer<Self>;
71 using ConstPointer = itk::SmartPointer<const Self>;
72
74 itkNewMacro(Self);
75
78
83 elxClassNameMacro("TranslationStackTransform");
84
86 itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension);
87 itkStaticConstMacro(ReducedSpaceDimension, unsigned int, Superclass2::FixedImageDimension - 1);
88
94 using TranslationTransformPointer = typename TranslationTransformType::Pointer;
95
99 Self::ReducedSpaceDimension>;
100 using ReducedDimensionTranslationTransformPointer = typename ReducedDimensionTranslationTransformType::Pointer;
101
103 using typename Superclass1::ParametersType;
104 using typename Superclass1::NumberOfParametersType;
105
107 using typename Superclass2::ElastixType;
108 using typename Superclass2::ParameterMapType;
109 using typename Superclass2::RegistrationType;
110 using typename Superclass2::CoordinateType;
111 using typename Superclass2::FixedImageType;
112 using typename Superclass2::MovingImageType;
115
117 using SizeType = typename FixedImageType::SizeType;
118
124 int
125 BeforeAll() override;
126
127 void
129
131 void
132 ReadFromFile() override;
133
134protected:
136 TranslationStackTransform() { this->Superclass1::SetCurrentTransform(m_StackTransform); }
137
139 ~TranslationStackTransform() override = default;
140
141private:
143
144 void
146
150
154
157
160
164
165 unsigned int
167};
168
169
170} // end namespace elastix
171
172#ifndef ITK_MANUAL_INSTANTIATION
173# include "elxTranslationStackTransform.hxx"
174#endif
175
176#endif // end #ifndef elxTranslationStackTransform_h
This class is the elastix base class for all Transforms.
typename TElastix::FixedImageType FixedImageType
ElastixBase::CoordinateType CoordinateType
typename TElastix::ParameterMapType ParameterMapType
typename TElastix::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
itk::AdvancedCombinationTransform< CoordinateType, Self::FixedImageDimension > CombinationTransformType
CombinationTransformType ITKBaseType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordinateType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
~TranslationStackTransform() override=default
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
unsigned int InitializeTranslationTransform()
itk::TranslationStackTransform< SpaceDimension > StackTransformType
typename TranslationTransformType::Pointer TranslationTransformPointer
itk::AdvancedTranslationTransform< typename elx::TransformBase< TElastix >::CoordinateType, Self::SpaceDimension > TranslationTransformType
typename Superclass2::ITKBaseType ITKBaseType
itk::AdvancedTranslationTransform< typename elx::TransformBase< TElastix >::CoordinateType, Self::ReducedSpaceDimension > ReducedDimensionTranslationTransformType
const StackTransformType::Pointer m_StackTransform
typename FixedImageType::SizeType SizeType
ParameterMapType CreateDerivedTransformParameterMap() const override
itk::SmartPointer< const Self > ConstPointer
itkOverrideGetNameOfClassMacro(TranslationStackTransform)
typename TElastix::ParameterMapType ParameterMapType
elxClassNameMacro("TranslationStackTransform")
ITK_DISALLOW_COPY_AND_MOVE(TranslationStackTransform)
typename Superclass2::CombinationTransformType CombinationTransformType
itkStaticConstMacro(ReducedSpaceDimension, unsigned int, Superclass2::FixedImageDimension - 1)
ReducedDimensionTranslationTransformPointer m_DummySubTransform
typename ReducedDimensionTranslationTransformType::Pointer ReducedDimensionTranslationTransformPointer
This class combines two transforms: an 'initial transform' with a 'current transform'.
Translation transformation of a vector space (e.g. space coordinates).
itk::SmartPointer< TranslationStackTransform > Pointer


Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo