Commit ffeea88a authored by Mickael Savinaud's avatar Mickael Savinaud

ENH: remove the GenerateInputRequestedRegion method from otbImageFileReader...

ENH: remove the GenerateInputRequestedRegion method from otbImageFileReader because all the streaming is managed now in UpdateOutputData
parent 492eb20f
......@@ -233,8 +233,6 @@ protected:
/** Does the real work. */
virtual void GenerateData(void);
virtual void GenerateInputRequestedRegion();
private:
ImageFileWriter(const ImageFileWriter &); //purposely not implemented
......
......@@ -352,27 +352,6 @@ ImageFileWriter<TInputImage>
}
}
template<class TInputImage>
void
ImageFileWriter<TInputImage>
::GenerateInputRequestedRegion()
{
Superclass::GenerateInputRequestedRegion();
InputImageType * inputPtr = const_cast<InputImageType*>(this->GetInput());
if(!inputPtr)
{
return;
}
typename InputImageType::RegionType lregion = inputPtr->GetLargestPossibleRegion();
typename InputImageType::SizeType rsize;
rsize.Fill(0);
lregion.SetSize(rsize);
inputPtr->SetRequestedRegion(lregion);
}
/**
*
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment