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 


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo