00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __itkEuler2DTransform_h
00019 #define __itkEuler2DTransform_h
00020
00021 #include <iostream>
00022 #include "itkRigid2DTransform.h"
00023
00024 namespace itk
00025 {
00026
00039 template < class TScalarType=double >
00040 class ITK_EXPORT Euler2DTransform :
00041 public Rigid2DTransform< TScalarType >
00042 {
00043 public:
00045 typedef Euler2DTransform Self;
00046 typedef Rigid2DTransform< TScalarType > Superclass;
00047 typedef SmartPointer<Self> Pointer;
00048 typedef SmartPointer<const Self> ConstPointer;
00049
00051 itkNewMacro( Self );
00052
00054 itkTypeMacro( Euler2DTransform, Rigid2DTransform );
00055
00057 itkStaticConstMacro(SpaceDimension, unsigned int, 2);
00058 itkStaticConstMacro(ParametersDimension, unsigned int, 3);
00059
00061 typedef typename Superclass::ScalarType ScalarType;
00062
00064 typedef typename Superclass::ParametersType ParametersType;
00065
00067 typedef typename Superclass::JacobianType JacobianType;
00068
00070 typedef typename Superclass::InputPointType InputPointType;
00071 typedef typename Superclass::OutputPointType OutputPointType;
00072
00074 typedef typename Superclass::InputVectorType InputVectorType;
00075 typedef typename Superclass::OutputVectorType OutputVectorType;
00076
00078 typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType;
00079 typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
00080
00082 typedef typename Superclass::InputVnlVectorType InputVnlVectorType;
00083 typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType;
00084 typedef typename Superclass::MatrixType MatrixType;
00085
00090 void CloneInverseTo( Pointer & newinverse ) const;
00091
00096 void CloneTo( Pointer & clone ) const;
00097
00102 void ComputeAngleFromMatrix()
00103 { this->ComputeMatrixParameters(); }
00104
00105 protected:
00106 Euler2DTransform();
00107 ~Euler2DTransform(){};
00108
00109 Euler2DTransform(unsigned int outputSpaceDimension, unsigned int parametersDimension);
00110
00111 void PrintSelf(std::ostream &os, Indent indent) const;
00112
00113 private:
00114 Euler2DTransform(const Self&);
00115 void operator=(const Self&);
00116
00117
00118 };
00119
00120
00121 }
00122
00123
00124 #ifndef ITK_MANUAL_INSTANTIATION
00125 #include "itkEuler2DTransform.txx"
00126 #endif
00127
00128 #endif