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 A rectangle specified with double values.
virtual QList< int > usesBands() const
Returns a list of band numbers used by the renderer.
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.
const QgsContrastEnhancement * greenContrastEnhancement() const
const QgsContrastEnhancement * redContrastEnhancement() const
QMap< QString, QString > QgsStringMap
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.
void setGreenBand(int band)
void setRedBand(int band)
virtual void writeXml(QDomDocument &doc, QDomElement &parentElem) const
Write base class members to xml.
Base class for processing filters like renderers, reprojector, resampler etc.
void setBlueBand(int band)
const QgsContrastEnhancement * blueContrastEnhancement() const
const QgsRasterRenderer & operator=(const QgsRasterRenderer &)=delete
QgsRasterRenderer cannot be copied. Use clone() instead.
QgsRasterRenderer * clone() const override=0
Clone itself, create deep copy.
Renderer for multiband images with the color components.
Manipulates raster pixel values so that they enhanceContrast or clip into a specified numerical range...
Feedback object tailored for raster block reading.
Raster renderer pipe that applies colors to a raster.