]> Creatis software - clitk.git/blobdiff - common/clitkFilterBase.h
Merge branch 'master' of https://github.com/open-vv/vv
[clitk.git] / common / clitkFilterBase.h
index b05f64d24b81b97be443fd0f4e2ee1686b4978c4..1019b7b76aa49f9b28e8796151a2e60c7c89672b 100644 (file)
@@ -42,7 +42,10 @@ namespace clitk {
     typedef FilterBase  Self;
     
     // Run-time type information (and related methods)
-    itkTypeMacro(FilterBase, Object);
+    virtual const char *GetNameOfClass() const
+      {
+      return "FilterBase";
+      }
 
     // Needed by itkSetMacro (cannot inherit from itkObject because of
     // multiple inheritance)
@@ -118,7 +121,7 @@ namespace clitk {
   protected:
     FilterBase();
     virtual ~FilterBase() {}    
-    void StartNewStep(std::string s);
+    void StartNewStep(std::string s, bool endl=true);
     template<class TInternalImageType>
     void StopCurrentStep(typename TInternalImageType::Pointer p, std::string txt="");
     void StopCurrentStep();