QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
18 #ifndef QGSMULTIBANDCOLORRENDERER_H
19 #define QGSMULTIBANDCOLORRENDERER_H
21 #include "qgis_core.h"
70 void writeXml( QDomDocument &doc, QDomElement &parentElem )
const override;
92 #endif // QGSMULTIBANDCOLORRENDERER_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.
const QgsContrastEnhancement * redContrastEnhancement() const
void setRedBand(int band)
const QgsContrastEnhancement * greenContrastEnhancement() const
virtual void toSld(QDomDocument &doc, QDomElement &element, const QgsStringMap &props=QgsStringMap()) const
Used from subclasses to create SLD Rule elements following SLD v1.0 specs.
virtual QList< int > usesBands() const
Returns a list of band numbers used by the renderer.
const QgsContrastEnhancement * blueContrastEnhancement() const
QgsRasterRenderer * clone() const override=0
Clone itself, create deep copy.
QMap< QString, QString > QgsStringMap
void setBlueBand(int band)
const QgsRasterRenderer & operator=(const QgsRasterRenderer &)=delete
QgsRasterRenderer cannot be copied. Use clone() instead.
void setGreenBand(int band)