QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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.
Definition: qgsrasterpyramid.h:29
bool exists
Whether the pyramid layer has been built yet.
Definition: qgsrasterpyramid.h:33
int yDim
YDimension for this pyramid layer.
Definition: qgsrasterpyramid.h:31
QgsRasterPyramid()
Definition: qgsrasterpyramid.h:37
bool build
Whether the pyramid should be built.
Definition: qgsrasterpyramid.h:35
This struct is used to store pyramid info for the raster layer.
Definition: qgsrasterpyramid.h:23
int level
The pyramid level as implemented in gdal (level 2 is half orignal raster size etc) ...
Definition: qgsrasterpyramid.h:27