|
| QgsRasterProjector () |
|
int | bandCount () const override |
| Gets number of bands. More...
|
|
QgsRasterBlock * | block (int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback=nullptr) override |
| Read block of data using given extent and size. More...
|
|
QgsRasterProjector * | clone () const override |
| Clone itself, create deep copy. More...
|
|
Qgis::DataType | dataType (int bandNo) const override |
| Returns data type for the band specified by number. More...
|
|
bool | destExtentSize (const QgsRectangle &srcExtent, int srcXSize, int srcYSize, QgsRectangle &destExtent, int &destXSize, int &destYSize) |
| Calculate destination extent and size from source extent and size. More...
|
|
QgsCoordinateReferenceSystem | destinationCrs () const |
| Returns the destination CRS. More...
|
|
Precision | precision () const |
|
Q_DECL_DEPRECATED void | setCrs (const QgsCoordinateReferenceSystem &srcCRS, const QgsCoordinateReferenceSystem &destCRS, int srcDatumTransform=-1, int destDatumTransform=-1) |
| Sets the source and destination CRS. More...
|
|
void | setCrs (const QgsCoordinateReferenceSystem &srcCRS, const QgsCoordinateReferenceSystem &destCRS, QgsCoordinateTransformContext transformContext) |
| Sets source CRS to srcCRS and destination CRS to destCRS and the transformation context to transformContext. More...
|
|
void | setPrecision (Precision precision) |
|
QgsCoordinateReferenceSystem | sourceCrs () const |
| Returns the source CRS. More...
|
|
| QgsRasterInterface (QgsRasterInterface *input=nullptr) |
|
virtual | ~QgsRasterInterface ()=default |
|
virtual int | bandCount () const =0 |
| Gets number of bands. More...
|
|
virtual QgsRasterBandStats | bandStatistics (int bandNo, int stats=QgsRasterBandStats::All, const QgsRectangle &extent=QgsRectangle(), int sampleSize=0, QgsRasterBlockFeedback *feedback=nullptr) |
| Returns the band statistics. More...
|
|
virtual QgsRasterBlock * | block (int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback=nullptr)=0 |
| Read block of data using given extent and size. More...
|
|
virtual int | capabilities () const |
| Returns a bitmask containing the supported capabilities. More...
|
|
QString | capabilitiesString () const |
| Returns the raster interface capabilities in friendly format. More...
|
|
virtual QgsRasterInterface * | clone () const =0 |
| Clone itself, create deep copy. More...
|
|
virtual QString | colorInterpretationName (int bandNumber) const |
| Returns the name of the color interpretation for the specified bandNumber. More...
|
|
virtual void | cumulativeCut (int bandNo, double lowerCount, double upperCount, double &lowerValue, double &upperValue, const QgsRectangle &extent=QgsRectangle(), int sampleSize=0) |
| Find values for cumulative pixel count cut. More...
|
|
virtual Qgis::DataType | dataType (int bandNo) const =0 |
| Returns data type for the band specified by number. More...
|
|
int | dataTypeSize (int bandNo) const |
| Returns the size (in bytes) for the data type for the specified band. More...
|
|
QString | displayBandName (int bandNumber) const |
| Generates a friendly, descriptive name for the specified bandNumber. More...
|
|
virtual QgsRectangle | extent () const |
| Gets the extent of the interface. More...
|
|
virtual QString | generateBandName (int bandNumber) const |
| helper function to create zero padded band names More...
|
|
virtual bool | hasHistogram (int bandNo, int binCount, double minimum=std::numeric_limits< double >::quiet_NaN(), double maximum=std::numeric_limits< double >::quiet_NaN(), const QgsRectangle &extent=QgsRectangle(), int sampleSize=0, bool includeOutOfRange=false) |
| Returns true if histogram is available (cached, already calculated) More...
|
|
virtual bool | hasStatistics (int bandNo, int stats=QgsRasterBandStats::All, const QgsRectangle &extent=QgsRectangle(), int sampleSize=0) |
| Returns true if histogram is available (cached, already calculated). More...
|
|
virtual QgsRasterHistogram | histogram (int bandNo, int binCount=0, double minimum=std::numeric_limits< double >::quiet_NaN(), double maximum=std::numeric_limits< double >::quiet_NaN(), const QgsRectangle &extent=QgsRectangle(), int sampleSize=0, bool includeOutOfRange=false, QgsRasterBlockFeedback *feedback=nullptr) |
| Returns a band histogram. More...
|
|
virtual QgsRasterInterface * | input () const |
| Current input. More...
|
|
virtual bool | on () const |
| Returns whether the interface is on or off. More...
|
|
virtual void | readXml (const QDomElement &filterElem) |
| Sets base class members from xml. Usually called from create() methods of subclasses. More...
|
|
virtual bool | setInput (QgsRasterInterface *input) |
| Set input. More...
|
|
virtual void | setOn (bool on) |
| Sets whether the interface is on or off. More...
|
|
virtual Qgis::DataType | sourceDataType (int bandNo) const |
| Returns source data type for the band specified by number, source data type may be shorter than dataType. More...
|
|
virtual QgsRasterInterface * | sourceInput () |
| Gets source / raw input, the first in pipe, usually provider. More...
|
|
virtual const QgsRasterInterface * | sourceInput () const |
| Gets source / raw input, the first in pipe, usually provider. More...
|
|
virtual void | writeXml (QDomDocument &doc, QDomElement &parentElem) const |
| Write base class members to xml. More...
|
|
virtual int | xBlockSize () const |
| Gets block size. More...
|
|
virtual int | xSize () const |
| Gets raster size. More...
|
|
virtual int | yBlockSize () const |
|
virtual int | ySize () const |
|