159 sipType = sipType_QgsBrightnessContrastFilter;
161 sipType = sipType_QgsHueSaturationFilter;
164 sipType = sipType_QgsRasterDataProvider;
170 sipType = sipType_QgsRasterNuller;
172 sipType = sipType_QgsRasterProjector;
176 sipType = sipType_QgsHillshadeRenderer;
178 sipType = sipType_QgsMultiBandColorRenderer;
180 sipType = sipType_QgsPalettedRasterRenderer;
182 sipType = sipType_QgsSingleBandColorDataRenderer;
184 sipType = sipType_QgsSingleBandGrayRenderer;
186 sipType = sipType_QgsSingleBandPseudoColorRenderer;
188 sipType = sipType_QgsRasterSingleColorRenderer;
190 sipType = sipType_QgsRasterContourRenderer;
192 sipType = sipType_QgsRasterRenderer;
195 sipType = sipType_QgsRasterResampleFilter;
225 Q_DECL_DEPRECATED QString capabilitiesString() const
SIP_DEPRECATED;
228 virtual
Qgis::DataType dataType(
int bandNo ) const = 0;
251 virtual int xBlockSize()
const {
return mInput ? mInput->xBlockSize() : 0; }
252 virtual int yBlockSize()
const {
return mInput ? mInput->yBlockSize() : 0; }
255 virtual int xSize()
const {
return mInput ? mInput->xSize() : 0; }
256 virtual int ySize()
const {
return mInput ? mInput->ySize() : 0; }
259 virtual QString generateBandName(
int bandNumber )
const;
267 virtual QString colorInterpretationName(
int bandNumber )
const;
274 QString displayBandName(
int bandNumber )
const;
298 virtual bool on()
const {
return mOn; }
301 virtual void setOn(
bool on ) { mOn = on; }
312 return mInput ? mInput->sourceInput() :
this;
323 return mInput ? mInput->sourceInput() :
this;
346 Qgis::RasterBandStatistics stats =
Qgis::RasterBandStatistic::All,
363 virtual
bool hasStatistics(
int bandNo,
364 Qgis::RasterBandStatistics stats =
Qgis::RasterBandStatistic::All,
366 int sampleSize = 0 );
385 double minimum = std::numeric_limits<double>::quiet_NaN(),
386 double maximum = std::numeric_limits<double>::quiet_NaN(),
389 bool includeOutOfRange =
false,
394 SIP_PYOBJECT minimum = Py_None,
395 SIP_PYOBJECT maximum = Py_None,
398 bool includeOutOfRange =
false,
402 double minimum = 0.0,
403 double maximum = 0.0,
406 bool includeOutOfRange =
false,
413 minimum = std::numeric_limits<double>::quiet_NaN();
417 minimum = PyFloat_AsDouble( a2 );
422 maximum = std::numeric_limits<double>::quiet_NaN();
426 maximum = PyFloat_AsDouble( a3 );
430 return sipConvertFromType( h, sipType_QgsRasterHistogram, Py_None );
440 virtual bool hasHistogram(
int bandNo,
442 double minimum = std::numeric_limits<double>::quiet_NaN(),
443 double maximum = std::numeric_limits<double>::quiet_NaN(),
446 bool includeOutOfRange =
false );
448 virtual bool hasHistogram(
int bandNo,
450 SIP_PYOBJECT minimum = Py_None,
451 SIP_PYOBJECT maximum = Py_None,
454 bool includeOutOfRange =
false )
457 double minimum = 0.0,
458 double maximum = 0.0,
461 bool includeOutOfRange =
false )];
467 minimum = std::numeric_limits<double>::quiet_NaN();
471 minimum = PyFloat_AsDouble( a2 );
476 maximum = std::numeric_limits<double>::quiet_NaN();
480 maximum = PyFloat_AsDouble( a3 );
483 sipRes = sipCpp->hasHistogram( a0, a1, minimum, maximum, *a4, a5, a6 );
498 virtual void cumulativeCut(
int bandNo,
504 int sampleSize = 0 );
507 virtual void writeXml( QDomDocument &doc, QDomElement &parentElem )
const { Q_UNUSED( doc ) Q_UNUSED( parentElem ); }
509 virtual void readXml(
const QDomElement &filterElem ) { Q_UNUSED( filterElem ) }
532 double minimum = std::numeric_limits<double>::quiet_NaN(),
533 double maximum = std::numeric_limits<double>::quiet_NaN(),
536 bool includeOutOfRange =
false );
541 SIP_PYOBJECT minimum = Py_None,
542 SIP_PYOBJECT maximum = Py_None,
545 bool includeOutOfRange =
false )
549 double minimum = 0.0,
550 double maximum = 0.0,
553 bool includeOutOfRange =
false )];
559 minimum = std::numeric_limits<double>::quiet_NaN();
563 minimum = PyFloat_AsDouble( a3 );
568 maximum = std::numeric_limits<double>::quiet_NaN();
572 maximum = PyFloat_AsDouble( a4 );
575#if defined(SIP_PROTECTED_IS_PUBLIC) || (SIP_VERSION >= 0x050000 && !defined(_MSC_VER))
576 sipCpp->initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
578 sipCpp->sipProtect_initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
591 Qgis::RasterBandStatistics stats =
Qgis::RasterBandStatistic::All,
593 int binCount = 0 ) const;
Contains information about the context of a rendering operation.