00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkCenteredEuler3DTransform_h
00018 #define __itkCenteredEuler3DTransform_h
00019
00020 #include <iostream>
00021 #include "itkEuler3DTransform.h"
00022 #include "itkExceptionObject.h"
00023 #include "itkMatrix.h"
00024 #include "itkVersor.h"
00025
00026 namespace itk
00027 {
00028
00037 template < class TScalarType=double >
00038 class ITK_EXPORT CenteredEuler3DTransform :
00039 public Euler3DTransform< TScalarType >
00040 {
00041 public:
00043 typedef CenteredEuler3DTransform Self;
00044 typedef Euler3DTransform< TScalarType > Superclass;
00045 typedef SmartPointer<Self> Pointer;
00046 typedef SmartPointer<const Self> ConstPointer;
00047
00049 itkTypeMacro( CenteredEuler3DTransform, Euler3DTransform );
00050
00052 itkNewMacro( Self );
00053
00055 itkStaticConstMacro(SpaceDimension, unsigned int, 3);
00056 itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
00057 itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
00058 itkStaticConstMacro(ParametersDimension, unsigned int, 9);
00060
00061 typedef typename Superclass::ParametersType ParametersType;
00062 typedef typename Superclass::JacobianType JacobianType;
00063 typedef typename Superclass::ScalarType ScalarType;
00064 typedef typename Superclass::InputVectorType InputVectorType;
00065 typedef typename Superclass::OutputVectorType OutputVectorType;
00066 typedef typename Superclass::InputCovariantVectorType
00067 InputCovariantVectorType;
00068 typedef typename Superclass::OutputCovariantVectorType
00069 OutputCovariantVectorType;
00070 typedef typename Superclass::InputVnlVectorType InputVnlVectorType;
00071 typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType;
00072 typedef typename Superclass::InputPointType InputPointType;
00073 typedef typename Superclass::OutputPointType OutputPointType;
00074 typedef typename Superclass::MatrixType MatrixType;
00075 typedef typename Superclass::InverseMatrixType InverseMatrixType;
00076 typedef typename Superclass::CenterType CenterType;
00077 typedef typename Superclass::TranslationType TranslationType;
00078 typedef typename Superclass::OffsetType OffsetType;
00079
00084 void SetParameters( const ParametersType & parameters );
00085
00090 const ParametersType & GetParameters( void ) const;
00091
00096 const JacobianType & GetJacobian(const InputPointType &point ) const;
00097
00098 protected:
00099 CenteredEuler3DTransform();
00100 CenteredEuler3DTransform(unsigned int SpaceDimension,
00101 unsigned int ParametersDimension);
00102 CenteredEuler3DTransform(const MatrixType & matrix,
00103 const OutputVectorType & offset);
00104 ~CenteredEuler3DTransform();
00105
00109 void PrintSelf(std::ostream &os, Indent indent) const;
00110
00111 private:
00112 CenteredEuler3DTransform(const Self&);
00113 void operator=(const Self&);
00114
00115 };
00116
00117
00118 }
00119
00120
00121 #ifndef ITK_MANUAL_INSTANTIATION
00122 #include "itkCenteredEuler3DTransform.txx"
00123 #endif
00124
00125 #endif
00126