// 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;
std::string m_LastError;
void SetFilterBase(FilterBase * f) { m_FilterBase = f; }
FilterBase * m_FilterBase;
+ bool m_StopOnError;
}; // end class clitk::ImageToImageGenericFilter