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  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 #ifndef __elxAffineDTITransform_H__
15 #define __elxAffineDTITransform_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 #include "itkAffineDTITransform.h"
20 #include "itkCenteredTransformInitializer.h"
21 
22 namespace elastix
23 {
24 
73 template< class TElastix >
76  typename elx::TransformBase< TElastix >::CoordRepType,
77  elx::TransformBase< TElastix >::FixedImageDimension >,
78  public elx::TransformBase< TElastix >
79 {
80 public:
81 
88  typedef itk::SmartPointer< Self > Pointer;
89  typedef itk::SmartPointer< const Self > ConstPointer;
90 
93  typedef itk::AffineDTITransform<
96 
98  itkNewMacro( Self );
99 
102 
107  elxClassNameMacro( "AffineDTITransform" );
108 
110  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
111 
119 
128 
129  typedef typename AffineDTITransformType::Pointer AffineDTITransformPointer;
130  typedef typename AffineDTITransformType::OffsetType OffsetType;
131 
144 
146  typedef typename FixedImageType::IndexType IndexType;
147  typedef typename IndexType::IndexValueType IndexValueType;
148  typedef typename FixedImageType::SizeType SizeType;
149  typedef typename FixedImageType::PointType PointType;
150  typedef typename FixedImageType::SpacingType SpacingType;
151  typedef typename FixedImageType::RegionType RegionType;
152  typedef typename FixedImageType::DirectionType DirectionType;
153 
154  typedef itk::CenteredTransformInitializer<
156  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
157 
160 
165  virtual void BeforeRegistration( void );
166 
182  virtual void InitializeTransform( void );
183 
191  virtual void SetScales( void );
192 
197  virtual void ReadFromFile( void );
198 
202  virtual void WriteToFile( const ParametersType & param ) const;
203 
204 protected:
205 
210 
213  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
214 
215 private:
216 
218  AffineDTITransformElastix( const Self & ); // purposely not implemented
220  void operator=( const Self & ); // purposely not implemented
221 
223 
224 };
225 
226 } // end namespace elastix
227 
228 #ifndef ITK_MANUAL_INSTANTIATION
229 #include "elxAffineDTITransform.hxx"
230 #endif
231 
232 #endif // end #ifndef __elxAffineDTITransform_H__
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
FixedImageType::RegionType RegionType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
Superclass1::OutputVectorType OutputVectorType
FixedImageType::DirectionType DirectionType
itk::SmartPointer< const Self > ConstPointer
Superclass2::RegistrationPointer RegistrationPointer
AffineDTITransformType::Pointer AffineDTITransformPointer
Superclass1::OutputVnlVectorType OutputVnlVectorType
OptimizerType::ScalesType ScalesType
Superclass2::FixedImageType FixedImageType
ElastixType::FixedImageType FixedImageType
IndexType::IndexValueType IndexValueType
Superclass2::ElastixPointer ElastixPointer
virtual void WriteToFile(void) const
virtual void BeforeRegistration(void)
Superclass::ElastixType ElastixType
FixedImageType::SpacingType SpacingType
itk::CenteredTransformInitializer< AffineDTITransformType, FixedImageType, MovingImageType > TransformInitializerType
Superclass2::ConfigurationType ConfigurationType
Superclass1::InputPointType InputPointType
Transform maps points, vectors and covariant vectors from an input space to an output space...
elx::TransformBase< TElastix > Superclass2
Superclass1::OutputPointType OutputPointType
Superclass1::JacobianType JacobianType
elxClassNameMacro("AffineDTITransform")
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass1::ParametersType ParametersType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass2::CombinationTransformType CombinationTransformType
TransformInitializerType::Pointer TransformInitializerPointer
ElastixType::MovingImageType MovingImageType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
A transform based on the itk AffineDTITransform.
itk::AffineDTITransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > AffineDTITransformType
Superclass2::RegistrationType RegistrationType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass1::InputCovariantVectorType InputCovariantVectorType
This class is the elastix base class for all Transforms.
Superclass1::InputVectorType InputVectorType
Superclass::ConfigurationType ConfigurationType
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass::OutputVnlVectorType OutputVnlVectorType
AffineDTITransformType::OffsetType OffsetType
Superclass2::CoordRepType CoordRepType
AffineDTITransformPointer m_AffineDTITransform
Superclass2::MovingImageType MovingImageType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
virtual void InitializeTransform(void)
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::NumberOfParametersType NumberOfParametersType


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo