go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
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
24 #include "itkStackTransform.h"
25 
26 
54 namespace elastix
55 {
56 template< class TElastix >
59  typename elx::TransformBase< TElastix >::CoordRepType,
60  elx::TransformBase< TElastix >::FixedImageDimension >,
61  public elx::TransformBase< TElastix >
62 {
63 public:
64 
71  typedef itk::SmartPointer< Self > Pointer;
72  typedef itk::SmartPointer< const Self > ConstPointer;
73 
75  itkNewMacro( Self );
76 
79 
84  elxClassNameMacro( "TranslationStackTransform" );
85 
87  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
88  itkStaticConstMacro( ReducedSpaceDimension, unsigned int, Superclass2::FixedImageDimension - 1 );
89 
95  itkGetStaticConstMacro( SpaceDimension ) > TranslationTransformType;
97 
101  itkGetStaticConstMacro( ReducedSpaceDimension ) > ReducedDimensionTranslationTransformType;
103 
105  typedef itk::StackTransform<
107  itkGetStaticConstMacro( SpaceDimension ),
108  itkGetStaticConstMacro( SpaceDimension ) > TranslationStackTransformType;
110 
114 
127 
129  typedef typename FixedImageType::SizeType SizeType;
130 
136  virtual int BeforeAll( void );
137 
138  virtual void BeforeRegistration( void );
139 
140  virtual void InitializeTransform( void );
141 
143  virtual void ReadFromFile( void );
144 
146  virtual void WriteToFile( const ParametersType & param ) const;
147 
148 protected:
149 
152 
155 
156 private:
157 
159  TranslationStackTransform( const Self & ); // purposely not implemented
160  void operator=( const Self & ); // purposely not implemented
161 
164 
167 
171 
173 
174 };
175 
176 
177 } // end namespace elastix
178 
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #include "elxTranslationStackTransform.hxx"
181 #endif
182 
183 #endif // end #ifndef __elxTranslationStackTransform_h
elastix::TranslationStackTransform::elxClassNameMacro
elxClassNameMacro("TranslationStackTransform")
itkStackTransform.h
itk::AdvancedTranslationTransform
Translation transformation of a vector space (e.g. space coordinates)
Definition: Common/Transforms/itkAdvancedTranslationTransform.h:58
elastix::TranslationStackTransform::~TranslationStackTransform
virtual ~TranslationStackTransform()
Definition: elxTranslationStackTransform.h:154
elastix::TranslationStackTransform::TranslationStackTransformPointer
TranslationStackTransformType::Pointer TranslationStackTransformPointer
Definition: elxTranslationStackTransform.h:109
elastix::TranslationStackTransform::m_TranslationStackTransform
TranslationStackTransformPointer m_TranslationStackTransform
Definition: elxTranslationStackTransform.h:163
elastix::TranslationStackTransform::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxTranslationStackTransform.h:125
elastix::TranslationStackTransform::NumberOfParametersType
Superclass1::NumberOfParametersType NumberOfParametersType
Definition: elxTranslationStackTransform.h:113
elastix::TranslationStackTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
elastix::TransformBase::FixedImageType
ElastixType::FixedImageType FixedImageType
Definition: elxTransformBase.h:157
elastix::TranslationStackTransform::operator=
void operator=(const Self &)
SmartPointer< Self >
elastix::TransformBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition: elxTransformBase.h:156
elastix::TransformBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxTransformBase.h:153
elastix::TranslationStackTransform::Superclass2
elx::TransformBase< TElastix > Superclass2
Definition: elxTranslationStackTransform.h:70
itkAdvancedCombinationTransform.h
elastix::TranslationStackTransform::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxTranslationStackTransform.h:71
elastix::TranslationStackTransform::CombinationTransformType
Superclass2::CombinationTransformType CombinationTransformType
Definition: elxTranslationStackTransform.h:126
elastix::TranslationStackTransform::m_TranslationDummySubTransform
ReducedDimensionTranslationTransformPointer m_TranslationDummySubTransform
Definition: elxTranslationStackTransform.h:166
elastix::TranslationStackTransform::TranslationStackTransform
TranslationStackTransform()
elastix::TranslationStackTransform::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxTranslationStackTransform.h:117
elastix::TranslationStackTransform::CoordRepType
Superclass2::CoordRepType CoordRepType
Definition: elxTranslationStackTransform.h:122
itkAdvancedTranslationTransform.h
elastix::TranslationStackTransform::InitializeTranslationTransform
unsigned int InitializeTranslationTransform()
elastix::TranslationStackTransform::TranslationStackTransformType
itk::StackTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SpaceDimension) > TranslationStackTransformType
Definition: elxTranslationStackTransform.h:108
elastix::TranslationStackTransform
Definition: elxTranslationStackTransform.h:62
elastix::TranslationStackTransform::MovingImageType
Superclass2::MovingImageType MovingImageType
Definition: elxTranslationStackTransform.h:124
itk::AdvancedCombinationTransform::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedCombinationTransform.h:79
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition: itkAdvancedCombinationTransform.h:58
elastix::TransformBase::MovingImageType
ElastixType::MovingImageType MovingImageType
Definition: elxTransformBase.h:158
elastix::TranslationStackTransform::ReducedDimensionTranslationTransformType
itk::AdvancedTranslationTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(ReducedSpaceDimension) > ReducedDimensionTranslationTransformType
Definition: elxTranslationStackTransform.h:101
elastix::TranslationStackTransform::ReadFromFile
virtual void ReadFromFile(void)
elastix::TranslationStackTransform::FixedImageType
Superclass2::FixedImageType FixedImageType
Definition: elxTranslationStackTransform.h:123
elastix::TransformBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxTransformBase.h:141
elastix::TranslationStackTransform::TranslationTransformType
itk::AdvancedTranslationTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension) > TranslationTransformType
Definition: elxTranslationStackTransform.h:95
elastix::TranslationStackTransform::Superclass1
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Definition: elxTranslationStackTransform.h:69
elastix::TranslationStackTransform::ParametersType
Superclass1::ParametersType ParametersType
Definition: elxTranslationStackTransform.h:112
elastix::TranslationStackTransform::Self
TranslationStackTransform Self
Definition: elxTranslationStackTransform.h:66
itk::AdvancedTransform
Transform maps points, vectors and covariant vectors from an input space to an output space.
Definition: itkAdvancedTransform.h:87
elastix::TranslationStackTransform::itkStaticConstMacro
itkStaticConstMacro(ReducedSpaceDimension, unsigned int, Superclass2::FixedImageDimension - 1)
elastix::TranslationStackTransform::m_StackSpacing
double m_StackSpacing
Definition: elxTranslationStackTransform.h:170
elastix::TransformBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxTransformBase.h:145
elastix::TranslationStackTransform::WriteToFile
virtual void WriteToFile(const ParametersType &param) const
itk::StackTransform
Implements stack of transforms: one for every last dimension index.
Definition: itkStackTransform.h:42
elastix::TranslationStackTransform::BeforeAll
virtual int BeforeAll(void)
elastix::TranslationStackTransform::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxTranslationStackTransform.h:72
elxIncludes.h
elastix::TranslationStackTransform::m_NumberOfSubTransforms
unsigned int m_NumberOfSubTransforms
Definition: elxTranslationStackTransform.h:169
itk::AdvancedCombinationTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition: itkAdvancedCombinationTransform.h:82
elastix::TranslationStackTransform::TranslationTransformPointer
TranslationTransformType::Pointer TranslationTransformPointer
Definition: elxTranslationStackTransform.h:96
elastix::TranslationStackTransform::TranslationStackTransform
TranslationStackTransform(const Self &)
elastix::TranslationStackTransform::SizeType
FixedImageType::SizeType SizeType
Definition: elxTranslationStackTransform.h:129
elastix::TranslationStackTransform::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxTranslationStackTransform.h:120
elastix::TranslationStackTransform::m_StackOrigin
double m_StackOrigin
Definition: elxTranslationStackTransform.h:170
elastix::TranslationStackTransform::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxTranslationStackTransform.h:119
elastix::TranslationStackTransform::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxTranslationStackTransform.h:121
elastix::TransformBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxTransformBase.h:146
elastix::TranslationStackTransform::InitializeTransform
virtual void InitializeTransform(void)
elastix::TransformBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxTransformBase.h:147
elastix::TranslationStackTransform::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxTranslationStackTransform.h:118
elastix::TranslationStackTransform::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxTranslationStackTransform.h:116
elastix::TranslationStackTransform::ReducedDimensionTranslationTransformPointer
ReducedDimensionTranslationTransformType::Pointer ReducedDimensionTranslationTransformPointer
Definition: elxTranslationStackTransform.h:102
elastix::TranslationStackTransform::BeforeRegistration
virtual void BeforeRegistration(void)
elastix::TransformBase
This class is the elastix base class for all Transforms.
Definition: elxTransformBase.h:133
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::TransformBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxTransformBase.h:152


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo