QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
15 #ifndef QGSRASTERITERATOR_H
16 #define QGSRASTERITERATOR_H
18 #include "qgis_core.h"
104 bool readNextRasterPart(
int bandNumber,
105 int &nCols,
int &nRows,
107 int &topLeftCol,
int &topLeftRow );
122 bool readNextRasterPart(
int bandNumber,
123 int &nCols,
int &nRows,
124 std::unique_ptr< QgsRasterBlock > &block,
125 int &topLeftCol,
int &topLeftRow,
131 void stopRasterRead(
int bandNumber );
167 static const int DEFAULT_MAXIMUM_TILE_WIDTH = 2000;
170 static const int DEFAULT_MAXIMUM_TILE_HEIGHT = 2000;
174 struct RasterPartInfo
183 QMap<int, RasterPartInfo> mRasterPartInfos;
187 int mMaximumTileWidth;
188 int mMaximumTileHeight;
191 void removePartInfo(
int bandNumber );
192 bool readNextRasterPartInternal(
int bandNumber,
int &nCols,
int &nRows, std::unique_ptr<QgsRasterBlock> *block,
int &topLeftCol,
int &topLeftRow,
QgsRectangle *blockExtent );
195 #endif // QGSRASTERITERATOR_H
A rectangle specified with double values.
QgsRasterProjector implements approximate projection support for it calculates grid of points in sour...
const QgsRasterInterface * input() const
Returns the input raster interface which is being iterated over.
Iterator for sequentially processing raster cells.
void setMaximumTileHeight(int h)
Sets the minimum tile height returned during iteration.
int maximumTileHeight() const
Returns the minimum tile width returned during iteration.
Base class for processing filters like renderers, reprojector, resampler etc.
void setMaximumTileWidth(int w)
Sets the maximum tile width returned during iteration.
Perform transforms between map coordinates and device coordinates.
Feedback object tailored for raster block reading.
int maximumTileWidth() const
Returns the maximum tile width returned during iteration.
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...