Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkEuler2DTransform.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkEuler2DTransform.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/08/11 16:44:08 $
00007   Version:   $Revision: 1.12 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
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 >    // Data type for scalars 
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&); //purposely not implemented
00115   void operator=(const Self&); //purposely not implemented
00116 
00117 
00118 }; //class Euler2DTransform
00119 
00120 
00121 }  // namespace itk
00122 
00123 
00124 #ifndef ITK_MANUAL_INSTANTIATION
00125 #include "itkEuler2DTransform.txx"
00126 #endif
00127 
00128 #endif /* __itkEuler2DTransform_h */

Generated at Wed May 24 23:05:09 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000