|
QGIS API Documentation 3.99.0-Master (d270888f95f)
|
Contains utility functions for working with raster layers. More...
#include <qgsrasterlayerutils.h>
Static Public Member Functions | |
| static void | computeMinMax (QgsRasterDataProvider *provider, int band, const QgsRasterMinMaxOrigin &mmo, Qgis::RasterRangeLimit limits, const QgsRectangle &extent, int sampleSize, double &min, double &max) |
| Compute the min max values for provider along band according to MinMaxOrigin parameters mmo and extent. | |
| static int | renderedBandForElevationAndTemporalRange (QgsRasterLayer *layer, const QgsDateTimeRange &temporalRange, const QgsDoubleRange &elevationRange, bool &matched) |
| Given a raster layer, returns the band which should be used for rendering the layer for a specified temporal and elevation range, respecting any elevation and temporal settings which affect the rendered band. | |
Contains utility functions for working with raster layers.
Definition at line 37 of file qgsrasterlayerutils.h.
|
static |
Compute the min max values for provider along band according to MinMaxOrigin parameters mmo and extent.
Definition at line 181 of file qgsrasterlayerutils.cpp.
|
static |
Given a raster layer, returns the band which should be used for rendering the layer for a specified temporal and elevation range, respecting any elevation and temporal settings which affect the rendered band.
| layer | Target raster layer |
| temporalRange | temporal range for rendering |
| elevationRange | elevation range for rendering |
| matched | will be set to true if a band matching the temporal and elevation range was found |
Definition at line 33 of file qgsrasterlayerutils.cpp.