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
00035 template <
00036 class TScalarType=float,
00037 unsigned int NDimensions=3 >
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 typedef typename ParametersType::ValueType ParametersValueType;
00066
00068 typedef typename Superclass::JacobianType JacobianType;
00069
00071 typedef typename Superclass::ScaleType ScaleType;
00072 typedef typename ScaleType::ValueType ScalesValueType;
00073
00075 typedef typename Superclass::InputVectorType InputVectorType;
00076 typedef typename Superclass::OutputVectorType OutputVectorType;
00077
00079 typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType;
00080 typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
00081
00083 typedef typename Superclass::InputVnlVectorType InputVnlVectorType;
00084 typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType;
00085
00087 typedef typename Superclass::InputPointType InputPointType;
00088 typedef typename Superclass::OutputPointType OutputPointType;
00089
00093 void SetParameters(const ParametersType & parameters);
00094
00100 const ParametersType & GetParameters( void ) const;
00101
00103 const JacobianType & GetJacobian( const InputPointType & point ) const;
00104
00105 protected:
00107 ScaleLogarithmicTransform();
00108
00110 ~ScaleLogarithmicTransform();
00111
00113 void PrintSelf(std::ostream &os, Indent indent) const;
00114
00115 private:
00116 ScaleLogarithmicTransform(const Self & other);
00117 const Self & operator=( const Self & );
00118
00119 };
00120
00121 }
00122
00123
00124 #define ITK_TEMPLATE_ScaleLogarithmicTransform(_, EXPORT, x, y) namespace itk { \
00125 _(2(class EXPORT ScaleLogarithmicTransform< ITK_TEMPLATE_2 x >)) \
00126 namespace Templates { typedef ScaleLogarithmicTransform< ITK_TEMPLATE_2 x > \
00127 ScaleLogarithmicTransform##y; } \
00128 }
00129
00130 #if ITK_TEMPLATE_EXPLICIT
00131 # include "Templates/itkScaleLogarithmicTransform+-.h"
00132 #endif
00133
00134 #if ITK_TEMPLATE_TXX
00135 # include "itkScaleLogarithmicTransform.txx"
00136 #endif
00137
00138 #endif
00139