From 4da32ecdb777033c69ab35ae93d40606c01bca12 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Fri, 11 Sep 2015 17:10:40 +0200 Subject: [PATCH] ENH: Renaming NoDataMask application to ManageNoData following comments to RFC-7 --- .../Applications/AppImageUtils/app/CMakeLists.txt | 4 ++-- .../app/{otbNoDataMask.cxx => otbManageNoData.cxx} | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) rename Modules/Applications/AppImageUtils/app/{otbNoDataMask.cxx => otbManageNoData.cxx} (94%) diff --git a/Modules/Applications/AppImageUtils/app/CMakeLists.txt b/Modules/Applications/AppImageUtils/app/CMakeLists.txt index 82ef77a588..637eb92640 100644 --- a/Modules/Applications/AppImageUtils/app/CMakeLists.txt +++ b/Modules/Applications/AppImageUtils/app/CMakeLists.txt @@ -89,6 +89,6 @@ otb_create_application( LINK_LIBRARIES ${${otb-module}_LIBRARIES}) otb_create_application( - NAME NoDataMask - SOURCES otbNoDataMask.cxx + NAME ManageNoData + SOURCES otbManageNoData.cxx LINK_LIBRARIES ${${otb-module}_LIBRARIES}) diff --git a/Modules/Applications/AppImageUtils/app/otbNoDataMask.cxx b/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx similarity index 94% rename from Modules/Applications/AppImageUtils/app/otbNoDataMask.cxx rename to Modules/Applications/AppImageUtils/app/otbManageNoData.cxx index 5f88cbbc57..e3ebf70fc1 100644 --- a/Modules/Applications/AppImageUtils/app/otbNoDataMask.cxx +++ b/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx @@ -26,11 +26,11 @@ namespace otb namespace Wrapper { -class NoDataMask : public Application +class ManageNoData : public Application { public: /** Standard class typedefs. */ - typedef NoDataMask Self; + typedef ManageNoData Self; typedef Application Superclass; typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<const Self> ConstPointer; @@ -38,7 +38,7 @@ public: /** Standard macro */ itkNewMacro(Self); - itkTypeMacro(NoDataMask, otb::Application); + itkTypeMacro(ManageNoData, otb::Application); /** Filters typedef */ typedef otb::ImageToNoDataMaskFilter<FloatVectorImageType,UInt8ImageType> FilterType; @@ -47,8 +47,8 @@ public: private: void DoInit() { - SetName("NoDataMask"); - SetDescription("NoDataMask"); + SetName("ManageNoData"); + SetDescription("ManageNoData"); // Documentation SetDocName("No Data Mask management"); SetDocLongDescription("This application builds a nodata mask from the no data flags found in metadata or from NaN pixels."); @@ -136,5 +136,5 @@ private: } } -OTB_APPLICATION_EXPORT(otb::Wrapper::NoDataMask) +OTB_APPLICATION_EXPORT(otb::Wrapper::ManageNoData) -- GitLab