QGIS API Documentation  2.2.0-Valmiera
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
qgsgraduatedsymbolrendererv2.cpp File Reference
#include "qgsgraduatedsymbolrendererv2.h"
#include "qgssymbolv2.h"
#include "qgssymbollayerv2utils.h"
#include "qgsvectorcolorrampv2.h"
#include "qgsfeature.h"
#include "qgsvectorlayer.h"
#include "qgslogger.h"
#include "qgsvectordataprovider.h"
#include "qgsexpression.h"
#include <QDomDocument>
#include <QDomElement>
#include <QSettings>
#include <limits>
#include <cmath>
#include <ctime>
Include dependency graph for qgsgraduatedsymbolrendererv2.cpp:

Go to the source code of this file.

Functions

static QList< double > _calcEqualIntervalBreaks (double minimum, double maximum, int classes)
static QList< double > _calcQuantileBreaks (QList< double > values, int classes)
static QList< double > _calcPrettyBreaks (double minimum, double maximum, int classes)
static QList< double > _calcStdDevBreaks (QList< double > values, int classes, QList< int > &labels)
static QList< double > _calcJenksBreaks (QList< double > values, int classes, double minimum, double maximum, int maximumSize=1000)
bool valueLessThan (const QgsRendererRangeV2 &r1, const QgsRendererRangeV2 &r2)
bool valueGreaterThan (const QgsRendererRangeV2 &r1, const QgsRendererRangeV2 &r2)
bool labelLessThan (const QgsRendererRangeV2 &r1, const QgsRendererRangeV2 &r2)
bool labelGreaterThan (const QgsRendererRangeV2 &r1, const QgsRendererRangeV2 &r2)

Function Documentation

static QList<double> _calcEqualIntervalBreaks ( double  minimum,
double  maximum,
int  classes 
)
static
static QList<double> _calcJenksBreaks ( QList< double >  values,
int  classes,
double  minimum,
double  maximum,
int  maximumSize = 1000 
)
static
static QList<double> _calcPrettyBreaks ( double  minimum,
double  maximum,
int  classes 
)
static
static QList<double> _calcQuantileBreaks ( QList< double >  values,
int  classes 
)
static
static QList<double> _calcStdDevBreaks ( QList< double >  values,
int  classes,
QList< int > &  labels 
)
static
bool labelGreaterThan ( const QgsRendererRangeV2 r1,
const QgsRendererRangeV2 r2 
)

Definition at line 1265 of file qgsgraduatedsymbolrendererv2.cpp.

References labelLessThan().

bool labelLessThan ( const QgsRendererRangeV2 r1,
const QgsRendererRangeV2 r2 
)

Definition at line 1260 of file qgsgraduatedsymbolrendererv2.cpp.

References QgsRendererRangeV2::label().

bool valueGreaterThan ( const QgsRendererRangeV2 r1,
const QgsRendererRangeV2 r2 
)

Definition at line 1242 of file qgsgraduatedsymbolrendererv2.cpp.

References valueLessThan().

bool valueLessThan ( const QgsRendererRangeV2 r1,
const QgsRendererRangeV2 r2 
)