]> Creatis software - clitk.git/blobdiff - common/clitkFilterBase.cxx
Add scalar into clitkImageArithm operation
[clitk.git] / common / clitkFilterBase.cxx
index 482a82c52f249d365bea5e847e58c05da2ecd9ca..f6bebad101072e7d8ed40fe62b710f962e802f1f 100644 (file)
@@ -29,6 +29,7 @@ clitk::FilterBase::FilterBase()
   VerboseWarningFlagOn();
   VerboseWarningFlagOff();
   VerboseMemoryFlagOff();
+  VerboseImageSizeFlagOff();
   SetWarning("");
   VerboseWarningFlagOn();
   m_IsCancelled = false;
@@ -48,7 +49,7 @@ void clitk::FilterBase::SetWarning(std::string e)
 
 
 //--------------------------------------------------------------------
-void clitk::FilterBase::StartNewStep(std::string s) 
+void clitk::FilterBase::StartNewStep(std::string s, bool endl
 {
   if (Cancelled()) {
     throw clitk::ExceptionObject("Filter is canceled.");
@@ -68,7 +69,8 @@ void clitk::FilterBase::StartNewStep(std::string s)
 
   m_CurrentStepName = "Step "+GetCurrentStepId()+" -- "+s;
   if (GetVerboseStepFlag()) {
-    std::cout << m_CurrentStepName << std::endl;
+    std::cout << m_CurrentStepName;
+    if (endl) std::cout << std::endl;
     //"Step " << GetCurrentStepId() << " -- " << s << std::endl;
   }
 }