18 #ifndef QGSSINGLEBANDPSEUDOCOLORRENDERER_H 19 #define QGSSINGLEBANDPSEUDOCOLORRENDERER_H 56 int band()
const {
return mBand; }
62 void setBand(
int bandNo );
77 double mClassificationMin;
78 double mClassificationMax;
80 int mClassificationMinMaxOrigin;
86 #endif // QGSSINGLEBANDPSEUDOCOLORRENDERER_H A rectangle specified with double values.
double classificationMin() const
Interface for all raster shaders.
virtual QList< int > usesBands() const
Returns a list of band numbers used by the renderer.
void setClassificationMinMaxOrigin(int origin)
QgsRasterShader * shader()
void setClassificationMax(double max)
int classificationMinMaxOrigin() const
double ANALYSIS_EXPORT max(double x, double y)
Returns the maximum of two doubles or the first argument if both are equal.
double classificationMax() const
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.
void setClassificationMin(double min)
QgsRasterRenderer * clone() const override=0
Clone itself, create deep copy.
const QgsRasterShader * shader() const
double ANALYSIS_EXPORT min(double x, double y)
Returns the minimum of two doubles or the first argument if both are equal.
virtual void legendSymbologyItems(QList< QPair< QString, QColor > > &symbolItems) const
Get symbology items if provided by renderer.
Raster renderer pipe that applies colors to a raster.
int band() const
Returns the band used by the renderer.
virtual QgsRasterBlock * block(int bandNo, const QgsRectangle &extent, int width, int height) override=0
Read block of data using given extent and size.