18 #ifndef QGSRASTERPYRAMID
19 #define QGSRASTERPYRAMID
21 #include "qgis_core.h"
56 SIP_PROPERTY( name = level, get = getLevel, set = setLevel )
64 void setXDim(
int dimension ) { mXDim = dimension; }
74 SIP_PROPERTY( name = xDim, get = getXDim, set = setXDim )
82 void setYDim(
int dimension ) { mYDim = dimension; }
92 SIP_PROPERTY( name = yDim, get = getYDim, set = setYDim )
110 SIP_PROPERTY( name = exists, get = getExists, set = setExists )
147 bool mExists =
false;
This struct is used to store pyramid info for the raster layer.
void setBuild(bool build)
Sets whether the pyramid layer will be built.
int getLevel() const
Returns the pyramid level.
void setExists(bool exists)
Sets whether the pyramid layer currently exists.
void setYDim(int dimension)
Sets the y dimension for this pyramid layer.
bool getExists() const
Returns true if the pyramid layer currently exists.
bool getBuild() const
Returns true if the pyramid layer will be built.
void setLevel(int level)
Sets the pyramid level.
int getXDim() const
Returns the x dimension for this pyramid layer.
int getYDim() const
Returns the y dimension for this pyramid layer.
void setXDim(int dimension)
Sets the x dimension for this pyramid layer.
CORE_EXPORT QString build(const QVariantMap &map)
Build a hstore-formatted string from a QVariantMap.
#define SIP_PROPERTY(name, getter, setter)