18 #ifndef QGSSINGLEBANDGRAYRENDERER_H 19 #define QGSSINGLEBANDGRAYRENDERER_H 21 #include "qgis_core.h" 55 int grayBand()
const {
return mGrayBand; }
64 void writeXml( QDomDocument &doc, QDomElement &parentElem )
const override;
78 std::unique_ptr< QgsContrastEnhancement > mContrastEnhancement;
82 #endif // QGSSINGLEBANDGRAYRENDERER_H A rectangle specified with double values.
virtual QList< int > usesBands() const
Returns a list of band numbers used by the renderer.
const QgsContrastEnhancement * contrastEnhancement() const
Raster renderer pipe for single band gray.
void setGradient(Gradient gradient)
Gradient gradient() const
Base class for processing filters like renderers, reprojector, resampler etc.
const QgsRasterRenderer & operator=(const QgsRasterRenderer &)=delete
QgsRasterRenderer cannot be copied. Use clone() instead.
QgsRasterRenderer * clone() const override=0
Clone itself, create deep copy.
void setGrayBand(int band)
Manipulates raster pixel values so that they enhanceContrast or clip into a specified numerical range...
virtual void legendSymbologyItems(QList< QPair< QString, QColor > > &symbolItems) const
Gets symbology items if provided by renderer.
virtual void writeXml(QDomDocument &doc, QDomElement &parentElem) const
Write base class members to xml.
Feedback object tailored for raster block reading.
Raster renderer pipe that applies colors to a raster.