162 sipType = sipType_QgsBrightnessContrastFilter;
164 sipType = sipType_QgsHueSaturationFilter;
167 sipType = sipType_QgsRasterDataProvider;
173 sipType = sipType_QgsRasterNuller;
175 sipType = sipType_QgsRasterProjector;
179 sipType = sipType_QgsHillshadeRenderer;
181 sipType = sipType_QgsMultiBandColorRenderer;
183 sipType = sipType_QgsPalettedRasterRenderer;
185 sipType = sipType_QgsSingleBandColorDataRenderer;
187 sipType = sipType_QgsSingleBandGrayRenderer;
189 sipType = sipType_QgsSingleBandPseudoColorRenderer;
191 sipType = sipType_QgsRasterSingleColorRenderer;
193 sipType = sipType_QgsRasterContourRenderer;
195 sipType = sipType_QgsRasterRenderer;
198 sipType = sipType_QgsRasterResampleFilter;
228 Q_DECL_DEPRECATED QString capabilitiesString() const
SIP_DEPRECATED;
231 virtual
Qgis::DataType dataType(
int bandNo ) const = 0;
254 virtual int xBlockSize()
const {
return mInput ? mInput->xBlockSize() : 0; }
255 virtual int yBlockSize()
const {
return mInput ? mInput->yBlockSize() : 0; }
258 virtual int xSize()
const {
return mInput ? mInput->xSize() : 0; }
259 virtual int ySize()
const {
return mInput ? mInput->ySize() : 0; }
262 virtual QString generateBandName(
int bandNumber )
const;
269 virtual QString colorInterpretationName(
int bandNumber )
const;
276 QString displayBandName(
int bandNumber )
const;
300 virtual bool on()
const {
return mOn; }
303 virtual void setOn(
bool on ) { mOn = on; }
314 return mInput ? mInput->sourceInput() :
this;
325 return mInput ? mInput->sourceInput() :
this;
348 Qgis::RasterBandStatistics stats =
Qgis::RasterBandStatistic::All,
365 virtual
bool hasStatistics(
int bandNo,
366 Qgis::RasterBandStatistics stats =
Qgis::RasterBandStatistic::All,
368 int sampleSize = 0 );
387 double minimum = std::numeric_limits<double>::quiet_NaN(),
388 double maximum = std::numeric_limits<double>::quiet_NaN(),
391 bool includeOutOfRange =
false,
396 SIP_PYOBJECT minimum = Py_None,
397 SIP_PYOBJECT maximum = Py_None,
400 bool includeOutOfRange =
false,
404 double minimum = 0.0,
405 double maximum = 0.0,
408 bool includeOutOfRange =
false,
415 minimum = std::numeric_limits<double>::quiet_NaN();
419 minimum = PyFloat_AsDouble( a2 );
424 maximum = std::numeric_limits<double>::quiet_NaN();
428 maximum = PyFloat_AsDouble( a3 );
432 return sipConvertFromType( h, sipType_QgsRasterHistogram, Py_None );
442 virtual bool hasHistogram(
int bandNo,
444 double minimum = std::numeric_limits<double>::quiet_NaN(),
445 double maximum = std::numeric_limits<double>::quiet_NaN(),
448 bool includeOutOfRange =
false );
450 virtual bool hasHistogram(
int bandNo,
452 SIP_PYOBJECT minimum = Py_None,
453 SIP_PYOBJECT maximum = Py_None,
456 bool includeOutOfRange =
false )
459 double minimum = 0.0,
460 double maximum = 0.0,
463 bool includeOutOfRange =
false )];
469 minimum = std::numeric_limits<double>::quiet_NaN();
473 minimum = PyFloat_AsDouble( a2 );
478 maximum = std::numeric_limits<double>::quiet_NaN();
482 maximum = PyFloat_AsDouble( a3 );
485 sipRes = sipCpp->hasHistogram( a0, a1, minimum, maximum, *a4, a5, a6 );
500 virtual void cumulativeCut(
int bandNo,
506 int sampleSize = 0 );
509 virtual void writeXml( QDomDocument &doc, QDomElement &parentElem )
const { Q_UNUSED( doc ) Q_UNUSED( parentElem ); }
511 virtual void readXml(
const QDomElement &filterElem ) { Q_UNUSED( filterElem ) }
534 double minimum = std::numeric_limits<double>::quiet_NaN(),
535 double maximum = std::numeric_limits<double>::quiet_NaN(),
538 bool includeOutOfRange =
false );
543 SIP_PYOBJECT minimum = Py_None,
544 SIP_PYOBJECT maximum = Py_None,
547 bool includeOutOfRange =
false )
551 double minimum = 0.0,
552 double maximum = 0.0,
555 bool includeOutOfRange =
false )];
561 minimum = std::numeric_limits<double>::quiet_NaN();
565 minimum = PyFloat_AsDouble( a3 );
570 maximum = std::numeric_limits<double>::quiet_NaN();
574 maximum = PyFloat_AsDouble( a4 );
577#if defined(SIP_PROTECTED_IS_PUBLIC) || (SIP_VERSION >= 0x050000 && !defined(_MSC_VER))
578 sipCpp->initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
580 sipCpp->sipProtect_initHistogram( *a0, a1, a2, minimum, maximum, *a5, a6, a7 );
593 Qgis::RasterBandStatistics stats =
Qgis::RasterBandStatistic::All,
595 int binCount = 0 ) const;
Contains information about the context of a rendering operation.