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 
70  template < class TElastix >
73  typename elx::TransformBase< TElastix >::CoordRepType,
74  elx::TransformBase< TElastix >::FixedImageDimension >,
75  public elx::TransformBase< TElastix >
76  {
77  public:
78 
81 
85 
87 
90  typedef itk::EulerTransform<
93 
94  typedef itk::SmartPointer<Self> Pointer;
95  typedef itk::SmartPointer<const Self> ConstPointer;
96 
98  itkNewMacro( Self );
99 
101  //itkTypeMacro( EulerTransformElastix, EulerTransform );
103 
108  elxClassNameMacro( "EulerTransform" );
109 
111  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
112 
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 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 
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
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass::InputCovariantVectorType InputCovariantVectorType
virtual void InitializeTransform(void)
Superclass::RegistrationPointer RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
virtual bool ReadCenterOfRotationIndex(InputPointType &rotationPoint) const
EulerTransformType::Pointer EulerTransformPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass2::ScalesType ScalesType
itk::SmartPointer< const Self > ConstPointer
FixedImageType::IndexType IndexType
Superclass2::CoordRepType CoordRepType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
FixedImageType::SizeType SizeType
elx::TransformBase< TElastix > Superclass2
virtual void ReadFromFile(void)
virtual void SetScales(void)
OptimizerType::ScalesType ScalesType
FixedImageType::SpacingType SpacingType
Superclass2::RegistrationType RegistrationType
Superclass2::CombinationTransformType CombinationTransformType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
ElastixType::FixedImageType FixedImageType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::MovingImageType MovingImageType
Superclass1::InputVectorType InputVectorType
Superclass1::NumberOfParametersType NumberOfParametersType
virtual void WriteToFile(void) const
itk::SmartPointer< Self > Pointer
TransformInitializerType::Pointer TransformInitializerPointer
Superclass::ElastixType ElastixType
itk::EulerTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > EulerTransformType
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
virtual void BeforeRegistration(void)
A transform based on the itk EulerTransforms.
EulerTransformType::OffsetType OffsetType
Superclass1::ScalarType ScalarType
itk::CenteredTransformInitializer< EulerTransformType, FixedImageType, MovingImageType > TransformInitializerType
Superclass1::JacobianType JacobianType
Superclass1::OutputPointType OutputPointType
ElastixType::MovingImageType MovingImageType
void operator=(const Self &)
Superclass::ElastixPointer ElastixPointer
FixedImageType::DirectionType DirectionType
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
Superclass2::ConfigurationType ConfigurationType
Superclass1::OutputVnlVectorType OutputVnlVectorType
FixedImageType::PointType PointType
Superclass::NumberOfParametersType NumberOfParametersType
This class is the elastix base class for all Transforms.
Superclass2::ElastixType ElastixType
Superclass::ConfigurationType ConfigurationType
Superclass1::ParametersType ParametersType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass2::ElastixPointer ElastixPointer
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
elxClassNameMacro("EulerTransform")
Superclass1::InputPointType InputPointType
Superclass1::InputVnlVectorType InputVnlVectorType
FixedImageType::RegionType RegionType


Generated on 04-01-2014 for elastix by doxygen 1.8.5 elastix logo