From d86ac9276f448a8be597e2d2c6722ad5a42461f6 Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org>
Date: Sun, 3 Jun 2012 17:57:40 +0200
Subject: [PATCH] ENH;rename LargeScaleSegmentation app in Segmentation app

---
 Applications/Segmentation/CMakeLists.txt               | 10 +++++-----
 ...bLargeScaleSegmentation.cxx => otbSegmentation.cxx} | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)
 rename Applications/Segmentation/{otbLargeScaleSegmentation.cxx => otbSegmentation.cxx} (99%)

diff --git a/Applications/Segmentation/CMakeLists.txt b/Applications/Segmentation/CMakeLists.txt
index f313addedd..652eefb6db 100644
--- a/Applications/Segmentation/CMakeLists.txt
+++ b/Applications/Segmentation/CMakeLists.txt
@@ -10,9 +10,9 @@ OTB_CREATE_APPLICATION(NAME           ConnectedComponentSegmentation
 OTB_CREATE_APPLICATION(NAME           HooverCompareSegmentation
                        SOURCES        otbHooverCompareSegmentation.cxx
                        LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters)
-                       
-OTB_CREATE_APPLICATION(NAME           LargeScaleSegmentation
-                       SOURCES        otbLargeScaleSegmentation.cxx
+
+OTB_CREATE_APPLICATION(NAME           Segmentation
+                       SOURCES        otbSegmentation.cxx
                        LINK_LIBRARIES OTBBasicFilters;OTBOBIA;OTBOGRAdapters)
-                       
-                       
+
+
diff --git a/Applications/Segmentation/otbLargeScaleSegmentation.cxx b/Applications/Segmentation/otbSegmentation.cxx
similarity index 99%
rename from Applications/Segmentation/otbLargeScaleSegmentation.cxx
rename to Applications/Segmentation/otbSegmentation.cxx
index 239ef1227c..fac24af77f 100644
--- a/Applications/Segmentation/otbLargeScaleSegmentation.cxx
+++ b/Applications/Segmentation/otbSegmentation.cxx
@@ -41,11 +41,11 @@ namespace otb
 {
 namespace Wrapper
 {
-class LargeScaleSegmentation : public Application
+class Segmentation : public Application
 {
 public:
   /** Standard class typedefs. */
-  typedef LargeScaleSegmentation        Self;
+  typedef Segmentation        Self;
   typedef Application                   Superclass;
   typedef itk::SmartPointer<Self>       Pointer;
   typedef itk::SmartPointer<const Self> ConstPointer;
@@ -122,12 +122,12 @@ public:
 
   /** Standard macro */
   itkNewMacro(Self);
-  itkTypeMacro(LargeScaleSegmentation, otb::Application);
+  itkTypeMacro(Segmentation, otb::Application);
 
 private:
   void DoInit()
   {
-    SetName("LargeScaleSegmentation");
+    SetName("Segmentation");
     SetDescription("Performs Large scale segmentation");
 
     // Documentation
@@ -542,4 +542,4 @@ private:
 }
 }
 
-OTB_APPLICATION_EXPORT(otb::Wrapper::LargeScaleSegmentation)
+OTB_APPLICATION_EXPORT(otb::Wrapper::Segmentation)
-- 
GitLab