QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
This struct is used to store pyramid info for the raster layer. More...
#include <qgsrasterpyramid.h>
Public Member Functions | |
bool | getBuild () const |
Returns true if the pyramid layer will be built. More... | |
bool | getExists () const |
Returns true if the pyramid layer currently exists. More... | |
int | getLevel () const |
Returns the pyramid level. More... | |
int | getXDim () const |
Returns the x dimension for this pyramid layer. More... | |
int | getYDim () const |
Returns the y dimension for this pyramid layer. More... | |
void | setBuild (bool build) |
Sets whether the pyramid layer will be built. More... | |
void | setExists (bool exists) |
Sets whether the pyramid layer currently exists. More... | |
void | setLevel (int level) |
Sets the pyramid level. More... | |
void | setXDim (int dimension) |
Sets the x dimension for this pyramid layer. More... | |
void | setYDim (int dimension) |
Sets the y dimension for this pyramid layer. More... | |
This struct is used to store pyramid info for the raster layer.
Definition at line 28 of file qgsrasterpyramid.h.
|
inline |
Returns true
if the pyramid layer will be built.
When used with QgsRasterDataProvider::buildPyramids() this flag controls whether pyramids will be built for the layer.
Definition at line 121 of file qgsrasterpyramid.h.
|
inline |
Returns true
if the pyramid layer currently exists.
Definition at line 100 of file qgsrasterpyramid.h.
|
inline |
Returns the pyramid level.
Pyramid levels are as defined by GDAL, eg level 2 is half the original raster size.
Definition at line 43 of file qgsrasterpyramid.h.
|
inline |
Returns the x dimension for this pyramid layer.
Definition at line 71 of file qgsrasterpyramid.h.
|
inline |
Returns the y dimension for this pyramid layer.
Definition at line 89 of file qgsrasterpyramid.h.
|
inline |
Sets whether the pyramid layer will be built.
When used with QgsRasterDataProvider::buildPyramids() this flag controls whether pyramids will be built for the layer. Set to true
to build the pyramids.
Definition at line 132 of file qgsrasterpyramid.h.
|
inline |
Sets whether the pyramid layer currently exists.
Definition at line 107 of file qgsrasterpyramid.h.
|
inline |
Sets the pyramid level.
Pyramid levels are as defined by GDAL, eg level 2 is half the original raster size.
Definition at line 53 of file qgsrasterpyramid.h.
|
inline |
Sets the x dimension for this pyramid layer.
Definition at line 64 of file qgsrasterpyramid.h.
|
inline |
Sets the y dimension for this pyramid layer.
Definition at line 82 of file qgsrasterpyramid.h.