From 68c0bd4abeaf8126c164a08c85de1f1fa56caad3 Mon Sep 17 00:00:00 2001
From: Guillaume Borrut <guillaume.borrut@c-s.fr>
Date: Wed, 25 Feb 2009 19:14:17 +0100
Subject: [PATCH] ENH: Modify Getters/Setters for NDBI functor

---
 Code/Radiometry/otbBuiltUpIndicesFunctor.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Code/Radiometry/otbBuiltUpIndicesFunctor.h b/Code/Radiometry/otbBuiltUpIndicesFunctor.h
index 47cc88b082..b5036042e5 100644
--- a/Code/Radiometry/otbBuiltUpIndicesFunctor.h
+++ b/Code/Radiometry/otbBuiltUpIndicesFunctor.h
@@ -63,22 +63,22 @@ public:
   virtual ~TM4AndTM5IndexBase() {};
 
   /// Set TM4 Index
-  void SetTM4Index(unsigned int channel)
+  void SetIndex1(unsigned int channel)
   {
     m_TM4Index = channel;
   }
   /// Get TM4 Index
-  unsigned int GetTM4Index()
+  unsigned int GetIndex1()
   {
     return m_TM4Index;
   }
   /// Set TM5 Index
-  void SetTM5Index(unsigned int channel)
+  void SetIndex2(unsigned int channel)
   {
     m_TM5Index = channel;
   }
   /// Get TM5 Index
-  unsigned int GetTM5Index()
+  unsigned int GetIndex2()
   {
     return m_TM5Index;
   }
-- 
GitLab