- 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_FilterName = n;
m_FailOnImageTypeError = true;
m_ReadOnDisk = true;
- m_LastError = "";
+ // m_LastError = "";
+ // StopOnErrorOn();
+ SetFilterBase(NULL);
}
//--------------------------------------------------------------------
//--------------------------------------------------------------------
+//--------------------------------------------------------------------
+// void clitk::ImageToImageGenericFilterBase::MustStop()
+// {
+// if (m_FilterBase != NULL) {
+// m_FilterBase->SetMustStop(true);
+// }
+// }
+//--------------------------------------------------------------------
+
+
+//--------------------------------------------------------------------
+void clitk::ImageToImageGenericFilterBase::DeleteLastOutputImage()
+{
+ if (m_OutputVVImages.size()>1) {
+ m_OutputVVImages.pop_back();
+ }
+}
+//--------------------------------------------------------------------
+
+
+//--------------------------------------------------------------------
+