QGIS/python/core/auto_generated/raster/qgsraster.sip.in

114 lines
2.8 KiB
Plaintext
Raw Normal View History

2017-06-01 10:54:33 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsraster.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRaster
{
2017-06-01 10:54:33 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Raster namespace.
%End
2017-06-01 10:54:33 +02:00
%TypeHeaderCode
#include "qgsraster.h"
%End
public:
enum ColorInterpretation
{
2014-06-02 21:00:51 +02:00
UndefinedColorInterpretation,
2017-06-01 10:54:33 +02:00
GrayIndex,
PaletteIndex,
RedBand,
GreenBand,
BlueBand,
AlphaBand,
HueBand,
SaturationBand,
LightnessBand,
CyanBand,
MagentaBand,
YellowBand,
BlackBand,
YCbCr_YBand,
YCbCr_CbBand,
YCbCr_CrBand,
ContinuousPalette
};
2014-01-26 18:35:21 +01:00
enum IdentifyFormat
{
IdentifyFormatUndefined,
IdentifyFormatValue,
IdentifyFormatText,
IdentifyFormatHtml,
IdentifyFormatFeature,
};
enum RasterProgressType
{
2014-06-02 21:00:51 +02:00
ProgressHistogram,
ProgressPyramids,
2017-06-01 10:54:33 +02:00
ProgressStatistics
};
enum RasterBuildPyramids
{
2014-06-02 21:00:51 +02:00
PyramidsFlagNo,
PyramidsFlagYes,
2017-06-01 10:54:33 +02:00
PyramidsCopyExisting
};
enum RasterPyramidsFormat
{
2014-06-02 21:00:51 +02:00
PyramidsGTiff,
PyramidsInternal,
2017-06-01 10:54:33 +02:00
PyramidsErdas
};
enum DrawingStyle
{
UndefinedDrawingStyle,
2017-06-01 10:54:33 +02:00
SingleBandGray,
SingleBandPseudoColor,
PalettedColor,
PalettedSingleBandGray,
PalettedSingleBandPseudoColor,
PalettedMultiBandColor,
MultiBandSingleBandGray,
MultiBandSingleBandPseudoColor,
MultiBandColor,
SingleBandColorDataStyle
};
2017-06-01 10:54:33 +02:00
static double representableValue( double value, Qgis::DataType dataType );
2017-06-01 10:54:33 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Get value representable by given data type.
Supported are numerical types Byte, UInt16, Int16, UInt32, Int32, Float32, Float64.
This is done through C casting, so you have to be sure that the provided value is
representable in the output data type. This can be checked with isRepresentableValue().
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param value:
:param dataType:
2017-06-01 10:54:33 +02:00
.. versionadded:: 2.1
%End
};
2017-06-01 10:54:33 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsraster.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/