go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxTranslationTransform.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 elxTranslationTransform_h
19#define elxTranslationTransform_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
24
25namespace elastix
26{
27
49template <class TElastix>
50class ITK_TEMPLATE_EXPORT TranslationTransformElastix
51 : public itk::AdvancedCombinationTransform<typename elx::TransformBase<TElastix>::CoordRepType,
52 elx::TransformBase<TElastix>::FixedImageDimension>
53 , public elx::TransformBase<TElastix>
54{
55public:
57
60
63
65
71
72 using Pointer = itk::SmartPointer<Self>;
73 using ConstPointer = itk::SmartPointer<const Self>;
74
76 itkNewMacro(Self);
77
80
85 elxClassNameMacro("TranslationTransform");
86
88 itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension);
89
91 using typename Superclass1::ScalarType;
92 using typename Superclass1::ParametersType;
93 using typename Superclass1::JacobianType;
94 using typename Superclass1::InputVectorType;
95 using typename Superclass1::OutputVectorType;
96 using typename Superclass1::InputCovariantVectorType;
97 using typename Superclass1::OutputCovariantVectorType;
98 using typename Superclass1::InputVnlVectorType;
99 using typename Superclass1::OutputVnlVectorType;
100 using typename Superclass1::InputPointType;
101 using typename Superclass1::OutputPointType;
102 using typename Superclass1::NumberOfParametersType;
103
105 using typename Superclass2::ElastixType;
106 using typename Superclass2::ParameterMapType;
107 using typename Superclass2::RegistrationType;
108 using typename Superclass2::CoordRepType;
109 using typename Superclass2::FixedImageType;
110 using typename Superclass2::MovingImageType;
113
119
123 void
125
126protected:
130 ~TranslationTransformElastix() override = default;
131
132 const TranslationTransformPointer m_TranslationTransform{ TranslationTransformType::New() };
133
134private:
136
143 void
145
149};
150
151} // end namespace elastix
152
153#ifndef ITK_MANUAL_INSTANTIATION
154# include "elxTranslationTransform.hxx"
155#endif
156
157#endif // end #ifndef elxTranslationTransform_h
This class is the elastix base class for all Transforms.
typename TElastix::FixedImageType FixedImageType
typename TElastix::ParameterMapType ParameterMapType
typename TElastix::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
A transform based on the itk::TranslationTransform.
ParameterMapType CreateDerivedTransformParametersMap() const override
ITK_DISALLOW_COPY_AND_MOVE(TranslationTransformElastix)
elxClassNameMacro("TranslationTransform")
typename TranslationTransformType::Pointer TranslationTransformPointer
typename Superclass2::ITKBaseType ITKBaseType
typename TElastix::ParameterMapType ParameterMapType
typename Superclass2::CombinationTransformType CombinationTransformType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
~TranslationTransformElastix() override=default
typename TransformInitializerType::Pointer TransformInitializerPointer
itk::SmartPointer< const Self > ConstPointer
This class combines two transforms: an 'initial transform' with a 'current transform'.
Translation transformation of a vector space (e.g. space coordinates)
TranslationTransformInitializer is a helper class intended to initialize the translation of a Transla...


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo