18 #ifndef QGSSINGLEBANDPSEUDOCOLORRENDERER_H 19 #define QGSSINGLEBANDPSEUDOCOLORRENDERER_H 57 int band()
const {
return mBand; }
63 void setBand(
int bandNo );
78 double mClassificationMin;
79 double mClassificationMax;
81 int mClassificationMinMaxOrigin;
87 #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
virtual QgsRasterBlock * block2(int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback=nullptr)
Read block of data using given extent and size.
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)
virtual QgsRasterBlock * block(int bandNo, const QgsRectangle &extent, int width, int height)=0
Read block of data using given extent and size.
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.
Feedback object tailored for raster block reading.
Raster renderer pipe that applies colors to a raster.
int band() const
Returns the band used by the renderer.