QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
18 #ifndef QGSMULTIBANDCOLORRENDERER_H
19 #define QGSMULTIBANDCOLORRENDERER_H
21 #include "qgis_core.h"
51 int redBand()
const {
return mRedBand; }
70 void writeXml( QDomDocument &doc, QDomElement &parentElem )
const override;
92 #endif // QGSMULTIBANDCOLORRENDERER_H
const QgsMultiBandColorRenderer & operator=(const QgsMultiBandColorRenderer &)=delete
QgsMultiBandColorRenderer cannot be copied. Use clone() instead.
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.
A rectangle specified with double values.
Raster renderer pipe that applies colors to a raster.
const QgsContrastEnhancement * blueContrastEnhancement() const
Renderer for multiband images with the color components.
Manipulates raster pixel values so that they enhanceContrast or clip into a specified numerical range...
QgsRasterRenderer * clone() const override=0
Clone itself, create deep copy.
QMap< QString, QString > QgsStringMap
Base class for processing filters like renderers, reprojector, resampler etc.
void setBlueBand(int band)
Feedback object tailored for raster block reading.
const QgsRasterRenderer & operator=(const QgsRasterRenderer &)=delete
QgsRasterRenderer cannot be copied. Use clone() instead.
void setGreenBand(int band)
QgsMultiBandColorRenderer(const QgsMultiBandColorRenderer &)=delete
QgsMultiBandColorRenderer cannot be copied. Use clone() instead.