QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSSINGLEBANDCOLORDATARENDERER_H
19 #define QGSSINGLEBANDCOLORDATARENDERER_H
21 #include "qgis_core.h"
49 void writeXml( QDomDocument &doc, QDomElement &parentElem )
const override;
62 #endif // QGSSINGLEBANDCOLORDATARENDERER_H
QgsRasterBlock * block(int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback=nullptr) override=0
Read block of data using given extent and size.
virtual void writeXml(QDomDocument &doc, QDomElement &parentElem) const
Write base class members to xml.
virtual QList< int > usesBands() const
Returns a list of band numbers used by the renderer.
A rectangle specified with double values.
bool setInput(QgsRasterInterface *input) override
Set input.
Raster renderer pipe for single band color.
Raster renderer pipe that applies colors to a raster.
QgsRasterRenderer * clone() const override=0
Clone itself, create deep copy.
Base class for processing filters like renderers, reprojector, resampler etc.
Feedback object tailored for raster block reading.
const QgsRasterRenderer & operator=(const QgsRasterRenderer &)=delete
QgsRasterRenderer cannot be copied. Use clone() instead.