15#ifndef QGSRASTERITERATOR_H
16#define QGSRASTERITERATOR_H
106 bool readNextRasterPart(
int bandNumber,
107 int &nCols,
int &nRows,
109 int &topLeftCol,
int &topLeftRow );
128 bool readNextRasterPart(
int bandNumber,
129 int &nCols,
int &nRows,
130 std::unique_ptr< QgsRasterBlock > &block,
131 int &topLeftCol,
int &topLeftRow,
133 int *tileColumns =
nullptr,
int *tileRows =
nullptr,
int *tileTopLeftColumn =
nullptr,
int *tileTopLeftRow =
nullptr )
SIP_SKIP;
138 void stopRasterRead(
int bandNumber );
174 static const int DEFAULT_MAXIMUM_TILE_WIDTH = 2000;
177 static const int DEFAULT_MAXIMUM_TILE_HEIGHT = 2000;
181 struct RasterPartInfo
190 QMap<int, RasterPartInfo> mRasterPartInfos;
194 int mTileOverlapPixels = 0;
195 int mMaximumTileWidth;
196 int mMaximumTileHeight;
199 void removePartInfo(
int bandNumber );
200 bool readNextRasterPartInternal(
int bandNumber,
int &nCols,
int &nRows, std::unique_ptr<QgsRasterBlock> *block,
int &topLeftCol,
int &topLeftRow,
QgsRectangle *blockExtent,
int &tileColumns,
int &tileRows,
int &tileTopLeftColumn,
int &tileTopLeftRow );
Perform transforms between map coordinates and device coordinates.
Feedback object tailored for raster block reading.
Base class for processing filters like renderers, reprojector, resampler etc.
Iterator for sequentially processing raster cells.
int maximumTileWidth() const
Returns the maximum tile width returned during iteration.
const QgsRasterInterface * input() const
Returns the input raster interface which is being iterated over.
void setMaximumTileWidth(int w)
Sets the maximum tile width returned during iteration.
int maximumTileHeight() const
Returns the minimum tile width returned during iteration.
void setMaximumTileHeight(int h)
Sets the minimum tile height returned during iteration.
Implements approximate projection support for optimised raster transformation.
A rectangle specified with double values.
unsigned long long qgssize
Qgssize is used instead of size_t, because size_t is stdlib type, unknown by SIP, and it would be har...
This class provides details of the viewable area that a raster will be rendered into.