QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Raster namespace. More...
#include <qgsraster.h>
Static Public Member Functions | |
static QString | contrastEnhancementLimitsAsString (QgsRaster::ContrastEnhancementLimits theLimits) |
static ContrastEnhancementLimits | contrastEnhancementLimitsFromString (const QString &theLimits) |
static bool | isRepresentableValue (double value, QGis::DataType dataType) |
Check if the specified value is representable in the given data type. More... | |
static double | representableValue (double value, QGis::DataType dataType) |
Get value representable by given data type. More... | |
Raster namespace.
Definition at line 28 of file qgsraster.h.
Definition at line 32 of file qgsraster.h.
Contrast enhancement limits.
Enumerator | |
---|---|
ContrastEnhancementNone | |
ContrastEnhancementMinMax | |
ContrastEnhancementStdDev | |
ContrastEnhancementCumulativeCut |
Definition at line 86 of file qgsraster.h.
This enumerator describes the different kinds of drawing we can do.
Definition at line 95 of file qgsraster.h.
Enumerator | |
---|---|
IdentifyFormatUndefined | |
IdentifyFormatValue | |
IdentifyFormatText | |
IdentifyFormatHtml | |
IdentifyFormatFeature |
Definition at line 54 of file qgsraster.h.
Enumerator | |
---|---|
PyramidsFlagNo | |
PyramidsFlagYes | |
PyramidsCopyExisting |
Definition at line 71 of file qgsraster.h.
Enumerator | |
---|---|
ProgressHistogram | |
ProgressPyramids | |
ProgressStatistics |
Definition at line 64 of file qgsraster.h.
Enumerator | |
---|---|
PyramidsGTiff | |
PyramidsInternal | |
PyramidsErdas |
Definition at line 78 of file qgsraster.h.
|
static |
Definition at line 22 of file qgsraster.cpp.
|
static |
Definition at line 38 of file qgsraster.cpp.
|
static |
Check if the specified value is representable in the given data type.
Supported are numerical types Byte, UInt16, Int16, UInt32, Int32, Float32, Float64.
value | |
dataType |
Definition at line 55 of file qgsraster.cpp.
|
static |
Get value representable by given data type.
Supported are numerical types Byte, UInt16, Int16, UInt32, Int32, Float32, Float64. This is done through C casting, so you have to be sure that the provided value is representable in the output data type. This can be checked with isRepresentableValue().
value | |
dataType |
Definition at line 78 of file qgsraster.cpp.