[Insight-developers] Re: ImageIO Streaming

Douglas Alan douglas_alan at harvard.edu
Mon Jul 2 12:53:44 EDT 2007


Luis Ibanez <luis.ibanez at kitware.com> wrote:

> After looking closely at the API required for Streaming the readers,
> it seems redundant to have the CanStreamRead() method along with the
> DetermingStreamableRegionFromRequestedRegion() method.

Right -- the default implementation for
DetermineStreamableRegionFromRequestedRegion() can use the values set in
ReadImageInformation() to determine the LargestPossibleRegion.  This
information is set in ReadImageInformation() via SetDimensions().  Is
all that right?

If so, then CanStreamRead() would seem to be unnecessary.

|>oug


More information about the Insight-developers mailing list