public interface ProductReaderListener
Modifier and Type | Method and Description |
---|---|
boolean |
handleBandRasterLineRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer,
int destBufferPos)
Called when a complete line has successfully been read.
|
boolean |
handleBandRasterRectRead(Band destBand,
int destOffsetX,
int destOffsetY,
int destWidth,
int destHeight,
ProductData destBuffer) |
boolean handleBandRasterLineRead(Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer, int destBufferPos)
destBand
- the destination band which identifies the data source from which to read the sample valuesdestOffsetX
- the X-offset in the band's raster co-ordinatesdestOffsetY
- the current line (Y-offset) in the band's raster co-ordinatesdestWidth
- the width of region to be read given in the band's raster co-ordinatesdestHeight
- the height of region to be read given in the band's raster co-ordinatesdestBuffer
- the destination buffer which receives the sample values to be readdestBufferPos
- the offset within the buffer where the line which just has been read in is storedboolean handleBandRasterRectRead(Band destBand, int destOffsetX, int destOffsetY, int destWidth, int destHeight, ProductData destBuffer)
destBand
- the destination band which identifies the data source from which to read the sample valuesdestOffsetX
- the X-offset in the band's raster co-ordinatesdestOffsetY
- the current line (Y-offset) in the band's raster co-ordinatesdestWidth
- the width of region to be read given in the band's raster co-ordinatesdestHeight
- the height of region to be read given in the band's raster co-ordinatesdestBuffer
- the destination buffer which receives the sample values to be readCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.