Skip to content
Snippets Groups Projects
Commit 4da32ecd authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Renaming NoDataMask application to ManageNoData following comments to RFC-7

parent 85b278f8
No related branches found
No related tags found
No related merge requests found
...@@ -89,6 +89,6 @@ otb_create_application( ...@@ -89,6 +89,6 @@ otb_create_application(
LINK_LIBRARIES ${${otb-module}_LIBRARIES}) LINK_LIBRARIES ${${otb-module}_LIBRARIES})
otb_create_application( otb_create_application(
NAME NoDataMask NAME ManageNoData
SOURCES otbNoDataMask.cxx SOURCES otbManageNoData.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES}) LINK_LIBRARIES ${${otb-module}_LIBRARIES})
...@@ -26,11 +26,11 @@ namespace otb ...@@ -26,11 +26,11 @@ namespace otb
namespace Wrapper namespace Wrapper
{ {
class NoDataMask : public Application class ManageNoData : public Application
{ {
public: public:
/** Standard class typedefs. */ /** Standard class typedefs. */
typedef NoDataMask Self; typedef ManageNoData Self;
typedef Application Superclass; typedef Application Superclass;
typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer; typedef itk::SmartPointer<const Self> ConstPointer;
...@@ -38,7 +38,7 @@ public: ...@@ -38,7 +38,7 @@ public:
/** Standard macro */ /** Standard macro */
itkNewMacro(Self); itkNewMacro(Self);
itkTypeMacro(NoDataMask, otb::Application); itkTypeMacro(ManageNoData, otb::Application);
/** Filters typedef */ /** Filters typedef */
typedef otb::ImageToNoDataMaskFilter<FloatVectorImageType,UInt8ImageType> FilterType; typedef otb::ImageToNoDataMaskFilter<FloatVectorImageType,UInt8ImageType> FilterType;
...@@ -47,8 +47,8 @@ public: ...@@ -47,8 +47,8 @@ public:
private: private:
void DoInit() void DoInit()
{ {
SetName("NoDataMask"); SetName("ManageNoData");
SetDescription("NoDataMask"); SetDescription("ManageNoData");
// Documentation // Documentation
SetDocName("No Data Mask management"); SetDocName("No Data Mask management");
SetDocLongDescription("This application builds a nodata mask from the no data flags found in metadata or from NaN pixels."); SetDocLongDescription("This application builds a nodata mask from the no data flags found in metadata or from NaN pixels.");
...@@ -136,5 +136,5 @@ private: ...@@ -136,5 +136,5 @@ private:
} }
} }
OTB_APPLICATION_EXPORT(otb::Wrapper::NoDataMask) OTB_APPLICATION_EXPORT(otb::Wrapper::ManageNoData)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment