QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
The QgsRasterHistogram is a container for histogram of a single raster band. More...
#include <qgsrasterhistogram.h>
Public Types | |
typedef QVector< int > | HistogramVector |
Public Member Functions | |
QgsRasterHistogram () | |
bool | operator== (const QgsRasterHistogram &h) const |
Compares region, size etc. More... | |
Public Attributes | |
int | bandNumber |
The gdal band number (starts at 1) More... | |
int | binCount |
Number of bins (intervals,buckets) in histogram. More... | |
QgsRectangle | extent |
Extent used to calc histogram. More... | |
int | height |
Number of rows used to calc histogram. More... | |
HistogramVector | histogramVector |
Store the histogram for a given layer. More... | |
bool | includeOutOfRange |
Whether histogram includes out of range values (in first and last bin) More... | |
double | maximum |
The maximum histogram value. More... | |
double | minimum |
The minimum histogram value. More... | |
int | nonNullCount |
The number of non NULL cells used to calculate histogram. More... | |
bool | valid |
Histogram is valid. More... | |
int | width |
Number of columns used to calc histogram. More... | |
The QgsRasterHistogram is a container for histogram of a single raster band.
It is used to cache computed histograms in raster providers.
Definition at line 30 of file qgsrasterhistogram.h.
typedef QVector<int> QgsRasterHistogram::HistogramVector |
Definition at line 33 of file qgsrasterhistogram.h.
|
inline |
Definition at line 35 of file qgsrasterhistogram.h.
|
inline |
int QgsRasterHistogram::bandNumber |
The gdal band number (starts at 1)
Definition at line 62 of file qgsrasterhistogram.h.
int QgsRasterHistogram::binCount |
Number of bins (intervals,buckets) in histogram.
Definition at line 65 of file qgsrasterhistogram.h.
QgsRectangle QgsRasterHistogram::extent |
Extent used to calc histogram.
Definition at line 91 of file qgsrasterhistogram.h.
int QgsRasterHistogram::height |
Number of rows used to calc histogram.
Definition at line 88 of file qgsrasterhistogram.h.
HistogramVector QgsRasterHistogram::histogramVector |
Store the histogram for a given layer.
Definition at line 76 of file qgsrasterhistogram.h.
bool QgsRasterHistogram::includeOutOfRange |
Whether histogram includes out of range values (in first and last bin)
Definition at line 71 of file qgsrasterhistogram.h.
double QgsRasterHistogram::maximum |
The maximum histogram value.
Definition at line 79 of file qgsrasterhistogram.h.
double QgsRasterHistogram::minimum |
The minimum histogram value.
Definition at line 82 of file qgsrasterhistogram.h.
int QgsRasterHistogram::nonNullCount |
The number of non NULL cells used to calculate histogram.
Definition at line 68 of file qgsrasterhistogram.h.
bool QgsRasterHistogram::valid |
Histogram is valid.
Definition at line 94 of file qgsrasterhistogram.h.
int QgsRasterHistogram::width |
Number of columns used to calc histogram.
Definition at line 85 of file qgsrasterhistogram.h.