00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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&);
00103 void operator=(const Self&);
00104
00105
00106 };
00107
00108
00109 }
00110
00111
00112 #ifndef ITK_MANUAL_INSTANTIATION
00113 #include "itkCenteredVersorTransformInitializer.txx"
00114 #endif
00115
00116 #endif