15 #ifndef QGSRASTERITERATOR_H 16 #define QGSRASTERITERATOR_H 18 #include "qgis_core.h" 63 bool readNextRasterPart(
int bandNumber,
64 int &nCols,
int &nRows,
66 int &topLeftCol,
int &topLeftRow );
81 bool readNextRasterPart(
int bandNumber,
82 int &nCols,
int &nRows,
83 std::unique_ptr< QgsRasterBlock > &block,
84 int &topLeftCol,
int &topLeftRow,
90 void stopRasterRead(
int bandNumber );
126 static const int DEFAULT_MAXIMUM_TILE_WIDTH = 2000;
129 static const int DEFAULT_MAXIMUM_TILE_HEIGHT = 2000;
133 struct RasterPartInfo
142 QMap<int, RasterPartInfo> mRasterPartInfos;
146 int mMaximumTileWidth;
147 int mMaximumTileHeight;
150 void removePartInfo(
int bandNumber );
153 #endif // QGSRASTERITERATOR_H A rectangle specified with double values.
Iterator for sequentially processing raster cells.
int maximumTileWidth() const
Returns the maximum tile width returned during iteration.
Perform transforms between map coordinates and device coordinates.
int maximumTileHeight() const
Returns the minimum tile width returned during iteration.
Base class for processing filters like renderers, reprojector, resampler etc.
QgsRasterProjector implements approximate projection support for it calculates grid of points in sour...
void setMaximumTileWidth(int w)
Sets the maximum tile width returned during iteration.
void setMaximumTileHeight(int h)
Sets the minimum tile height returned during iteration.
This class provides details of the viewable area that a raster will be rendered into.
Feedback object tailored for raster block reading.
const QgsRasterInterface * input() const
Returns the input raster interface which is being iterated over.