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 
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
IndexType::IndexValueType IndexValueType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
EulerTransformType::Pointer EulerTransformPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
Superclass2::ScalesType ScalesType
FixedImageType::IndexType IndexType
Superclass2::CoordRepType CoordRepType
FixedImageType::SizeType SizeType
elx::TransformBase< TElastix > Superclass2
CenteredTransformInitializer< EulerTransformType, FixedImageType, MovingImageType > TransformInitializerType
OptimizerType::ScalesType ScalesType
FixedImageType::SpacingType SpacingType
Superclass2::RegistrationType RegistrationType
Superclass2::CombinationTransformType CombinationTransformType
EulerTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > EulerTransformType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
ElastixType::FixedImageType FixedImageType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::MovingImageType MovingImageType
Superclass1::InputVectorType InputVectorType
TransformInitializerType::Pointer TransformInitializerPointer
Superclass::ElastixType ElastixType
SmartPointer< const Self > ConstPointer
Transform maps points, vectors and covariant vectors from an input space to an output space...
EulerTransformPointer m_EulerTransform
Superclass2::FixedImageType FixedImageType
Superclass2::ITKBaseType ITKBaseType
Superclass1::OutputVectorType OutputVectorType
A transform based on the itk EulerTransforms.
EulerTransformType::OffsetType OffsetType
Superclass1::ScalarType ScalarType
Superclass1::JacobianType JacobianType
Superclass1::OutputPointType OutputPointType
ElastixType::MovingImageType MovingImageType
Superclass::ElastixPointer ElastixPointer
FixedImageType::DirectionType DirectionType
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
Superclass2::ConfigurationType ConfigurationType
Superclass1::OutputVnlVectorType OutputVnlVectorType
FixedImageType::PointType PointType
This class is the elastix base class for all Transforms.
Superclass2::ElastixType ElastixType
Superclass::ConfigurationType ConfigurationType
Superclass1::ParametersType ParametersType
Superclass::OutputVnlVectorType OutputVnlVectorType
AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass2::ElastixPointer ElastixPointer
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass1::InputPointType InputPointType
Superclass1::InputVnlVectorType InputVnlVectorType
FixedImageType::RegionType RegionType


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