18 #ifndef QGSSINGLEBANDGRAYRENDERER_H
19 #define QGSSINGLEBANDGRAYRENDERER_H
67 #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
Gradient gradient() const
virtual void writeXML(QDomDocument &doc, QDomElement &parentElem) const
Write base class members to xml.
Raster renderer pipe for single band gray.
Base class for processing filters like renderers, reprojector, resampler etc.
QgsRasterInterface * clone() const override=0
Clone itself, create deep copy.
void setGradient(Gradient theGradient)
virtual void legendSymbologyItems(QList< QPair< QString, QColor > > &symbolItems) const
Get symbology items if provided by renderer.
void setGrayBand(int band)
Manipulates raster pixel values so that they enhanceContrast or clip into a specified numerical range...
Raster renderer pipe that applies colors to a raster.
virtual QgsRasterBlock * block(int bandNo, const QgsRectangle &extent, int width, int height) override=0
Read block of data using given extent and size.