go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAffineDTITransform.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 __elxAffineDTITransform_H__
19 #define __elxAffineDTITransform_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 #include "itkAffineDTITransform.h"
24 #include "itkCenteredTransformInitializer.h"
25 
26 namespace elastix
27 {
28 
77 template< class TElastix >
80  typename elx::TransformBase< TElastix >::CoordRepType,
81  elx::TransformBase< TElastix >::FixedImageDimension >,
82  public elx::TransformBase< TElastix >
83 {
84 public:
85 
92  typedef itk::SmartPointer< Self > Pointer;
93  typedef itk::SmartPointer< const Self > ConstPointer;
94 
97  typedef itk::AffineDTITransform<
100 
102  itkNewMacro( Self );
103 
106 
111  elxClassNameMacro( "AffineDTITransform" );
112 
114  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
115 
123 
132 
133  typedef typename AffineDTITransformType::Pointer AffineDTITransformPointer;
134  typedef typename AffineDTITransformType::OffsetType OffsetType;
135 
148 
150  typedef typename FixedImageType::IndexType IndexType;
151  typedef typename IndexType::IndexValueType IndexValueType;
152  typedef typename FixedImageType::SizeType SizeType;
153  typedef typename FixedImageType::PointType PointType;
154  typedef typename FixedImageType::SpacingType SpacingType;
155  typedef typename FixedImageType::RegionType RegionType;
156  typedef typename FixedImageType::DirectionType DirectionType;
157 
158  typedef itk::CenteredTransformInitializer<
160  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
161 
164 
169  virtual void BeforeRegistration( void );
170 
186  virtual void InitializeTransform( void );
187 
195  virtual void SetScales( void );
196 
201  virtual void ReadFromFile( void );
202 
206  virtual void WriteToFile( const ParametersType & param ) const;
207 
208 protected:
209 
214 
217  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
218 
219 private:
220 
222  AffineDTITransformElastix( const Self & ); // purposely not implemented
224  void operator=( const Self & ); // purposely not implemented
225 
227 
228 };
229 
230 } // end namespace elastix
231 
232 #ifndef ITK_MANUAL_INSTANTIATION
233 #include "elxAffineDTITransform.hxx"
234 #endif
235 
236 #endif // end #ifndef __elxAffineDTITransform_H__
itk::AdvancedCombinationTransform::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAdvancedCombinationTransform.h:84
elastix::AffineDTITransformElastix::ParametersType
Superclass1::ParametersType ParametersType
Definition: elxAffineDTITransform.h:120
elastix::AffineDTITransformElastix::ReadCenterOfRotationPoint
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
itk::AdvancedCombinationTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkAdvancedCombinationTransform.h:88
elastix::AffineDTITransformElastix::PointType
FixedImageType::PointType PointType
Definition: elxAffineDTITransform.h:153
elastix::AffineDTITransformElastix::SizeType
FixedImageType::SizeType SizeType
Definition: elxAffineDTITransform.h:152
elastix::TransformBase::FixedImageType
ElastixType::FixedImageType FixedImageType
Definition: elxTransformBase.h:157
elastix::TransformBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition: elxTransformBase.h:156
elastix::TransformBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxTransformBase.h:153
itkAdvancedCombinationTransform.h
elastix::AffineDTITransformElastix::Superclass2
elx::TransformBase< TElastix > Superclass2
Definition: elxAffineDTITransform.h:91
elastix::AffineDTITransformElastix::TransformInitializerPointer
TransformInitializerType::Pointer TransformInitializerPointer
Definition: elxAffineDTITransform.h:160
elastix::AffineDTITransformElastix::InputVnlVectorType
Superclass1::InputVnlVectorType InputVnlVectorType
Definition: elxAffineDTITransform.h:130
elastix::AffineDTITransformElastix::operator=
void operator=(const Self &)
elastix::AffineDTITransformElastix
A transform based on the itk AffineDTITransform.
Definition: elxAffineDTITransform.h:83
elastix::AffineDTITransformElastix::SetScales
virtual void SetScales(void)
elastix::AffineDTITransformElastix::TransformInitializerType
itk::CenteredTransformInitializer< AffineDTITransformType, FixedImageType, MovingImageType > TransformInitializerType
Definition: elxAffineDTITransform.h:159
elastix::AffineDTITransformElastix::ScalesType
Superclass2::ScalesType ScalesType
Definition: elxAffineDTITransform.h:163
elastix::AffineDTITransformElastix::InputPointType
Superclass1::InputPointType InputPointType
Definition: elxAffineDTITransform.h:124
itk::AdvancedCombinationTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAdvancedCombinationTransform.h:86
elastix::AffineDTITransformElastix::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxAffineDTITransform.h:139
elastix::AffineDTITransformElastix::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxAffineDTITransform.h:93
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::AffineDTITransformElastix::JacobianType
Superclass1::JacobianType JacobianType
Definition: elxAffineDTITransform.h:122
elastix::TransformBase::MovingImageType
ElastixType::MovingImageType MovingImageType
Definition: elxTransformBase.h:158
itk::AdvancedCombinationTransform::ScalarType
Superclass::ScalarType ScalarType
Definition: itkAdvancedCombinationTransform.h:78
elastix::AffineDTITransformElastix::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxAffineDTITransform.h:137
elastix::AffineDTITransformElastix::IndexType
FixedImageType::IndexType IndexType
Definition: elxAffineDTITransform.h:150
elastix::AffineDTITransformElastix::ScalarType
Superclass1::ScalarType ScalarType
Definition: elxAffineDTITransform.h:119
elastix::AffineDTITransformElastix::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxAffineDTITransform.h:92
elastix::TransformBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxTransformBase.h:141
elastix::AffineDTITransformElastix::CoordRepType
Superclass2::CoordRepType CoordRepType
Definition: elxAffineDTITransform.h:143
elastix::AffineDTITransformElastix::Superclass1
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Definition: elxAffineDTITransform.h:90
elastix::AffineDTITransformElastix::WriteToFile
virtual void WriteToFile(const ParametersType &param) const
itk::AdvancedCombinationTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAdvancedCombinationTransform.h:92
elastix::AffineDTITransformElastix::NumberOfParametersType
Superclass1::NumberOfParametersType NumberOfParametersType
Definition: elxAffineDTITransform.h:121
elastix::AffineDTITransformElastix::OutputPointType
Superclass1::OutputPointType OutputPointType
Definition: elxAffineDTITransform.h:125
elastix::AffineDTITransformElastix::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxAffineDTITransform.h:138
elastix::AffineDTITransformElastix::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxAffineDTITransform.h:142
itk::AdvancedTransform
Transform maps points, vectors and covariant vectors from an input space to an output space.
Definition: itkAdvancedTransform.h:87
elastix::AffineDTITransformElastix::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxAffineDTITransform.h:141
elastix::AffineDTITransformElastix::AffineDTITransformType
itk::AffineDTITransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > AffineDTITransformType
Definition: elxAffineDTITransform.h:99
elastix::AffineDTITransformElastix::OffsetType
AffineDTITransformType::OffsetType OffsetType
Definition: elxAffineDTITransform.h:134
elastix::TransformBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxTransformBase.h:145
itk::AdvancedCombinationTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkAdvancedCombinationTransform.h:90
itk::AdvancedCombinationTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkAdvancedCombinationTransform.h:85
elastix::AffineDTITransformElastix::ReadFromFile
virtual void ReadFromFile(void)
elastix::AffineDTITransformElastix::~AffineDTITransformElastix
virtual ~AffineDTITransformElastix()
Definition: elxAffineDTITransform.h:213
elastix::AffineDTITransformElastix::CombinationTransformType
Superclass2::CombinationTransformType CombinationTransformType
Definition: elxAffineDTITransform.h:147
elastix::AffineDTITransformElastix::InputVectorType
Superclass1::InputVectorType InputVectorType
Definition: elxAffineDTITransform.h:126
elastix::AffineDTITransformElastix::RegionType
FixedImageType::RegionType RegionType
Definition: elxAffineDTITransform.h:155
elastix::AffineDTITransformElastix::Self
AffineDTITransformElastix Self
Definition: elxAffineDTITransform.h:87
elastix::AffineDTITransformElastix::IndexValueType
IndexType::IndexValueType IndexValueType
Definition: elxAffineDTITransform.h:151
elastix::AffineDTITransformElastix::FixedImageType
Superclass2::FixedImageType FixedImageType
Definition: elxAffineDTITransform.h:144
elxIncludes.h
itk::AdvancedCombinationTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkAdvancedCombinationTransform.h:89
elastix::AffineDTITransformElastix::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
itk::AdvancedCombinationTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition: itkAdvancedCombinationTransform.h:82
elastix::AffineDTITransformElastix::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxAffineDTITransform.h:140
elastix::AffineDTITransformElastix::AffineDTITransformElastix
AffineDTITransformElastix(const Self &)
elastix::AffineDTITransformElastix::OutputVectorType
Superclass1::OutputVectorType OutputVectorType
Definition: elxAffineDTITransform.h:127
itk::AdvancedCombinationTransform::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedCombinationTransform.h:91
elastix::AffineDTITransformElastix::OutputVnlVectorType
Superclass1::OutputVnlVectorType OutputVnlVectorType
Definition: elxAffineDTITransform.h:131
elastix::AffineDTITransformElastix::SpacingType
FixedImageType::SpacingType SpacingType
Definition: elxAffineDTITransform.h:154
elastix::AffineDTITransformElastix::AffineDTITransformElastix
AffineDTITransformElastix()
elastix::TransformBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxTransformBase.h:146
elastix::AffineDTITransformElastix::DirectionType
FixedImageType::DirectionType DirectionType
Definition: elxAffineDTITransform.h:156
elastix::TransformBase::ScalesType
OptimizerType::ScalesType ScalesType
Definition: elxTransformBase.h:204
elastix::AffineDTITransformElastix::OutputCovariantVectorType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Definition: elxAffineDTITransform.h:129
elastix::AffineDTITransformElastix::MovingImageType
Superclass2::MovingImageType MovingImageType
Definition: elxAffineDTITransform.h:145
itk::AdvancedCombinationTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkAdvancedCombinationTransform.h:87
elastix::TransformBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxTransformBase.h:147
elastix::AffineDTITransformElastix::elxClassNameMacro
elxClassNameMacro("AffineDTITransform")
elastix::AffineDTITransformElastix::m_AffineDTITransform
AffineDTITransformPointer m_AffineDTITransform
Definition: elxAffineDTITransform.h:226
elastix::TransformBase
This class is the elastix base class for all Transforms.
Definition: elxTransformBase.h:133
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::AffineDTITransformElastix::BeforeRegistration
virtual void BeforeRegistration(void)
elastix::AffineDTITransformElastix::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxAffineDTITransform.h:146
elastix::AffineDTITransformElastix::AffineDTITransformPointer
AffineDTITransformType::Pointer AffineDTITransformPointer
Definition: elxAffineDTITransform.h:133
elastix::AffineDTITransformElastix::InitializeTransform
virtual void InitializeTransform(void)
elastix::AffineDTITransformElastix::InputCovariantVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
Definition: elxAffineDTITransform.h:128
elastix::TransformBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxTransformBase.h:152


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo