QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
qgsrasterpyramid.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsrasterpyramid.h
3 
4  -------------------
5  begin : 2007
6  copyright : (C) 2007 by Gary E. Sherman
7  email : [email protected]
8 ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 #ifndef QGSRASTERPYRAMID
19 #define QGSRASTERPYRAMID
20 
21 #include "qgis_core.h"
22 
27 class CORE_EXPORT QgsRasterPyramid
28 {
29  public:
31  int level;
33  int xDim;
35  int yDim;
37  bool exists;
39  bool build;
40 
42  {
43  level = 0;
44  xDim = 0;
45  yDim = 0;
46  exists = false;
47  build = false;
48  }
49 
50 };
51 #endif
QgsHstoreUtils::build
CORE_EXPORT QString build(const QVariantMap &map)
Build a hstore-formatted string from a QVariantMap.
Definition: qgshstoreutils.cpp:88
QgsRasterPyramid::xDim
int xDim
XDimension for this pyramid layer.
Definition: qgsrasterpyramid.h:33
QgsRasterPyramid::QgsRasterPyramid
QgsRasterPyramid()
Definition: qgsrasterpyramid.h:41
QgsRasterPyramid::yDim
int yDim
YDimension for this pyramid layer.
Definition: qgsrasterpyramid.h:35
QgsRasterPyramid::build
bool build
Whether the pyramid should be built.
Definition: qgsrasterpyramid.h:39
QgsRasterPyramid::exists
bool exists
Whether the pyramid layer has been built yet.
Definition: qgsrasterpyramid.h:37
QgsRasterPyramid::level
int level
The pyramid level as implemented in gdal (level 2 is half original raster size etc)
Definition: qgsrasterpyramid.h:31
QgsRasterPyramid
This struct is used to store pyramid info for the raster layer.
Definition: qgsrasterpyramid.h:28