- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
======================================================================-====*/
+
+// clitk
#include "clitkImageToImageGenericFilterBase.h"
+
+// itk
#include <itkImage.h>
//--------------------------------------------------------------------
m_FailOnImageTypeError = true;
m_ReadOnDisk = true;
m_LastError = "";
+ StopOnErrorOn();
+ SetFilterBase(NULL);
}
//--------------------------------------------------------------------
//--------------------------------------------------------------------
+//--------------------------------------------------------------------
+void clitk::ImageToImageGenericFilterBase::MustStop()
+{
+ if (m_FilterBase != NULL) {
+ m_FilterBase->SetMustStop(true);
+ }
+}
+//--------------------------------------------------------------------
+
+