#define CLITKIMAGETOIMAGEGENERICFILTERBASE_H
// clitk
-#include "clitkCommon.h"
#include "clitkImageCommon.h"
#include "clitkCommonGenericFilter.h"
#include "clitkFilterBase.h"
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
// Get the associated filter
FilterBase * GetFilterBase() { return m_FilterBase; }
+
+ // Indicate that the filter must stop as soon as possible (if threaded)
+ // void MustStop();
+ void DeleteLastOutputImage();
+ // itkSetMacro(StopOnError, bool);
+ // itkGetConstMacro(StopOnError, bool);
+ // itkBooleanMacro(StopOnError);
protected:
bool m_ReadOnDisk;
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;
}; // end class clitk::ImageToImageGenericFilter