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

itkScaleLogarithmicTransform.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkScaleLogarithmicTransform.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-03-03 15:09:07 $
00007   Version:   $Revision: 1.4 $
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 __itkScaleLogarithmicTransform_h
00019 #define __itkScaleLogarithmicTransform_h
00020 
00021 #include "itkScaleTransform.h"
00022 
00023 namespace itk
00024 {
00025 
00035 template <
00036     class TScalarType=float, // Type for cordinate representation type (float or double)
00037     unsigned int NDimensions=3  >  // Number of dimensions
00038 class ITK_EXPORT ScaleLogarithmicTransform : 
00039                             public ScaleTransform< TScalarType, 
00040                                                    NDimensions >
00041 {
00042 public:
00044   typedef ScaleLogarithmicTransform                   Self;
00045   typedef ScaleTransform< TScalarType, NDimensions >  Superclass;
00046   typedef SmartPointer<Self>                          Pointer;
00047   typedef SmartPointer<const Self>                    ConstPointer;
00048 
00050   itkNewMacro( Self );
00051 
00053   itkTypeMacro( ScaleLogarithmicTransform, ScaleTransform );
00054 
00056   itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
00057   itkStaticConstMacro(ParametersDimension, unsigned int, NDimensions);
00059 
00061   typedef typename Superclass::ScalarType  ScalarType;
00062 
00064   typedef typename Superclass::ParametersType  ParametersType;
00065 
00067   typedef typename Superclass::JacobianType  JacobianType;
00068 
00070   typedef typename Superclass::ScaleType              ScaleType;
00071 
00073   typedef typename Superclass::InputVectorType          InputVectorType;
00074   typedef typename Superclass::OutputVectorType         OutputVectorType;
00075 
00077   typedef typename Superclass::InputCovariantVectorType   InputCovariantVectorType;
00078   typedef typename Superclass::OutputCovariantVectorType  OutputCovariantVectorType;
00079 
00081   typedef typename Superclass::InputVnlVectorType         InputVnlVectorType;
00082   typedef typename Superclass::OutputVnlVectorType        OutputVnlVectorType;
00083 
00085   typedef typename Superclass::InputPointType             InputPointType;
00086   typedef typename Superclass::OutputPointType            OutputPointType;
00087 
00091   void SetParameters(const ParametersType & parameters);
00092 
00098   const ParametersType & GetParameters( void ) const;
00099 
00101   const JacobianType & GetJacobian( const InputPointType & point ) const;
00102 
00103 protected:
00105   ScaleLogarithmicTransform();
00106 
00108   ~ScaleLogarithmicTransform();
00109 
00111   void PrintSelf(std::ostream &os, Indent indent) const;
00112 
00113 private:
00114   ScaleLogarithmicTransform(const Self & other); //purposely not implemented
00115   const Self & operator=( const Self & ); //purposely not implemented
00116 
00117 }; //class ScaleLogarithmicTransform
00118 
00119 }  // namespace itk
00120 
00121 // Define instantiation macro for this template.
00122 #define ITK_TEMPLATE_ScaleLogarithmicTransform(_, EXPORT, x, y) namespace itk { \
00123   _(2(class EXPORT ScaleLogarithmicTransform< ITK_TEMPLATE_2 x >)) \
00124   namespace Templates { typedef ScaleLogarithmicTransform< ITK_TEMPLATE_2 x > \
00125                                                   ScaleLogarithmicTransform##y; } \
00126   }
00127 
00128 #if ITK_TEMPLATE_EXPLICIT
00129 # include "Templates/itkScaleLogarithmicTransform+-.h"
00130 #endif
00131 
00132 #if ITK_TEMPLATE_TXX
00133 # include "itkScaleLogarithmicTransform.txx"
00134 #endif
00135 
00136 #endif /* __itkScaleLogarithmicTransform_h */
00137 

Generated at Tue Sep 15 04:49:07 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000