QGIS API Documentation
2.0.1-Dufour
|
#include <qgsrasterprojector.h>
Public Member Functions | |
QgsRasterProjector (QgsCoordinateReferenceSystem theSrcCRS, QgsCoordinateReferenceSystem theDestCRS, QgsRectangle theDestExtent, int theDestRows, int theDestCols, double theMaxSrcXRes, double theMaxSrcYRes, QgsRectangle theExtent) | |
QgsRasterProjector implements approximate projection support for it calculates grid of points in source CRS for target CRS + extent which are used to calculate affine transformation matrices. | |
QgsRasterProjector (QgsCoordinateReferenceSystem theSrcCRS, QgsCoordinateReferenceSystem theDestCRS, double theMaxSrcXRes, double theMaxSrcYRes, QgsRectangle theExtent) | |
QgsRasterProjector () | |
QgsRasterProjector (const QgsRasterProjector &projector) | |
Copy constructor. | |
~QgsRasterProjector () | |
The destructor. | |
QgsRasterProjector & | operator= (const QgsRasterProjector &projector) |
QgsRasterInterface * | clone () const |
Clone itself, create deep copy. | |
int | bandCount () const |
Get number of bands. | |
QGis::DataType | dataType (int bandNo) const |
Returns data type for the band specified by number. | |
void | setCRS (const QgsCoordinateReferenceSystem &theSrcCRS, const QgsCoordinateReferenceSystem &theDestCRS) |
set source and destination CRS | |
QgsCoordinateReferenceSystem | srcCrs () const |
Get source CRS. | |
QgsCoordinateReferenceSystem | destCrs () const |
Get destination CRS. | |
void | setMaxSrcRes (double theMaxSrcXRes, double theMaxSrcYRes) |
set maximum source resolution | |
QgsRasterBlock * | block (int bandNo, const QgsRectangle &extent, int width, int height) |
Read block of data using given extent and size. | |
Public Member Functions inherited from QgsRasterInterface | |
QgsRasterInterface (QgsRasterInterface *input=0) | |
virtual | ~QgsRasterInterface () |
virtual int | capabilities () const |
Returns a bitmask containing the supported capabilities. | |
QString | capabilitiesString () const |
Returns the above in friendly format. | |
virtual QGis::DataType | srcDataType (int bandNo) const |
Returns source data type for the band specified by number, source data type may be shorter than dataType. | |
virtual QgsRectangle | extent () |
Get the extent of the interface. | |
int | dataTypeSize (int bandNo) |
virtual int | xBlockSize () const |
Get block size. | |
virtual int | yBlockSize () const |
virtual int | xSize () const |
Get raster size. | |
virtual int | ySize () const |
virtual QString | generateBandName (int theBandNumber) const |
helper function to create zero padded band names | |
virtual bool | setInput (QgsRasterInterface *input) |
Set input. | |
virtual QgsRasterInterface * | input () const |
Current input. | |
virtual bool | on () const |
Is on/off. | |
virtual void | setOn (bool on) |
Set on/off. | |
virtual const QgsRasterInterface * | srcInput () const |
Get source / raw input, the first in pipe, usually provider. | |
virtual QgsRasterInterface * | srcInput () |
virtual QgsRasterBandStats | bandStatistics (int theBandNo, int theStats=QgsRasterBandStats::All, const QgsRectangle &theExtent=QgsRectangle(), int theSampleSize=0) |
Get band statistics. | |
virtual bool | hasStatistics (int theBandNo, int theStats=QgsRasterBandStats::All, const QgsRectangle &theExtent=QgsRectangle(), int theSampleSize=0) |
Returns true if histogram is available (cached, already calculated). | |
virtual QgsRasterHistogram | histogram (int theBandNo, int theBinCount=0, double theMinimum=std::numeric_limits< double >::quiet_NaN(), double theMaximum=std::numeric_limits< double >::quiet_NaN(), const QgsRectangle &theExtent=QgsRectangle(), int theSampleSize=0, bool theIncludeOutOfRange=false) |
Get histogram. | |
virtual bool | hasHistogram (int theBandNo, int theBinCount, double theMinimum=std::numeric_limits< double >::quiet_NaN(), double theMaximum=std::numeric_limits< double >::quiet_NaN(), const QgsRectangle &theExtent=QgsRectangle(), int theSampleSize=0, bool theIncludeOutOfRange=false) |
Returns true if histogram is available (cached, already calculated), the parameters are the same as in histogram() | |
virtual void | cumulativeCut (int theBandNo, double theLowerCount, double theUpperCount, double &theLowerValue, double &theUpperValue, const QgsRectangle &theExtent=QgsRectangle(), int theSampleSize=0) |
Find values for cumulative pixel count cut. | |
virtual void | writeXML (QDomDocument &doc, QDomElement &parentElem) const |
Write base class members to xml. | |
virtual void | readXML (const QDomElement &filterElem) |
Sets base class members from xml. |
Private Member Functions | |
QgsRectangle | srcExtent () |
get source extent | |
int | srcRows () |
get/set source width/height | |
int | srcCols () |
void | setSrcRows (int theRows) |
void | setSrcCols (int theCols) |
void | srcRowCol (int theDestRow, int theDestCol, int *theSrcRow, int *theSrcCol) |
Get source row and column indexes for current source extent and resolution. | |
int | dstRows () const |
int | dstCols () const |
void | destPointOnCPMatrix (int theRow, int theCol, double *theX, double *theY) |
get destination point for current destination position | |
int | matrixRow (int theDestRow) |
Get matrix upper left row/col indexes for destination row/col. | |
int | matrixCol (int theDestCol) |
QgsPoint | srcPoint (int theRow, int theCol) |
get destination point for current matrix position | |
void | preciseSrcRowCol (int theDestRow, int theDestCol, int *theSrcRow, int *theSrcCol) |
Get precise source row and column indexes for current source extent and resolution. | |
void | approximateSrcRowCol (int theDestRow, int theDestCol, int *theSrcRow, int *theSrcCol) |
Get approximate source row and column indexes for current source extent and resolution. | |
void | calc () |
Calculate matrix. | |
void | insertRows () |
insert rows to matrix | |
void | insertCols () |
insert columns to matrix | |
void | calcCP (int theRow, int theCol) |
bool | calcRow (int theRow) |
calculate matrix row | |
bool | calcCol (int theCol) |
calculate matrix column | |
void | calcSrcExtent () |
calculate source extent | |
void | calcSrcRowsCols () |
calculate minimum source width and height | |
bool | checkCols () |
check error along columns returns true if within threshold | |
bool | checkRows () |
check error along rows returns true if within threshold | |
void | calcHelper (int theMatrixRow, QgsPoint *thePoints) |
Calculate array of src helper points. | |
void | nextHelper () |
Calc / switch helper. | |
QString | cpToString () |
get mCPMatrix as string |
Private Attributes | |
QgsCoordinateReferenceSystem | mSrcCRS |
Source CRS. | |
QgsCoordinateReferenceSystem | mDestCRS |
Destination CRS. | |
QgsCoordinateTransform | mCoordinateTransform |
Reverse coordinate transform (from destination to source) | |
QgsRectangle | mDestExtent |
Destination extent. | |
QgsRectangle | mSrcExtent |
Source extent. | |
QgsRectangle | mExtent |
Source raster extent. | |
int | mDestRows |
Number of destination rows. | |
int | mDestCols |
Number of destination columns. | |
double | mDestXRes |
Destination x resolution. | |
double | mDestYRes |
Destination y resolution. | |
int | mSrcRows |
Number of source rows. | |
int | mSrcCols |
Number of source columns. | |
double | mSrcXRes |
Source x resolution. | |
double | mSrcYRes |
Source y resolution. | |
double | mDestRowsPerMatrixRow |
number of destination rows per matrix row | |
double | mDestColsPerMatrixCol |
number of destination cols per matrix col | |
QList< QList< QgsPoint > > | mCPMatrix |
Grid of source control points. | |
QList< QList< bool > > | mCPLegalMatrix |
Grid of source control points transformation possible indicator. | |
QgsPoint * | pHelperTop |
Array of source points for each destination column on top of current CPMatrix grid row. | |
QgsPoint * | pHelperBottom |
Array of source points for each destination column on bottom of current CPMatrix grid row. | |
int | mHelperTopRow |
Current mHelperTop matrix row. | |
int | mCPCols |
Number of mCPMatrix columns. | |
int | mCPRows |
Number of mCPMatrix rows. | |
double | mSqrTolerance |
Maximum tolerance in destination units. | |
double | mMaxSrcXRes |
Maximum source resolution. | |
double | mMaxSrcYRes |
bool | mApproximate |
Use approximation. |
Additional Inherited Members | |
Public Types inherited from QgsRasterInterface | |
enum | Capability { NoCapabilities = 0, Size = 1 << 1, Create = 1 << 2, Remove = 1 << 3, BuildPyramids = 1 << 4, Identify = 1 << 5, IdentifyValue = 1 << 6, IdentifyText = 1 << 7, IdentifyHtml = 1 << 8, IdentifyFeature = 1 << 9 } |
If you add to this, please also add to capabilitiesString() More... | |
Protected Member Functions inherited from QgsRasterInterface | |
void | initHistogram (QgsRasterHistogram &theHistogram, int theBandNo, int theBinCount=0, double theMinimum=std::numeric_limits< double >::quiet_NaN(), double theMaximum=std::numeric_limits< double >::quiet_NaN(), const QgsRectangle &theExtent=QgsRectangle(), int theSampleSize=0, bool theIncludeOutOfRange=false) |
Fill in histogram defaults if not specified. | |
void | initStatistics (QgsRasterBandStats &theStatistics, int theBandNo, int theStats=QgsRasterBandStats::All, const QgsRectangle &theExtent=QgsRectangle(), int theBinCount=0) |
Fill in statistics defaults if not specified. | |
Protected Attributes inherited from QgsRasterInterface | |
QgsRasterInterface * | mInput |
QList< QgsRasterBandStats > | mStatistics |
List of cached statistics, all bands mixed. | |
QList< QgsRasterHistogram > | mHistograms |
List of cached histograms, all bands mixed. | |
bool | mOn |
Definition at line 38 of file qgsrasterprojector.h.
QgsRasterProjector::QgsRasterProjector | ( | QgsCoordinateReferenceSystem | theSrcCRS, |
QgsCoordinateReferenceSystem | theDestCRS, | ||
QgsRectangle | theDestExtent, | ||
int | theDestRows, | ||
int | theDestCols, | ||
double | theMaxSrcXRes, | ||
double | theMaxSrcYRes, | ||
QgsRectangle | theExtent | ||
) |
QgsRasterProjector implements approximate projection support for it calculates grid of points in source CRS for target CRS + extent which are used to calculate affine transformation matrices.
Definition at line 23 of file qgsrasterprojector.cpp.
References calc(), QgsDebugMsg, and QgsRectangle::toString().
QgsRasterProjector::QgsRasterProjector | ( | QgsCoordinateReferenceSystem | theSrcCRS, |
QgsCoordinateReferenceSystem | theDestCRS, | ||
double | theMaxSrcXRes, | ||
double | theMaxSrcYRes, | ||
QgsRectangle | theExtent | ||
) |
Definition at line 46 of file qgsrasterprojector.cpp.
References QgsDebugMsg.
QgsRasterProjector::QgsRasterProjector | ( | ) |
Definition at line 62 of file qgsrasterprojector.cpp.
References QgsDebugMsg.
Referenced by clone().
QgsRasterProjector::QgsRasterProjector | ( | const QgsRasterProjector & | projector | ) |
Copy constructor.
Definition at line 69 of file qgsrasterprojector.cpp.
References mCoordinateTransform, mDestCRS, mExtent, mMaxSrcXRes, mMaxSrcYRes, mSrcCRS, QgsCoordinateTransform::setDestCRS(), and QgsCoordinateTransform::setSourceCrs().
QgsRasterProjector::~QgsRasterProjector | ( | ) |
The destructor.
Definition at line 103 of file qgsrasterprojector.cpp.
References pHelperBottom, and pHelperTop.
|
inlineprivate |
Get approximate source row and column indexes for current source extent and resolution.
Definition at line 493 of file qgsrasterprojector.cpp.
References destPointOnCPMatrix(), matrixCol(), matrixRow(), mDestExtent, mDestYRes, mHelperTopRow, mSrcCols, mSrcExtent, mSrcRows, mSrcXRes, mSrcYRes, nextHelper(), pHelperBottom, pHelperTop, QgsPoint::x(), QgsRectangle::xMinimum(), QgsPoint::y(), and QgsRectangle::yMaximum().
Referenced by srcRowCol().
|
virtual |
Get number of bands.
Implements QgsRasterInterface.
Definition at line 109 of file qgsrasterprojector.cpp.
References QgsRasterInterface::bandCount(), and QgsRasterInterface::mInput.
|
virtual |
Read block of data using given extent and size.
Returns pointer to data. Caller is responsible to free the memory returned.
bandNo | band number |
extent | extent of block |
width | pixel width of block |
height | pixel height of block |
Implements QgsRasterInterface.
Definition at line 710 of file qgsrasterprojector.cpp.
References QgsRasterBlock::bits(), QgsRasterInterface::block(), calc(), QgsRasterInterface::dataType(), QgsRasterBlock::dataType(), QgsRasterInterface::extent(), QgsRasterBlock::hasNoData(), QgsRasterBlock::hasNoDataValue(), QgsRasterBlock::isEmpty(), QgsRasterBlock::isNoData(), QgsCoordinateReferenceSystem::isValid(), mDestCols, mDestCRS, mDestExtent, mDestRows, QgsRasterInterface::mInput, mSrcCols, mSrcCRS, QgsRasterBlock::noDataValue(), QgsDebugMsg, QgsDebugMsgLevel, srcCols(), srcExtent(), srcRowCol(), srcRows(), QgsRectangle::toString(), and QgsRasterBlock::typeSize().
|
private |
Calculate matrix.
Definition at line 131 of file qgsrasterprojector.cpp.
References calcHelper(), calcRow(), calcSrcExtent(), calcSrcRowsCols(), QgsRasterInterface::capabilities(), checkCols(), checkRows(), cpToString(), QgsRasterDataProvider::extent(), QgsRectangle::height(), insertCols(), insertRows(), QgsRectangle::isEmpty(), mApproximate, mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, mDestCols, mDestColsPerMatrixCol, mDestExtent, mDestRows, mDestRowsPerMatrixRow, mDestXRes, mDestYRes, mExtent, mHelperTopRow, QgsRasterInterface::mInput, mMaxSrcXRes, mMaxSrcYRes, mSqrTolerance, mSrcCols, mSrcExtent, mSrcRows, mSrcXRes, mSrcYRes, pHelperBottom, pHelperTop, QgsDebugMsg, QgsDebugMsgLevel, QgsRasterInterface::Size, QgsRasterInterface::srcInput(), QgsRectangle::width(), QgsRasterInterface::xSize(), and QgsRasterInterface::ySize().
Referenced by block(), and QgsRasterProjector().
|
private |
calculate matrix column
Definition at line 619 of file qgsrasterprojector.cpp.
References calcCP(), mCPRows, and QgsDebugMsgLevel.
Referenced by insertCols().
|
private |
Definition at line 590 of file qgsrasterprojector.cpp.
References destPointOnCPMatrix(), mCoordinateTransform, mCPLegalMatrix, mCPMatrix, and QgsCoordinateTransform::transform().
|
private |
Calculate array of src helper points.
Definition at line 399 of file qgsrasterprojector.cpp.
References destPointOnCPMatrix(), matrixCol(), mCPMatrix, mDestCols, mDestExtent, mDestXRes, QgsPoint::setX(), QgsPoint::setY(), QgsPoint::x(), QgsRectangle::xMinimum(), and QgsPoint::y().
Referenced by calc(), and nextHelper().
|
private |
calculate matrix row
Definition at line 608 of file qgsrasterprojector.cpp.
References calcCP(), mCPCols, and QgsDebugMsgLevel.
Referenced by calc(), and insertRows().
|
private |
calculate source extent
Definition at line 238 of file qgsrasterprojector.cpp.
References QgsRectangle::combineExtentWith(), QgsRectangle::isEmpty(), mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, mExtent, mMaxSrcXRes, mMaxSrcYRes, mSrcExtent, QgsDebugMsg, QgsRectangle::setXMaximum(), QgsRectangle::setXMinimum(), QgsRectangle::setYMaximum(), QgsRectangle::setYMinimum(), QgsRectangle::toString(), QgsPoint::x(), QgsRectangle::xMaximum(), QgsRectangle::xMinimum(), QgsPoint::y(), QgsRectangle::yMaximum(), and QgsRectangle::yMinimum().
Referenced by calc().
|
private |
calculate minimum source width and height
Definition at line 322 of file qgsrasterprojector.cpp.
References QgsRectangle::height(), mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, mDestCols, mDestRows, mMaxSrcXRes, mMaxSrcYRes, mSrcCols, mSrcExtent, mSrcRows, QgsDebugMsg, QgsPoint::sqrDist(), and QgsRectangle::width().
Referenced by calc().
|
private |
check error along columns returns true if within threshold
Definition at line 630 of file qgsrasterprojector.cpp.
References destPointOnCPMatrix(), mCoordinateTransform, mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, mSqrTolerance, QgsCoordinateTransform::ReverseTransform, QgsPoint::sqrDist(), QgsCoordinateTransform::transform(), QgsPoint::x(), and QgsPoint::y().
Referenced by calc().
|
private |
check error along rows returns true if within threshold
Definition at line 670 of file qgsrasterprojector.cpp.
References destPointOnCPMatrix(), mCoordinateTransform, mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, mSqrTolerance, QgsCoordinateTransform::ReverseTransform, QgsPoint::sqrDist(), QgsCoordinateTransform::transform(), QgsPoint::x(), and QgsPoint::y().
Referenced by calc().
|
virtual |
Clone itself, create deep copy.
Implements QgsRasterInterface.
Definition at line 96 of file qgsrasterprojector.cpp.
References mDestCRS, mExtent, mMaxSrcXRes, mMaxSrcYRes, mSrcCRS, QgsDebugMsg, and QgsRasterProjector().
|
private |
get mCPMatrix as string
Definition at line 297 of file qgsrasterprojector.cpp.
References mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, and QgsPoint::toString().
Referenced by calc().
|
virtual |
Returns data type for the band specified by number.
Implements QgsRasterInterface.
Definition at line 116 of file qgsrasterprojector.cpp.
References QgsRasterInterface::dataType(), QgsRasterInterface::mInput, and QGis::UnknownDataType.
|
inline |
Get destination CRS.
Definition at line 83 of file qgsrasterprojector.h.
Referenced by QgsRasterFileWriter::writeDataRaster().
|
inlineprivate |
get destination point for current destination position
Definition at line 377 of file qgsrasterprojector.cpp.
References QgsRectangle::height(), mCPCols, mCPRows, mDestExtent, QgsRectangle::width(), QgsRectangle::xMinimum(), and QgsRectangle::yMaximum().
Referenced by approximateSrcRowCol(), calcCP(), calcHelper(), checkCols(), and checkRows().
|
inlineprivate |
Definition at line 107 of file qgsrasterprojector.h.
|
inlineprivate |
Definition at line 106 of file qgsrasterprojector.h.
|
private |
insert columns to matrix
Definition at line 570 of file qgsrasterprojector.cpp.
References calcCol(), mCPCols, mCPLegalMatrix, mCPMatrix, and mCPRows.
Referenced by calc().
|
private |
insert rows to matrix
Definition at line 548 of file qgsrasterprojector.cpp.
References calcRow(), mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, and QgsDebugMsgLevel.
Referenced by calc().
|
inlineprivate |
Definition at line 387 of file qgsrasterprojector.cpp.
References mDestColsPerMatrixCol.
Referenced by approximateSrcRowCol(), and calcHelper().
|
inlineprivate |
Get matrix upper left row/col indexes for destination row/col.
Definition at line 383 of file qgsrasterprojector.cpp.
References mDestRowsPerMatrixRow.
Referenced by approximateSrcRowCol().
|
private |
Calc / switch helper.
Definition at line 424 of file qgsrasterprojector.cpp.
References calcHelper(), mHelperTopRow, pHelperBottom, and pHelperTop.
Referenced by approximateSrcRowCol().
QgsRasterProjector & QgsRasterProjector::operator= | ( | const QgsRasterProjector & | projector | ) |
Definition at line 81 of file qgsrasterprojector.cpp.
References mCoordinateTransform, mDestCRS, mExtent, mMaxSrcXRes, mMaxSrcYRes, mSrcCRS, QgsCoordinateTransform::setDestCRS(), and QgsCoordinateTransform::setSourceCrs().
|
inlineprivate |
Get precise source row and column indexes for current source extent and resolution.
Definition at line 447 of file qgsrasterprojector.cpp.
References mCoordinateTransform, mDestExtent, mDestXRes, mDestYRes, mSrcCols, mSrcExtent, mSrcRows, mSrcXRes, mSrcYRes, QgsDebugMsgLevel, QgsCoordinateTransform::transformInPlace(), QgsRectangle::xMinimum(), and QgsRectangle::yMaximum().
Referenced by srcRowCol().
void QgsRasterProjector::setCRS | ( | const QgsCoordinateReferenceSystem & | theSrcCRS, |
const QgsCoordinateReferenceSystem & | theDestCRS | ||
) |
set source and destination CRS
Definition at line 123 of file qgsrasterprojector.cpp.
References mCoordinateTransform, mDestCRS, mSrcCRS, QgsCoordinateTransform::setDestCRS(), and QgsCoordinateTransform::setSourceCrs().
Referenced by QgsRasterLayer::draw().
|
inline |
set maximum source resolution
Definition at line 86 of file qgsrasterprojector.h.
|
inlineprivate |
Definition at line 101 of file qgsrasterprojector.h.
|
inlineprivate |
Definition at line 100 of file qgsrasterprojector.h.
|
inlineprivate |
Definition at line 99 of file qgsrasterprojector.h.
Referenced by block().
|
inline |
Get source CRS.
Definition at line 80 of file qgsrasterprojector.h.
Referenced by QgsRasterFileWriter::writeDataRaster().
|
inlineprivate |
|
private |
get destination point for current matrix position
Definition at line 392 of file qgsrasterprojector.cpp.
|
private |
Get source row and column indexes for current source extent and resolution.
Definition at line 435 of file qgsrasterprojector.cpp.
References approximateSrcRowCol(), mApproximate, and preciseSrcRowCol().
Referenced by block().
|
inlineprivate |
get/set source width/height
Definition at line 98 of file qgsrasterprojector.h.
Referenced by block().
|
private |
Use approximation.
Definition at line 245 of file qgsrasterprojector.h.
Referenced by calc(), and srcRowCol().
|
private |
Reverse coordinate transform (from destination to source)
Definition at line 173 of file qgsrasterprojector.h.
Referenced by calcCP(), checkCols(), checkRows(), operator=(), preciseSrcRowCol(), QgsRasterProjector(), and setCRS().
|
private |
Number of mCPMatrix columns.
Definition at line 233 of file qgsrasterprojector.h.
Referenced by calc(), calcRow(), calcSrcExtent(), calcSrcRowsCols(), checkCols(), checkRows(), cpToString(), destPointOnCPMatrix(), insertCols(), and insertRows().
|
private |
Grid of source control points transformation possible indicator.
Definition at line 219 of file qgsrasterprojector.h.
Referenced by calc(), calcCP(), calcSrcExtent(), calcSrcRowsCols(), checkCols(), checkRows(), cpToString(), insertCols(), and insertRows().
|
private |
Grid of source control points.
Definition at line 215 of file qgsrasterprojector.h.
Referenced by calc(), calcCP(), calcHelper(), calcSrcExtent(), calcSrcRowsCols(), checkCols(), checkRows(), cpToString(), insertCols(), and insertRows().
|
private |
Number of mCPMatrix rows.
Definition at line 235 of file qgsrasterprojector.h.
Referenced by calc(), calcCol(), calcSrcExtent(), calcSrcRowsCols(), checkCols(), checkRows(), cpToString(), destPointOnCPMatrix(), insertCols(), and insertRows().
|
private |
Number of destination columns.
Definition at line 188 of file qgsrasterprojector.h.
Referenced by block(), calc(), calcHelper(), and calcSrcRowsCols().
|
private |
number of destination cols per matrix col
Definition at line 212 of file qgsrasterprojector.h.
Referenced by calc(), and matrixCol().
|
private |
Destination CRS.
Definition at line 170 of file qgsrasterprojector.h.
Referenced by block(), clone(), operator=(), QgsRasterProjector(), and setCRS().
|
private |
Destination extent.
Definition at line 176 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), block(), calc(), calcHelper(), destPointOnCPMatrix(), and preciseSrcRowCol().
|
private |
Number of destination rows.
Definition at line 185 of file qgsrasterprojector.h.
Referenced by block(), calc(), and calcSrcRowsCols().
|
private |
number of destination rows per matrix row
Definition at line 209 of file qgsrasterprojector.h.
Referenced by calc(), and matrixRow().
|
private |
Destination x resolution.
Definition at line 191 of file qgsrasterprojector.h.
Referenced by calc(), calcHelper(), and preciseSrcRowCol().
|
private |
Destination y resolution.
Definition at line 194 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and preciseSrcRowCol().
|
private |
Source raster extent.
Definition at line 182 of file qgsrasterprojector.h.
Referenced by calc(), calcSrcExtent(), clone(), operator=(), and QgsRasterProjector().
|
private |
Current mHelperTop matrix row.
Definition at line 230 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and nextHelper().
|
private |
Maximum source resolution.
Definition at line 241 of file qgsrasterprojector.h.
Referenced by calc(), calcSrcExtent(), calcSrcRowsCols(), clone(), operator=(), and QgsRasterProjector().
|
private |
Definition at line 242 of file qgsrasterprojector.h.
Referenced by calc(), calcSrcExtent(), calcSrcRowsCols(), clone(), operator=(), and QgsRasterProjector().
|
private |
Maximum tolerance in destination units.
Definition at line 238 of file qgsrasterprojector.h.
Referenced by calc(), checkCols(), and checkRows().
|
private |
Number of source columns.
Definition at line 200 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), block(), calc(), calcSrcRowsCols(), and preciseSrcRowCol().
|
private |
Source CRS.
Definition at line 167 of file qgsrasterprojector.h.
Referenced by block(), clone(), operator=(), QgsRasterProjector(), and setCRS().
|
private |
Source extent.
Definition at line 179 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), calcSrcExtent(), calcSrcRowsCols(), and preciseSrcRowCol().
|
private |
Number of source rows.
Definition at line 197 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), calcSrcRowsCols(), and preciseSrcRowCol().
|
private |
Source x resolution.
Definition at line 203 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and preciseSrcRowCol().
|
private |
Source y resolution.
Definition at line 206 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and preciseSrcRowCol().
|
private |
Array of source points for each destination column on bottom of current CPMatrix grid row.
Definition at line 227 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), nextHelper(), and ~QgsRasterProjector().
|
private |
Array of source points for each destination column on top of current CPMatrix grid row.
Definition at line 223 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), nextHelper(), and ~QgsRasterProjector().