From: bharath Date: Thu, 12 Aug 2010 18:38:41 +0000 (+0000) Subject: Functionality to delete last image X-Git-Tag: v1.2.0~430 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3c39a5dd8f8eb8f8930ffb3d4fe34fd524559b6e;p=clitk.git Functionality to delete last image --- diff --git a/common/clitkImageToImageGenericFilterBase.cxx b/common/clitkImageToImageGenericFilterBase.cxx index 93b82fd..259ae04 100644 --- a/common/clitkImageToImageGenericFilterBase.cxx +++ b/common/clitkImageToImageGenericFilterBase.cxx @@ -319,4 +319,16 @@ void clitk::ImageToImageGenericFilterBase::MustStop() //-------------------------------------------------------------------- +//-------------------------------------------------------------------- +void clitk::ImageToImageGenericFilterBase::DeleteLastOutputImage() +{ + if (m_OutputVVImages.size()>1) { + m_OutputVVImages.pop_back(); + } +} +//-------------------------------------------------------------------- + + +//-------------------------------------------------------------------- +