From cdc8c5cc68dc63c46803db1ef77bbc5e351a640d Mon Sep 17 00:00:00 2001
From: Guillaume Borrut <guillaume.borrut@c-s.fr>
Date: Wed, 10 Sep 2008 17:05:00 +0000
Subject: [PATCH] STYLE. Comment std::cout

---
 .../otbMultiChannelsPolarimetricSynthesisFilter.h          | 3 ++-
 .../otbMultiChannelsPolarimetricSynthesisFilter.txx        | 7 ++++---
 Code/SARPolarimetry/otbPolarimetricData.cxx                | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h
index da8eacf460..06e6ba8679 100755
--- a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h
+++ b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h
@@ -163,7 +163,8 @@ public:
   itkSetMacro(Mode,int);
   itkGetMacro(Mode,int);
   /** Set the gain */
-  itkSetMacro(Gain,double);  
+  itkSetMacro(Gain,double);
+  itkGetMacro(Gain,double);  
   /** Force the copolar mode */
   void ForceCoPolar();  
   /** Force the crosspolar mode */
diff --git a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx
index 6ee966bd20..d632702df2 100755
--- a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx
+++ b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx
@@ -171,7 +171,7 @@ MultiChannelsPolarimetricSynthesisFilter<TInputImage,TOutputImage,TFunction>
   inputIt.GoToBegin();
   outputIt.GoToBegin();
 
-  int val = m_ArchitectureType->GetArchitectureType();
+  ArchitectureType val = m_ArchitectureType->GetArchitectureType();
 
   // Computation with 4 channels
   switch (val)
@@ -277,7 +277,7 @@ MultiChannelsPolarimetricSynthesisFilter<TInputImage,TOutputImage,TFunction>
 ::VerifyAndForceInputs()
 {
   
-  int val = m_ArchitectureType->GetArchitectureType();
+  ArchitectureType val = m_ArchitectureType->GetArchitectureType();
   
   switch(val)
     {
@@ -324,8 +324,9 @@ MultiChannelsPolarimetricSynthesisFilter<TInputImage,TOutputImage,TFunction>
 {
 
   int NumberOfImages = this->GetInput()->GetNumberOfComponentsPerPixel();
-std::cout<<"BeforeThreadedGenerateData : NbOfImages"<<NumberOfImages<<std::endl;
+///std::cout<<"BeforeThreadedGenerateData : NbOfImages"<<NumberOfImages<<std::endl;
 
+//std::cout<<"BeforeThreadedGenerateData : H : "<<GetEmissionH()<<" V : "<<GetEmissionV()<<std::endl;
   // First Part. Determine the kind of architecture of the input picture
   m_ArchitectureType->DetermineArchitecture(NumberOfImages,GetEmissionH(),GetEmissionV());
   
diff --git a/Code/SARPolarimetry/otbPolarimetricData.cxx b/Code/SARPolarimetry/otbPolarimetricData.cxx
index 295b1ca926..e19a255f91 100644
--- a/Code/SARPolarimetry/otbPolarimetricData.cxx
+++ b/Code/SARPolarimetry/otbPolarimetricData.cxx
@@ -105,7 +105,7 @@ std::cout<<"case2 : "<<std::endl;
         if (EmissionH && !EmissionV )
           {
             SetArchitectureType(HH_HV);
-std::cout<<"SET HH HV !! "<<std::endl;              
+std::cout<<"SET HH HV !! "<<std::endl;
           }
         else if (!EmissionH && EmissionV )
           {
-- 
GitLab