From: David Sarrut Date: Fri, 3 Feb 2012 06:57:12 +0000 (+0100) Subject: Compatibility X-Git-Tag: v1.4.0~262 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b3fd4c710548a525eba1c6fabe94390c793e8fe8;p=clitk.git Compatibility --- 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; }