QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
16 #ifndef QGSCLASSIFICATIONSTANDARDDEVIATION_H
17 #define QGSCLASSIFICATIONSTANDARDDEVIATION_H
19 #include "qgis_core.h"
33 QString
name()
const override;
34 QString
id()
const override;
36 QIcon
icon()
const override;
41 static const QString METHOD_ID;
44 QList<double> calculateBreaks(
double &minimum,
double &maximum,
45 const QList<double> &values,
int nclasses )
override;
47 QString valueToLabel(
double value )
const override;
50 double mEffectiveSymmetryPoint = 0.0;
53 #endif // QGSCLASSIFICATIONSTANDARDDEVIATION_H
virtual QIcon icon() const
The icon of the method.
virtual void writeXml(QDomElement &element, const QgsReadWriteContext &context) const
Writes extra information about the method.
virtual QString labelForRange(double lowerValue, double upperValue, ClassPosition position=Inner) const
Returns the label for a range.
virtual QgsClassificationMethod * clone() const =0
Returns a clone of the method.
virtual QString id() const =0
The id of the method as saved in the project, must be unique in registry.
virtual void readXml(const QDomElement &element, const QgsReadWriteContext &context)
Reads extra information to apply it to the method.
ClassPosition
Defines the class position.
virtual QString name() const =0
The readable and translate name of the method.