X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageToImageGenericFilterBase.h;h=86cd77a7d1adfd0310535811c3cf30f8653070a5;hb=ff7b62d284bd4f5eadce3aff4b217ae722b369a7;hp=262d6fc82f85e3d53159ce316dfaccc3f4ee9384;hpb=868922dc773690f1be8f21159f10fc4702e5c09f;p=clitk.git diff --git a/common/clitkImageToImageGenericFilterBase.h b/common/clitkImageToImageGenericFilterBase.h index 262d6fc..86cd77a 100644 --- a/common/clitkImageToImageGenericFilterBase.h +++ b/common/clitkImageToImageGenericFilterBase.h @@ -54,9 +54,9 @@ namespace clitk { void SetFilterName(std::string & n); // Error management - itkSetMacro(LastError, std::string); - itkGetConstMacro(LastError, std::string); - bool HasError() { return (GetLastError() != ""); } + // itkSetMacro(LastError, std::string); + // itkGetConstMacro(LastError, std::string); + // bool HasError() { return (GetLastError() != ""); } // Generic IO /// Returns the dimension and pixel type of the *first* input @@ -94,10 +94,11 @@ namespace clitk { FilterBase * GetFilterBase() { return m_FilterBase; } // Indicate that the filter must stop as soon as possible (if threaded) - void MustStop(); - itkSetMacro(StopOnError, bool); - itkGetConstMacro(StopOnError, bool); - itkBooleanMacro(StopOnError); + // void MustStop(); + void DeleteLastOutputImage(); + // itkSetMacro(StopOnError, bool); + // itkGetConstMacro(StopOnError, bool); + // itkBooleanMacro(StopOnError); protected: bool m_ReadOnDisk; @@ -125,10 +126,10 @@ namespace clitk { void SetImageTypeError(); bool m_FailOnImageTypeError; - std::string m_LastError; + // std::string m_LastError; void SetFilterBase(FilterBase * f) { m_FilterBase = f; } FilterBase * m_FilterBase; - bool m_StopOnError; + // bool m_StopOnError; }; // end class clitk::ImageToImageGenericFilter