From b3fd4c710548a525eba1c6fabe94390c793e8fe8 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 3 Feb 2012 07:57:12 +0100 Subject: [PATCH] Compatibility --- itk/clitkExtractSliceFilter.txx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/itk/clitkExtractSliceFilter.txx b/itk/clitkExtractSliceFilter.txx index 43874d0..a449388 100644 --- a/itk/clitkExtractSliceFilter.txx +++ b/itk/clitkExtractSliceFilter.txx @@ -106,6 +106,7 @@ GenerateData() { m_region.SetSize(m_size); int start = m_index[GetDirection()]; this->SetNumberOfOutputs(m_NumberOfSlices); + // deprecated : use SetNumberOfIndexedInputs ? FIXME //-------------------------------------------------------------------- // loop ExtractImageFilter with region updated, push_back @@ -122,7 +123,7 @@ GenerateData() { extract->SetDirectionCollapseToSubmatrix(); #endif extract->Update(); - SetNthOutput(i, extract->GetOutput()); + this->SetNthOutput(i, extract->GetOutput()); } return; } -- 2.47.1