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