From 3c39a5dd8f8eb8f8930ffb3d4fe34fd524559b6e Mon Sep 17 00:00:00 2001 From: bharath Date: Thu, 12 Aug 2010 18:38:41 +0000 Subject: [PATCH] Functionality to delete last image --- common/clitkImageToImageGenericFilterBase.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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(); + } +} +//-------------------------------------------------------------------- + + +//-------------------------------------------------------------------- + -- 2.47.1