diff --git a/Code/Projections/otbLambert2EtenduProjection.h b/Code/Projections/otbLambert2EtenduProjection.h index c861e17de78812a814d925045c9ed49bce8a6caf..1e9a2777d1fe8db549bd817eae8d7c5d81e1d049 100644 --- a/Code/Projections/otbLambert2EtenduProjection.h +++ b/Code/Projections/otbLambert2EtenduProjection.h @@ -27,8 +27,8 @@ namespace otb * It converts coordinates in longitude, latitude (WGS84) to Lambert 2 Etendu map coordinates. * */ -template <TransformDirection::TransformationDirection transform> -class ITK_EXPORT Lambert2EtenduProjection : public LambertConformalConicMapProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +class ITK_EXPORT Lambert2EtenduProjection : public LambertConformalConicMapProjection<TTransform> { public: /** Standard class typedefs. */ diff --git a/Code/Projections/otbLambert2EtenduProjection.txx b/Code/Projections/otbLambert2EtenduProjection.txx index 6cf81ad08f2c73bcd7a55eb068361279d0d917df..0acf0d864f8bb694da2d53526014689f5afdf3e4 100644 --- a/Code/Projections/otbLambert2EtenduProjection.txx +++ b/Code/Projections/otbLambert2EtenduProjection.txx @@ -24,8 +24,8 @@ namespace otb { -template <TransformDirection::TransformationDirection transform> -Lambert2EtenduProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +Lambert2EtenduProjection<TTransform> ::Lambert2EtenduProjection() { itk::Point<double, 2> origin; @@ -46,8 +46,8 @@ Lambert2EtenduProjection<transform> this->SetParameters(parall1, parall2, falseEasting, falseNorthing); } -template <TransformDirection::TransformationDirection transform> -Lambert2EtenduProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +Lambert2EtenduProjection<TTransform> ::~Lambert2EtenduProjection() { } diff --git a/Code/Projections/otbLambert3CartoSudProjection.h b/Code/Projections/otbLambert3CartoSudProjection.h index c32e5189403cf91388a97cf3340ccbb9a86e2a62..249983070e1d39ed93a22cfa9a71f4c39872ff43 100644 --- a/Code/Projections/otbLambert3CartoSudProjection.h +++ b/Code/Projections/otbLambert3CartoSudProjection.h @@ -27,8 +27,8 @@ namespace otb * It converts coordinates in longitude, latitude (WGS84) to Lambert 3 map coordinates. * */ -template <TransformDirection::TransformationDirection transform> -class ITK_EXPORT Lambert3CartoSudProjection : public LambertConformalConicMapProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +class ITK_EXPORT Lambert3CartoSudProjection : public LambertConformalConicMapProjection<TTransform> { public: /** Standard class typedefs. */ diff --git a/Code/Projections/otbLambert3CartoSudProjection.txx b/Code/Projections/otbLambert3CartoSudProjection.txx index 541391cb09afc0798e390c7ca242fd3a1b8b7972..629af6b46ea65c814782bafe1c9aae1ad98babbd 100644 --- a/Code/Projections/otbLambert3CartoSudProjection.txx +++ b/Code/Projections/otbLambert3CartoSudProjection.txx @@ -24,8 +24,8 @@ namespace otb { -template <TransformDirection::TransformationDirection transform> -Lambert3CartoSudProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +Lambert3CartoSudProjection<TTransform> ::Lambert3CartoSudProjection() { itk::Point<double, 2> origin; @@ -46,8 +46,8 @@ Lambert3CartoSudProjection<transform> this->SetParameters(parall1, parall2, falseEasting, falseNorthing); } -template <TransformDirection::TransformationDirection transform> -Lambert3CartoSudProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +Lambert3CartoSudProjection<TTransform> ::~Lambert3CartoSudProjection() { } diff --git a/Code/Projections/otbSVY21MapProjection.h b/Code/Projections/otbSVY21MapProjection.h index c0c079847ffc527e27b0c26df6e5d83b77cf0435..a4513332e6fa8cca92f227b07f6a1eccf01e892c 100644 --- a/Code/Projections/otbSVY21MapProjection.h +++ b/Code/Projections/otbSVY21MapProjection.h @@ -27,15 +27,15 @@ namespace otb * It converts coordinates in longitude, latitude (WGS84) to SVY21 map coordinates. * */ -template <TransformDirection::TransformationDirection transform> -class ITK_EXPORT SVY21MapProjection : public TransMercatorMapProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +class ITK_EXPORT SVY21MapProjection : public TransMercatorMapProjection<TTransform> { public: /** Standard class typedefs. */ - typedef SVY21MapProjection Self; - typedef TransMercatorMapProjection<transform> Superclass; - typedef itk::SmartPointer<Self> Pointer; - typedef itk::SmartPointer<const Self> ConstPointer; + typedef SVY21MapProjection Self; + typedef TransMercatorMapProjection<TTransform> Superclass; + typedef itk::SmartPointer<Self> Pointer; + typedef itk::SmartPointer<const Self> ConstPointer; typedef typename Superclass::ScalarType ScalarType; typedef itk::Point<ScalarType, 2> InputPointType; diff --git a/Code/Projections/otbSVY21MapProjection.txx b/Code/Projections/otbSVY21MapProjection.txx index 392afb8e17437dad23e94f5655e3b9189225d875..16f05cfa3669f1fe573f31c7e28961b709a62186 100644 --- a/Code/Projections/otbSVY21MapProjection.txx +++ b/Code/Projections/otbSVY21MapProjection.txx @@ -24,8 +24,8 @@ namespace otb { -template <TransformDirection::TransformationDirection transform> -SVY21MapProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +SVY21MapProjection<TTransform> ::SVY21MapProjection() { itk::Point<double, 2> origin; @@ -45,8 +45,8 @@ SVY21MapProjection<transform> this->SetParameters(falseEasting, falseNorthing, scaleFactor); } -template <TransformDirection::TransformationDirection transform> -SVY21MapProjection<transform> +template <TransformDirection::TransformationDirection TTransform> +SVY21MapProjection<TTransform> ::~SVY21MapProjection() { }