go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxEulerTransform.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 __elxEulerTransform_H__
16 #define __elxEulerTransform_H__
17 
19 #include "itkEulerTransform.h"
20 #include "itkCenteredTransformInitializer.h"
21 #include "elxIncludes.h"
22 
23 namespace elastix
24 {
25 using namespace itk;
26 
71  template < class TElastix >
74  ITK_TYPENAME elx::TransformBase< TElastix >::CoordRepType,
75  elx::TransformBase< TElastix >::FixedImageDimension >,
76  public elx::TransformBase< TElastix >
77  {
78  public:
79 
82 
86 
88 
91  typedef EulerTransform<
94 
95  typedef SmartPointer<Self> Pointer;
96  typedef SmartPointer<const Self> ConstPointer;
97 
99  itkNewMacro( Self );
100 
102  //itkTypeMacro( EulerTransformElastix, EulerTransform );
104 
109  elxClassNameMacro( "EulerTransform" );
110 
112  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
113 
120 
129 
130  typedef typename EulerTransformType::Pointer EulerTransformPointer;
131  typedef typename EulerTransformType::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 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 
217  virtual bool ReadCenterOfRotationIndex( InputPointType & rotationPoint ) const;
218 
224  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
225 
226  private:
227 
229  EulerTransformElastix( const Self& ); // purposely not implemented
231  void operator=( const Self& ); // purposely not implemented
232 
234 
235  }; // end class EulerTransformElastix
236 
237 
238 } // end namespace elastix
239 
240 #ifndef ITK_MANUAL_INSTANTIATION
241 #include "elxEulerTransform.hxx"
242 #endif
243 
244 #endif // end #ifndef __elxEulerTransform_H__
245 


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