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 using namespace itk;
26 
75  template < class TElastix >
78  ITK_TYPENAME elx::TransformBase< TElastix >::CoordRepType,
79  elx::TransformBase< TElastix >::FixedImageDimension >,
80  public elx::TransformBase< TElastix >
81  {
82  public:
83 
86 
90 
92 
95  typedef AffineDTITransform<
98 
99  typedef SmartPointer<Self> Pointer;
100  typedef SmartPointer<const Self> ConstPointer;
101 
103  itkNewMacro( Self );
104 
106  //itkTypeMacro( AffineDTITransformElastix, AffineDTITransform );
108 
113  elxClassNameMacro( "AffineDTITransform" );
114 
116  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
117 
124 
133 
134  typedef typename AffineDTITransformType::Pointer AffineDTITransformPointer;
135  typedef typename AffineDTITransformType::OffsetType OffsetType;
136 
149 
151  typedef typename FixedImageType::IndexType IndexType;
152  typedef typename IndexType::IndexValueType IndexValueType;
153  typedef typename FixedImageType::SizeType SizeType;
154  typedef typename FixedImageType::PointType PointType;
155  typedef typename FixedImageType::SpacingType SpacingType;
156  typedef typename FixedImageType::RegionType RegionType;
157  typedef typename FixedImageType::DirectionType DirectionType;
158 
159  typedef CenteredTransformInitializer<
161  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
162 
165 
170  virtual void BeforeRegistration(void);
171 
187  virtual void InitializeTransform(void);
188 
196  virtual void SetScales(void);
197 
202  virtual void ReadFromFile(void);
203 
207  virtual void WriteToFile( const ParametersType & param ) const;
208 
209  protected:
210 
215 
218  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
219 
220  private:
221 
223  AffineDTITransformElastix( const Self& ); // purposely not implemented
225  void operator=( const Self& ); // purposely not implemented
226 
228 
229  }; // end class AffineDTITransformElastix
230 
231 
232 } // end namespace elastix
233 
234 #ifndef ITK_MANUAL_INSTANTIATION
235 #include "elxAffineDTITransform.hxx"
236 #endif
237 
238 #endif // end #ifndef __elxAffineDTITransform_H__
239 
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
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
FixedImageType::RegionType RegionType
Superclass1::OutputVectorType OutputVectorType
FixedImageType::DirectionType DirectionType
Superclass2::RegistrationPointer RegistrationPointer
AffineDTITransformType::Pointer AffineDTITransformPointer
Superclass1::OutputVnlVectorType OutputVnlVectorType
OptimizerType::ScalesType ScalesType
Superclass2::FixedImageType FixedImageType
SmartPointer< const Self > ConstPointer
ElastixType::FixedImageType FixedImageType
CenteredTransformInitializer< AffineDTITransformType, FixedImageType, MovingImageType > TransformInitializerType
IndexType::IndexValueType IndexValueType
Superclass2::ElastixPointer ElastixPointer
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
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.
Superclass2::RegistrationType RegistrationType
AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass1::InputCovariantVectorType InputCovariantVectorType
This class is the elastix base class for all Transforms.
Superclass1::InputVectorType InputVectorType
Superclass::ConfigurationType ConfigurationType
Superclass::OutputVnlVectorType OutputVnlVectorType
AffineDTITransformType::OffsetType OffsetType
Superclass2::CoordRepType CoordRepType
AffineDTITransformPointer m_AffineDTITransform
Superclass2::MovingImageType MovingImageType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
Superclass2::ConfigurationPointer ConfigurationPointer
AffineDTITransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > AffineDTITransformType


Generated on 06-12-2013 for elastix by doxygen 1.8.5 elastix logo