diff --git a/Code/Visu/otbGLVectorImageViewClick.h b/Code/Visu/otbGLVectorImageViewClick.h
index f4001a8cc529db134d2f166ac0f57a971940d56c..0d04851a6858606e534910aaee139f437c6c1846 100755
--- a/Code/Visu/otbGLVectorImageViewClick.h
+++ b/Code/Visu/otbGLVectorImageViewClick.h
@@ -290,10 +290,10 @@ public:
   const OverlayPointer & GetInputOverlay(void) const;
 
   /*! Return a pointer to the overlay data for the Red Class*/
-  const OverlayPointer & GetInputOverlayRed(void) const;
+  const OverlayPointer & GetInputOverlayClassRed(void) const;
 
   /*! Return a pointer to the overlay data for the Blue Class*/
-  const OverlayPointer & GetInputOverlayBlue(void) const;
+  const OverlayPointer & GetInputOverlayClassBlue(void) const;
   
   /*! Turn on/off the viewing of the overlay */
   void  ViewOverlayData(bool newViewOverlayData);
diff --git a/Code/Visu/otbGLVectorImageViewClick.txx b/Code/Visu/otbGLVectorImageViewClick.txx
index 66d51aec04887ba76d610aafe48170daed973829..e06124930352dc76fdbe75f94a6dbe3725da02e1 100755
--- a/Code/Visu/otbGLVectorImageViewClick.txx
+++ b/Code/Visu/otbGLVectorImageViewClick.txx
@@ -840,6 +840,24 @@ GLVectorImageViewClick<TPixel, TPixelOverlay>
   {
   	return this->cOverlayData;
   }
+
+  template <class TPixel, class TPixelOverlay>
+  const typename GLVectorImageViewClick<TPixel, 
+  TPixelOverlay>::OverlayPointer &
+  GLVectorImageViewClick<TPixel, TPixelOverlay>::GetInputOverlayClassRed( void ) 
+  const
+  {
+  	return this->cOverlayDataClassRed;
+  }
+
+  template <class TPixel, class TPixelOverlay>
+  const typename GLVectorImageViewClick<TPixel, 
+  TPixelOverlay>::OverlayPointer &
+  GLVectorImageViewClick<TPixel, TPixelOverlay>::GetInputOverlayClassBlue( void ) 
+  const
+  {
+  	return this->cOverlayDataClassBlue;
+  }
   
   template <class TPixel, class TPixelOverlay>
   void 
diff --git a/Code/Visu/otbPrincipalImageViewAS.txx b/Code/Visu/otbPrincipalImageViewAS.txx
index 96308ea6f3bec2e807822128cb95a18aeb6798e6..455a3d4a8340c6235bd4f92dde2f2650e6cbd673 100755
--- a/Code/Visu/otbPrincipalImageViewAS.txx
+++ b/Code/Visu/otbPrincipalImageViewAS.txx
@@ -541,7 +541,7 @@ PrincipalImageViewAS<TPixel, TPixelOverlay>::ClassificationStep()
     }
 
 //  cOverlayData ....
-  this->SetInputOverlay(outputImage,ImageClassRed, ImageClassBlue);
+  this->SetInputOverlay(outputImage,ImageClassRed, ImageClassBlue );
 //ViewOverlayData(true);
 	
 std::cout << "End Classif" << std::endl;