From 4298f02672f69f74104ca409d2b11a234cf41b6c Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@gmail.com>
Date: Thu, 28 Oct 2010 15:56:12 +0200
Subject: [PATCH] STY:replace std::cout by otbGenericMsgDebug

---
 Code/Projections/otbPhysicalToRPCSensorModelImageFilter.txx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Code/Projections/otbPhysicalToRPCSensorModelImageFilter.txx b/Code/Projections/otbPhysicalToRPCSensorModelImageFilter.txx
index 5b7112d43f..84a7a75e43 100644
--- a/Code/Projections/otbPhysicalToRPCSensorModelImageFilter.txx
+++ b/Code/Projections/otbPhysicalToRPCSensorModelImageFilter.txx
@@ -108,8 +108,9 @@ PhysicalToRPCSensorModelImageFilter<TImage>
   
     m_GCPsToSensorModelFilter->SetInput(input);
     m_GCPsToSensorModelFilter->UpdateOutputInformation();
-    std::cout<<"RPC model estimated. RMS ground error: "<<m_GCPsToSensorModelFilter->GetRMSGroundError()
-             <<", Mean error: "<<m_GCPsToSensorModelFilter->GetMeanError()<<std::endl;
+    
+    otbGenericMsgDebugMacro(<<"RPC model estimated. RMS ground error: "<<m_GCPsToSensorModelFilter->GetRMSGroundError()
+             <<", Mean error: "<<m_GCPsToSensorModelFilter->GetMeanError());
   
     // Encapsulate the keywordlist
     itk::MetaDataDictionary& dict = this->GetOutput()->GetMetaDataDictionary();
-- 
GitLab