QGIS API Documentation
4.0.0-Norrköping (1ddcee3d0e4)
Loading...
Searching...
No Matches
src
core
raster
qgsraster.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsraster.h - Raster namespace
3
--------------------------------------
4
Date : Apr 2013
5
Copyright : (C) 2013 by Radim Blazek
6
email : radim dot blazek at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSRASTER_H
19
#define QGSRASTER_H
20
21
#include "
qgis.h
"
22
#include "qgis_core.h"
23
#include "
qgis_sip.h
"
24
25
#include <QString>
26
31
class
CORE_EXPORT
QgsRaster
32
{
33
public
:
41
static
bool
isRepresentableValue
(
double
value,
Qgis::DataType
dataType )
SIP_SKIP
;
42
51
static
double
representableValue
(
double
value,
Qgis::DataType
dataType );
52
};
53
54
#endif
Qgis::DataType
DataType
Raster data types.
Definition
qgis.h:393
QgsRaster
Raster namespace.
Definition
qgsraster.h:32
QgsRaster::isRepresentableValue
static bool isRepresentableValue(double value, Qgis::DataType dataType)
Check if the specified value is representable in the given data type.
Definition
qgsraster.cpp:22
QgsRaster::representableValue
static double representableValue(double value, Qgis::DataType dataType)
Gets value representable by given data type.
Definition
qgsraster.cpp:54
qgis.h
qgis_sip.h
SIP_SKIP
#define SIP_SKIP
Definition
qgis_sip.h:133
Generated on
for QGIS API Documentation by
1.15.0