QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
Loading...
Searching...
No Matches
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
31class 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
DataType
Raster data types.
Definition qgis.h:393
Raster namespace.
Definition qgsraster.h:32
static bool isRepresentableValue(double value, Qgis::DataType dataType)
Check if the specified value is representable in the given data type.
Definition qgsraster.cpp:22
static double representableValue(double value, Qgis::DataType dataType)
Gets value representable by given data type.
Definition qgsraster.cpp:54
#define SIP_SKIP
Definition qgis_sip.h:133