Added histogram values to the bindings

This commit is contained in:
Alessandro Pasotti 2016-11-29 15:44:34 +01:00
parent 0ee93eece2
commit 61b599ed0e

View File

@ -4,6 +4,9 @@ class QgsRasterHistogram
#include <qgsrasterhistogram.h> #include <qgsrasterhistogram.h>
%End %End
public: public:
typedef QVector<int> HistogramVector;
QgsRasterHistogram(); QgsRasterHistogram();
/** Compares region, size etc. not histogram itself */ /** Compares region, size etc. not histogram itself */
@ -22,9 +25,9 @@ class QgsRasterHistogram
bool includeOutOfRange; bool includeOutOfRange;
/** \brief Store the histogram for a given layer /** \brief Store the histogram for a given layer
* @note not available via python binding * @note added in version 3.0
*/ */
// HistogramVector histogramVector; HistogramVector histogramVector;
/** \brief The maximum histogram value. */ /** \brief The maximum histogram value. */
double maximum; double maximum;