21 mMaximumTileWidth( 2000 ), mMaximumTileHeight( 2000 )
52 int& nCols,
int& nRows,
54 int& topLeftCol,
int& topLeftRow )
59 QMap<int, RasterPartInfo>::iterator partIt =
mRasterPartInfos.find( bandNumber );
86 QgsDebugMsg( QString(
"nCols = %1 nRows = %2" ).arg( nCols ).arg( nRows ) );
96 *block =
mInput->
block( bandNumber, blockRect, nCols, nRows );
121 QMap<int, RasterPartInfo>::iterator partIt =
mRasterPartInfos.find( bandNumber );
A rectangle specified with double values.
void startRasterRead(int bandNumber, int nCols, int nRows, const QgsRectangle &extent)
Start reading of raster band.
double yMaximum() const
Get the y maximum value (top side of rectangle)
QgsRasterIterator(QgsRasterInterface *input)
QgsRasterInterface * mInput
bool readNextRasterPart(int bandNumber, int &nCols, int &nRows, QgsRasterBlock **block, int &topLeftCol, int &topLeftRow)
Fetches next part of raster data, caller takes ownership of the block and caller should delete the bl...
Base class for processing filters like renderers, reprojector, resampler etc.
void stopRasterRead(int bandNumber)
void removePartInfo(int bandNumber)
Remove part into and release memory.
virtual QgsRasterBlock * block(int bandNo, const QgsRectangle &extent, int width, int height)=0
Read block of data using given extent and size.
double width() const
Width of the rectangle.
double xMinimum() const
Get the x minimum value (left side of rectangle)
double height() const
Height of the rectangle.
QMap< int, RasterPartInfo > mRasterPartInfos