From 219d8e1df764c76277e63e3dc766eb1984256587 Mon Sep 17 00:00:00 2001
From: Jonathan Guinet <jonathan.guinet@c-s.fr>
Date: Tue, 25 Oct 2011 11:36:34 +0200
Subject: [PATCH] DOC: Band Math application Doc update.

---
 Applications/Util/otbBandMath.cxx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Applications/Util/otbBandMath.cxx b/Applications/Util/otbBandMath.cxx
index d692c5e2bb..da1e792ec6 100644
--- a/Applications/Util/otbBandMath.cxx
+++ b/Applications/Util/otbBandMath.cxx
@@ -54,6 +54,17 @@ private:
   {
     SetName("BandMath");
     SetDescription("Perform a mathematical operation on monoband images");
+
+    SetDocName("Band Math Application");
+    SetDocLongDescription("This application performs a mathematical operation on monoband images."
+      " Mathematical formula interpretation is done via MuPasrer libraries http://muparser.sourceforge.net/");
+    SetDocLimitations("None");
+    SetDocAuthors("OTB-Team");
+    SetDocSeeAlso(" ");
+    SetDocCLExample("otbApplicationLauncherCommandLine BandMath ${OTB-BIN}/bin"
+      " --il ${OTB-Data}/oupees_sub_c1.png ${OTB-Data}/oupees_sub_c2.png ${OTB-Data}/oupees_sub.png"
+      "--out apTvUtBandMathOutput.tif --exp \"cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3,im3b4)\"");
+    AddDocTag("Util");
   }
 
   void DoCreateParameters()
-- 
GitLab