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

itkCenteredVersorTransformInitializer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkCenteredVersorTransformInitializer.h,v $
00005   Language:  C++
00006   Date:      $Date: 2004/04/25 19:11:57 $
00007   Version:   $Revision: 1.1 $
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 __itkCenteredVersorTransformInitializer_h
00019 #define __itkCenteredVersorTransformInitializer_h
00020 
00021 
00022 #include "itkCenteredTransformInitializer.h"
00023 #include "itkVersorRigid3DTransform.h"
00024 
00025 
00026 namespace itk
00027 {
00028 
00040 template < class TFixedImage,
00041            class TMovingImage > 
00042 class ITK_EXPORT CenteredVersorTransformInitializer : 
00043                       public CenteredTransformInitializer< 
00044                                     VersorRigid3DTransform<double>, 
00045                                     TFixedImage,TMovingImage> 
00046 {
00047 public:
00049   typedef CenteredVersorTransformInitializer      Self;
00050   typedef CenteredTransformInitializer< 
00051                VersorRigid3DTransform<double>, 
00052                TFixedImage,TMovingImage>          Superclass;
00053   typedef SmartPointer<Self>                      Pointer;
00054   typedef SmartPointer<const Self>                ConstPointer;
00055     
00057   itkNewMacro( Self );
00058 
00060   itkTypeMacro( CenteredVersorTransformInitializer, Object );
00061 
00063   typedef typename Superclass::TransformType        TransformType;
00064   typedef typename Superclass::TransformPointer     TransformPointer;
00065 
00067   itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension);
00068   itkStaticConstMacro(InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension);
00069   itkStaticConstMacro(OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension);
00070 
00071   
00073   typedef   typename Superclass::FixedImageType   FixedImageType;
00074   typedef   typename Superclass::MovingImageType  MovingImageType;
00075 
00076   typedef   typename Superclass::FixedImagePointer   FixedImagePointer;
00077   typedef   typename Superclass::MovingImagePointer  MovingImagePointer;
00078 
00079 
00080 
00082   typedef typename Superclass::OffsetType  OffsetType;
00083 
00085   typedef typename Superclass::InputPointType   InputPointType;
00086   
00088   typedef typename Superclass::OutputVectorType  OutputVectorType;
00089   
00090 
00092   void InitializeTransform() const;
00093 
00094 
00095 protected:
00096   CenteredVersorTransformInitializer();
00097   ~CenteredVersorTransformInitializer(){};
00098 
00099   void PrintSelf(std::ostream &os, Indent indent) const;
00100 
00101 private:
00102   CenteredVersorTransformInitializer(const Self&); //purposely not implemented
00103   void operator=(const Self&); //purposely not implemented
00104 
00105 
00106 }; //class CenteredVersorTransformInitializer
00107 
00108 
00109 }  // namespace itk
00110 
00111 
00112 #ifndef ITK_MANUAL_INSTANTIATION
00113 #include "itkCenteredVersorTransformInitializer.txx"
00114 #endif
00115 
00116 #endif /* __itkCenteredVersorTransformInitializer_h */

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