18 #ifndef QGSSINGLEBANDPSEUDOCOLORRENDERER_H
19 #define QGSSINGLEBANDPSEUDOCOLORRENDERER_H
55 int band()
const {
return mBand; }
61 void setBand(
int bandNo );
76 double mClassificationMin;
77 double mClassificationMax;
79 int mClassificationMinMaxOrigin;
82 #endif // QGSSINGLEBANDPSEUDOCOLORRENDERER_H
A rectangle specified with double values.
Interface for all raster shaders.
virtual QList< int > usesBands() const
Returns a list of band numbers used by the renderer.
int classificationMinMaxOrigin() const
void setClassificationMinMaxOrigin(int origin)
QgsRasterShader * shader()
const QgsRasterShader * shader() const
void setClassificationMax(double max)
int band() const
Returns the band used by the renderer.
virtual void writeXML(QDomDocument &doc, QDomElement &parentElem) const
Write base class members to xml.
Raster renderer pipe for single band pseudocolor.
Base class for processing filters like renderers, reprojector, resampler etc.
QgsRasterInterface * clone() const override=0
Clone itself, create deep copy.
double classificationMax() const
virtual void legendSymbologyItems(QList< QPair< QString, QColor > > &symbolItems) const
Get symbology items if provided by renderer.
void setClassificationMin(double min)
double classificationMin() const
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.