X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkFilterBase.cxx;h=f6bebad101072e7d8ed40fe62b710f962e802f1f;hb=378ee630dce37a3e15baf3a8027542c2f8cf43de;hp=7a089be39d8814f535342b9ecdf7da63a42ae65e;hpb=1fea92ac237c16c1f027ffabdb42066f6f4f6114;p=clitk.git diff --git a/common/clitkFilterBase.cxx b/common/clitkFilterBase.cxx index 7a089be..f6bebad 100644 --- a/common/clitkFilterBase.cxx +++ b/common/clitkFilterBase.cxx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - ======================================================================-====*/ + ===========================================================================**/ // clitk #include "clitkFilterBase.h" @@ -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; } }