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 
15 #ifndef __elxAffineDTITransform_H__
16 #define __elxAffineDTITransform_H__
17 
19 #include "itkAffineDTITransform.h"
20 #include "itkCenteredTransformInitializer.h"
21 #include "elxIncludes.h"
22 
23 namespace elastix
24 {
25 
74  template < class TElastix >
77  typename elx::TransformBase< TElastix >::CoordRepType,
78  elx::TransformBase< TElastix >::FixedImageDimension >,
79  public elx::TransformBase< TElastix >
80  {
81  public:
82 
89  typedef itk::SmartPointer<Self> Pointer;
90  typedef itk::SmartPointer<const Self> ConstPointer;
91 
94  typedef itk::AffineDTITransform<
97 
99  itkNewMacro( Self );
100 
103 
108  elxClassNameMacro( "AffineDTITransform" );
109 
111  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
112 
120 
129 
130  typedef typename AffineDTITransformType::Pointer AffineDTITransformPointer;
131  typedef typename AffineDTITransformType::OffsetType OffsetType;
132 
145 
147  typedef typename FixedImageType::IndexType IndexType;
148  typedef typename IndexType::IndexValueType IndexValueType;
149  typedef typename FixedImageType::SizeType SizeType;
150  typedef typename FixedImageType::PointType PointType;
151  typedef typename FixedImageType::SpacingType SpacingType;
152  typedef typename FixedImageType::RegionType RegionType;
153  typedef typename FixedImageType::DirectionType DirectionType;
154 
155  typedef itk::CenteredTransformInitializer<
157  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
158 
161 
166  virtual void BeforeRegistration( void );
167 
183  virtual void InitializeTransform( void );
184 
192  virtual void SetScales( void );
193 
198  virtual void ReadFromFile( void );
199 
203  virtual void WriteToFile( const ParametersType & param ) const;
204 
205  protected:
206 
211 
214  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
215 
216  private:
217 
219  AffineDTITransformElastix( const Self& ); // purposely not implemented
221  void operator=( const Self& ); // purposely not implemented
222 
224 
225  }; // end class AffineDTITransformElastix
226 
227 
228 } // end namespace elastix
229 
230 #ifndef ITK_MANUAL_INSTANTIATION
231 #include "elxAffineDTITransform.hxx"
232 #endif
233 
234 #endif // end #ifndef __elxAffineDTITransform_H__
235 
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
FixedImageType::RegionType RegionType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
Superclass1::OutputVectorType OutputVectorType
FixedImageType::DirectionType DirectionType
Superclass2::RegistrationPointer RegistrationPointer
AffineDTITransformType::Pointer AffineDTITransformPointer
itk::SmartPointer< const Self > ConstPointer
Superclass1::OutputVnlVectorType OutputVnlVectorType
OptimizerType::ScalesType ScalesType
Superclass2::FixedImageType FixedImageType
ElastixType::FixedImageType FixedImageType
IndexType::IndexValueType IndexValueType
itk::CenteredTransformInitializer< AffineDTITransformType, FixedImageType, MovingImageType > TransformInitializerType
Superclass2::ElastixPointer ElastixPointer
virtual void WriteToFile(void) const
virtual void BeforeRegistration(void)
Superclass::ElastixType ElastixType
FixedImageType::SpacingType SpacingType
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 05-01-2014 for elastix by doxygen 1.8.5 elastix logo