itkScaleLogarithmicTransform.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __itkScaleLogarithmicTransform_h
00019 #define __itkScaleLogarithmicTransform_h
00020
00021 #include "itkScaleTransform.h"
00022
00023 namespace itk
00024 {
00025
00034 template <
00035 class TScalarType=float,
00036 unsigned int NDimensions=3 >
00037 class ITK_EXPORT ScaleLogarithmicTransform :
00038 public ScaleTransform< TScalarType,
00039 NDimensions >
00040 {
00041 public:
00043 typedef ScaleLogarithmicTransform Self;
00044 typedef ScaleTransform< TScalarType, NDimensions > Superclass;
00045 typedef SmartPointer<Self> Pointer;
00046 typedef SmartPointer<const Self> ConstPointer;
00047
00049 itkNewMacro( Self );
00050
00052 itkTypeMacro( ScaleLogarithmicTransform, ScaleTransform );
00053
00055 itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
00056 itkStaticConstMacro(ParametersDimension, unsigned int, NDimensions);
00058
00060 typedef typename Superclass::ScalarType ScalarType;
00061
00063 typedef typename Superclass::ParametersType ParametersType;
00064
00066 typedef typename Superclass::JacobianType JacobianType;
00067
00069 typedef typename Superclass::ScaleType ScaleType;
00070
00072 typedef typename Superclass::InputVectorType InputVectorType;
00073 typedef typename Superclass::OutputVectorType OutputVectorType;
00074
00076 typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType;
00077 typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
00078
00080 typedef typename Superclass::InputVnlVectorType InputVnlVectorType;
00081 typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType;
00082
00084 typedef typename Superclass::InputPointType InputPointType;
00085 typedef typename Superclass::OutputPointType OutputPointType;
00086
00090 void SetParameters(const ParametersType & parameters);
00091
00097 const ParametersType & GetParameters( void ) const;
00098
00100 const JacobianType & GetJacobian( const InputPointType & point ) const;
00101
00102 protected:
00104 ScaleLogarithmicTransform();
00105
00107 ~ScaleLogarithmicTransform();
00108
00110 void PrintSelf(std::ostream &os, Indent indent) const;
00111
00112 private:
00113 ScaleLogarithmicTransform(const Self & other);
00114 const Self & operator=( const Self & );
00115
00116 };
00117
00118 }
00119
00120
00121 #define ITK_TEMPLATE_ScaleLogarithmicTransform(_, EXPORT, x, y) namespace itk { \
00122 _(2(class EXPORT ScaleLogarithmicTransform< ITK_TEMPLATE_2 x >)) \
00123 namespace Templates { typedef ScaleLogarithmicTransform< ITK_TEMPLATE_2 x > \
00124 ScaleLogarithmicTransform##y; } \
00125 }
00126
00127 #if ITK_TEMPLATE_EXPLICIT
00128 # include "Templates/itkScaleLogarithmicTransform+-.h"
00129 #endif
00130
00131 #if ITK_TEMPLATE_TXX
00132 # include "itkScaleLogarithmicTransform.txx"
00133 #endif
00134
00135 #endif
00136