]> Creatis software - clitk.git/blobdiff - common/clitkFilterBase.h
Add one slice for the S1RL support
[clitk.git] / common / clitkFilterBase.h
index b8a154a8b2e7502f245dbe459670fac77bdaf9f4..29caaf08d94fccb6fbe5d6c46410f7c6fb231d9c 100644 (file)
@@ -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
-  ======================================================================-====*/
+  ===========================================================================**/
 
 #ifndef CLITKFILTERBASE_H
 #define CLITKFILTERBASE_H
@@ -69,6 +69,11 @@ namespace clitk {
     itkGetConstMacro(VerboseMemoryFlag, bool);
     itkBooleanMacro(VerboseMemoryFlag);
 
+    // Verbose ImageSize
+    itkSetMacro(VerboseImageSizeFlag, bool);
+    itkGetConstMacro(VerboseImageSizeFlag, bool);
+    itkBooleanMacro(VerboseImageSizeFlag);
+
     // Steps management
     itkSetMacro(NumberOfSteps, int);
     itkGetConstMacro(NumberOfSteps, int);
@@ -115,13 +120,14 @@ namespace clitk {
     virtual ~FilterBase() {}    
     void StartNewStep(std::string s);
     template<class TInternalImageType>
-    void StopCurrentStep(typename TInternalImageType::Pointer p);
+    void StopCurrentStep(typename TInternalImageType::Pointer p, std::string txt="");
     void StopCurrentStep();
 
     bool m_VerboseFlag;  
     bool m_VerboseOptionFlag;  
     bool m_VerboseStepFlag;
     bool m_VerboseMemoryFlag;
+    bool m_VerboseImageSizeFlag;
     bool m_WriteStepFlag;
     int m_CurrentStepNumber;
     int m_NumberOfSteps;