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

itkElasticBodyReciprocalSplineKernelTransform.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkElasticBodyReciprocalSplineKernelTransform.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/11 19:57:12 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright (c) 2002 Insight 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 #ifndef __itkElasticBodyReciprocalSplineKernelTransform_h
00018 #define __itkElasticBodyReciprocalSplineKernelTransform_h
00019 
00020 #include "itkKernelTransform.h"
00021 
00022 
00023 namespace itk
00024 {
00025 
00038 template <class TScalarType = double,   // Data type for scalars (float or double)
00039           unsigned int NDimensions = 3>          // Number of dimensions
00040 class ElasticBodyReciprocalSplineKernelTransform : 
00041           public KernelTransform<  TScalarType, NDimensions>
00042 {
00043 public:
00045   typedef ElasticBodyReciprocalSplineKernelTransform   Self;
00046   typedef KernelTransform<  TScalarType, 
00047                             NDimensions> Superclass;
00048 
00049   typedef SmartPointer<Self>        Pointer;
00050   typedef SmartPointer<const Self>  ConstPointer;
00051     
00053   itkTypeMacro( ThinPlateSplineKernelTransform, KernelTransform );
00054 
00056   itkNewMacro( Self );
00057 
00059   typedef typename Superclass::ScalarType  ScalarType;
00060 
00062   typedef typename Superclass::ParametersType  ParametersType;
00063 
00065   typedef typename Superclass::JacobianType  JacobianType;
00066 
00068   itkStaticConstMacro(SpaceDimension, unsigned int,Superclass::SpaceDimension);
00069 
00071   itkSetMacro( Alpha, TScalarType );
00072   
00074   itkGetMacro( Alpha, TScalarType );
00075   
00078   typedef typename Superclass::InputPointType  InputPointType;
00079   typedef typename Superclass::OutputPointType  OutputPointType;
00080   typedef typename Superclass::InputVectorType InputVectorType;
00081   typedef typename Superclass::OutputVectorType OutputVectorType;
00082   typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType;
00083   typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
00084     
00085 
00086 protected:
00087   ElasticBodyReciprocalSplineKernelTransform();
00088   virtual ~ElasticBodyReciprocalSplineKernelTransform();
00089   
00092   typedef typename Superclass::GMatrixType GMatrixType;
00093 
00103   const GMatrixType & ComputeG(const InputVectorType& x) const;
00104 
00106   TScalarType m_Alpha;
00107 
00108   private:
00109   ElasticBodyReciprocalSplineKernelTransform(const Self&); //purposely not implemented
00110   void operator=(const Self&); //purposely not implemented
00111 
00112 };
00113 
00114 } // namespace itk
00115 
00116 #ifndef ITK_MANUAL_INSTANTIATION
00117 #include "itkElasticBodyReciprocalSplineKernelTransform.txx"
00118 #endif
00119 
00120 #endif // __itkElasticBodyReciprocalSplineKernelTransform_h

Generated at Fri May 21 01:14:40 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000