X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageToImageGenericFilterBase.h;h=280dd6569a4ce25c622339c25a3a5f85fcff1b08;hb=b1afe238d2f4c78245e1824afd251e08b5216311;hp=aa6190460139eca75b851030b2d3d22938b6de97;hpb=cdc758fb7451d13b9ed6f2d2f2e229593376b2e0;p=clitk.git diff --git a/common/clitkImageToImageGenericFilterBase.h b/common/clitkImageToImageGenericFilterBase.h index aa61904..280dd65 100644 --- a/common/clitkImageToImageGenericFilterBase.h +++ b/common/clitkImageToImageGenericFilterBase.h @@ -20,7 +20,6 @@ #define CLITKIMAGETOIMAGEGENERICFILTERBASE_H // clitk -#include "clitkCommon.h" #include "clitkImageCommon.h" #include "clitkCommonGenericFilter.h" #include "clitkFilterBase.h" @@ -54,9 +53,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,11 +93,11 @@ namespace clitk { FilterBase * GetFilterBase() { return m_FilterBase; } // Indicate that the filter must stop as soon as possible (if threaded) - void MustStop(); + // void MustStop(); void DeleteLastOutputImage(); - itkSetMacro(StopOnError, bool); - itkGetConstMacro(StopOnError, bool); - itkBooleanMacro(StopOnError); + // itkSetMacro(StopOnError, bool); + // itkGetConstMacro(StopOnError, bool); + // itkBooleanMacro(StopOnError); protected: bool m_ReadOnDisk; @@ -126,10 +125,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