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

itkCenteredRigid2DTransform.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkCenteredRigid2DTransform.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/08/11 16:44:07 $
00007   Version:   $Revision: 1.11 $
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 __itkCenteredRigid2DTransform_h
00019 #define __itkCenteredRigid2DTransform_h
00020 
00021 #include <iostream>
00022 #include "itkRigid2DTransform.h"
00023 
00024 namespace itk
00025 {
00026 
00051 template < class TScalarType=double >    // Data type for scalars (float or double)
00052 class ITK_EXPORT CenteredRigid2DTransform : 
00053             public Rigid2DTransform< TScalarType > 
00054 {
00055 public:
00057   typedef CenteredRigid2DTransform Self;
00058   typedef Rigid2DTransform< TScalarType >   Superclass;
00059   typedef SmartPointer<Self>        Pointer;
00060   typedef SmartPointer<const Self>  ConstPointer;
00061     
00063   itkNewMacro( Self );
00064 
00066   itkTypeMacro( CenteredRigid2DTransform, Rigid2DTransform );
00067 
00069   itkStaticConstMacro(SpaceDimension, unsigned int, 2);
00070   itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2);
00071   itkStaticConstMacro(ParametersDimension, unsigned int, 5);
00072 
00074   typedef typename Superclass::ScalarType  ScalarType;
00075 
00077   typedef typename Superclass::ParametersType  ParametersType;
00078 
00080   typedef typename Superclass::JacobianType  JacobianType;
00081   
00083   typedef typename Superclass::OffsetType  OffsetType;
00084 
00086   typedef typename Superclass::InputPointType   InputPointType;
00087   typedef typename Superclass::OutputPointType  OutputPointType;
00088   
00090   typedef typename Superclass::InputVectorType   InputVectorType;
00091   typedef typename Superclass::OutputVectorType  OutputVectorType;
00092   
00094   typedef typename Superclass::InputCovariantVectorType   InputCovariantVectorType;
00095   typedef typename Superclass::OutputCovariantVectorType  OutputCovariantVectorType;
00096   
00098   typedef typename Superclass::InputVnlVectorType   InputVnlVectorType;
00099   typedef typename Superclass::OutputVnlVectorType  OutputVnlVectorType;
00100   
00109   void SetParameters( const ParametersType & parameters );
00110 
00119   const ParametersType & GetParameters( void ) const;
00120   
00125   const JacobianType & GetJacobian(const InputPointType  &point ) const;
00126 
00129   virtual void SetFixedParameters( const ParametersType & );
00130 
00133   virtual const ParametersType& GetFixedParameters(void) const;
00134 
00139   void CloneInverseTo( Pointer & newinverse ) const;
00140 
00145   void CloneTo( Pointer & clone ) const;
00146 
00147 protected:
00148   CenteredRigid2DTransform();
00149   ~CenteredRigid2DTransform(){};
00150 
00151   CenteredRigid2DTransform( unsigned int outputSpaceDimension, 
00152                             unsigned int parametersDimension);
00153 
00154   void PrintSelf(std::ostream &os, Indent indent) const;
00155 
00156 private:
00157   CenteredRigid2DTransform(const Self&); //purposely not implemented
00158   void operator=(const Self&); //purposely not implemented
00159 
00160 }; //class CenteredRigid2DTransform
00161 
00162 
00163 }  // namespace itk
00164 
00165 
00166 #ifndef ITK_MANUAL_INSTANTIATION
00167 #include "itkCenteredRigid2DTransform.txx"
00168 #endif
00169 
00170 #endif /* __itkCenteredRigid2DTransform_h */

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