QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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
int xDim
XDimension for this pyramid layer.
bool exists
Whether the pyramid layer has been built yet.
int yDim
YDimension for this pyramid layer.
bool build
Whether the pyramid should be built.
This struct is used to store pyramid info for the raster layer.
int level
The pyramid level as implemented in gdal (level 2 is half original raster size etc) ...