21 #ifndef otbImageList_hxx
22 #define otbImageList_hxx
30 template <
class TImage>
33 Superclass::UpdateOutputData();
34 for (
ConstIterator it = this->Begin(); it != this->End(); ++it)
36 if (it.Get()->GetUpdateMTime() < it.Get()->GetPipelineMTime() || it.Get()->GetDataReleased() || it.Get()->RequestedRegionIsOutsideOfTheBufferedRegion())
38 if (it.Get()->GetSource())
40 it.Get()->GetSource()->UpdateOutputData(it.Get());
46 template <
class TImage>
49 Superclass::PropagateRequestedRegion();
51 for (
ConstIterator it = this->Begin(); it != this->End(); ++it)
53 if (it.Get()->GetUpdateMTime() < it.Get()->GetPipelineMTime() || it.Get()->GetDataReleased() || it.Get()->RequestedRegionIsOutsideOfTheBufferedRegion())
56 if (it.Get()->GetSource())
58 it.Get()->GetSource()->PropagateRequestedRegion(it.Get());
61 if (!it.Get()->VerifyRequestedRegion())
64 itk::InvalidRequestedRegionError e(__FILE__, __LINE__);
65 e.SetLocation(ITK_LOCATION);
66 e.SetDataObject(it.Get());
67 e.SetDescription(
"Requested region is (at least partially) outside the largest possible region.");
76 template <
class TImage>
79 for (
ConstIterator it = this->Begin(); it != this->End(); ++it)
81 it.Get()->SetRequestedRegion(source);
85 template <
class TImage>
89 Superclass::UpdateOutputInformation();
91 if (this->GetSource())
93 this->GetSource()->UpdateOutputInformation();
95 for (
ConstIterator it = this->Begin(); it != this->End(); ++it)
97 if (it.Get()->GetSource())
99 it.Get()->GetSource()->UpdateOutputInformation();