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

itkCenteredSimilarity2DTransform.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkCenteredSimilarity2DTransform.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/08/11 16:44:08 $
00007   Version:   $Revision: 1.2 $
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 __itkCenteredSimilarity2DTransform_h
00019 #define __itkCenteredSimilarity2DTransform_h
00020 
00021 #include <iostream>
00022 #include "itkSimilarity2DTransform.h"
00023 
00024 namespace itk
00025 {
00026 
00053 template < class TScalarType=double >    // Data type for scalars (float or double)
00054 class ITK_EXPORT CenteredSimilarity2DTransform : 
00055             public Similarity2DTransform< TScalarType > 
00056 {
00057 public:
00059   typedef CenteredSimilarity2DTransform Self;
00060   typedef Similarity2DTransform< TScalarType >   Superclass;
00061   typedef SmartPointer<Self>        Pointer;
00062   typedef SmartPointer<const Self>  ConstPointer;
00063     
00065   itkNewMacro( Self );
00066 
00068   itkTypeMacro( CenteredSimilarity2DTransform, Similarity2DTransform );
00069 
00071   itkStaticConstMacro(SpaceDimension,           unsigned int, 2);
00072   itkStaticConstMacro(InputSpaceDimension,      unsigned int, 2);
00073   itkStaticConstMacro(OutputSpaceDimension,     unsigned int, 2);
00074   itkStaticConstMacro(ParametersDimension,      unsigned int, 6);
00075 
00077   typedef typename Superclass::ScalarType  ScalarType;
00078 
00080   typedef typename Superclass::ParametersType  ParametersType;
00081 
00083   typedef typename Superclass::JacobianType  JacobianType;
00084   
00086   typedef typename Superclass::OffsetType  OffsetType;
00087 
00089   typedef typename Superclass::InputPointType   InputPointType;
00090   typedef typename Superclass::OutputPointType  OutputPointType;
00091   
00093   typedef typename Superclass::InputVectorType   InputVectorType;
00094   typedef typename Superclass::OutputVectorType  OutputVectorType;
00095   
00097   typedef typename Superclass::InputCovariantVectorType   InputCovariantVectorType;
00098   typedef typename Superclass::OutputCovariantVectorType  OutputCovariantVectorType;
00099   
00101   typedef typename Superclass::InputVnlVectorType   InputVnlVectorType;
00102   typedef typename Superclass::OutputVnlVectorType  OutputVnlVectorType;
00103   
00113   void SetParameters( const ParametersType & parameters );
00114 
00124   const ParametersType & GetParameters( void ) const; 
00125  
00130   const JacobianType & GetJacobian(const InputPointType  &point ) const;
00131 
00134   virtual void SetFixedParameters( const ParametersType & );
00135 
00138   virtual const ParametersType& GetFixedParameters(void) const;
00139 
00144   void CloneInverseTo( Pointer & newinverse ) const;
00145 
00150   void CloneTo( Pointer & clone ) const;
00151 
00152 protected:
00153   CenteredSimilarity2DTransform();
00154   CenteredSimilarity2DTransform( unsigned int spaceDimension, 
00155                                  unsigned int parametersDimension);
00156 
00157   ~CenteredSimilarity2DTransform(){};
00158   void PrintSelf(std::ostream &os, Indent indent) const;
00159 
00160 private:
00161   CenteredSimilarity2DTransform(const Self&); //purposely not implemented
00162   void operator=(const Self&); //purposely not implemented
00163 
00164 }; //class CenteredSimilarity2DTransform
00165 
00166 
00167 }  // namespace itk
00168 
00169 
00170 #ifndef ITK_MANUAL_INSTANTIATION
00171 #include "itkCenteredSimilarity2DTransform.txx"
00172 #endif
00173 
00174 #endif /* __itkCenteredSimilarity2DTransform_h */

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