]> Creatis software - clitk.git/blobdiff - common/clitkImageToImageGenericFilterBase.h
Do not propose an option that you have removed!
[clitk.git] / common / clitkImageToImageGenericFilterBase.h
index 4b27950d4f406b8e5652d173b679c18ac77d636b..aa6190460139eca75b851030b2d3d22938b6de97 100644 (file)
@@ -92,6 +92,13 @@ namespace clitk {
 
     // 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;
@@ -122,6 +129,7 @@ namespace clitk {
     std::string m_LastError;
     void SetFilterBase(FilterBase * f) { m_FilterBase = f; }
     FilterBase * m_FilterBase;
+    bool m_StopOnError;
 
   }; // end class clitk::ImageToImageGenericFilter