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