QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 : sherman@mrcc.com
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 
23 class CORE_EXPORT QgsRasterPyramid
24 {
25  public:
27  int level;
29  int xDim;
31  int yDim;
33  bool exists;
35  bool build;
36 
38  {
39  level = 0;
40  xDim = 0;
41  yDim = 0;
42  exists = false;
43  build = false;
44  }
45 
46 };
47 #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 orignal raster size etc) ...