1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterpyramid.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsRasterPyramid
{
%Docstring(signature="appended")
This struct is used to store pyramid info for the raster layer.
%End
%TypeHeaderCode
#include "qgsrasterpyramid.h"
%End
public:
int getLevel() const;
%Docstring
Returns the pyramid level.
Pyramid levels are as defined by GDAL, eg level 2 is half the original
raster size.
.. versionadded:: 3.20
%End
void setLevel( int level );
%Docstring
Sets the pyramid ``level``.
Pyramid levels are as defined by GDAL, eg level 2 is half the original
raster size.
.. versionadded:: 3.20
%End
%Property( name = level, get = getLevel, set = setLevel )
void setXDim( int dimension );
%Docstring
Sets the x ``dimension`` for this pyramid layer.
.. versionadded:: 3.20
%End
int getXDim() const;
%Docstring
Returns the x dimension for this pyramid layer.
.. versionadded:: 3.20
%End
%Property( name = xDim, get = getXDim, set = setXDim )
void setYDim( int dimension );
%Docstring
Sets the y ``dimension`` for this pyramid layer.
.. versionadded:: 3.20
%End
int getYDim() const;
%Docstring
Returns the y dimension for this pyramid layer.
.. versionadded:: 3.20
%End
%Property( name = yDim, get = getYDim, set = setYDim )
bool getExists() const;
%Docstring
Returns ``True`` if the pyramid layer currently exists.
.. versionadded:: 3.20
%End
void setExists( bool exists );
%Docstring
Sets whether the pyramid layer currently exists.
.. versionadded:: 3.20
%End
%Property( name = exists, get = getExists, set = setExists )
bool getBuild() const;
%Docstring
Returns ``True`` if the pyramid layer will be built.
When used with :py:func:`QgsRasterDataProvider.buildPyramids()` this
flag controls whether pyramids will be built for the layer.
.. versionadded:: 3.20
%End
void setBuild( bool build );
%Docstring
Sets whether the pyramid layer will be built.
When used with :py:func:`QgsRasterDataProvider.buildPyramids()` this
flag controls whether pyramids will be built for the layer. Set to
``True`` to build the pyramids.
.. versionadded:: 3.20
%End
%Property( name = build, get = getBuild, set = setBuild )
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterpyramid.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|