From 5ba955843a91798a6e3a3be7827e2c2973af1e71 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Thu, 8 Mar 2012 13:31:08 +0100
Subject: [PATCH] MRG

---
 .../otbPixelWiseBlockMatchingImageFilter.h        | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h b/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h
index 52daf0b5e0..68eded701a 100644
--- a/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h
+++ b/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.h
@@ -287,6 +287,18 @@ public:
     return m_Functor;
   }
 
+  /** Get the functor for parameters setting */
+  BlockMatchingFunctorType &  GetFunctor()
+  {
+    return m_Functor;
+  }
+
+  /** Get the functor (const version) */
+  const BlockMatchingFunctorType &  GetFunctor() const
+  {
+    return m_Functor;
+  }
+
   /** Set initial horizontal disparity field (optional, override m_InitHorizontalDisparity) */
   void SetHorizontalDisparityInput( const TOutputDisparityImage * hfield);
 
@@ -341,6 +353,9 @@ private:
   /** Block-matching functor */
   BlockMatchingFunctorType      m_Functor;  
 
+  /** Block-matching functor */
+  BlockMatchingFunctorType      m_Functor;  
+
   /** Block-matching functor */
   BlockMatchingFunctorType      m_Functor;  
   
-- 
GitLab