|
QGIS API Documentation
master-59fd5e0
|
#include <qgsrasterprojector.h>
Inheritance diagram for QgsRasterProjector:
Collaboration diagram for QgsRasterProjector: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. | |
| int | bandCount () const |
| Get number of bands. | |
| QgsRasterBlock * | block (int bandNo, const QgsRectangle &extent, int width, int height) |
| Read block of data using given extent and size. | |
| QgsRasterInterface * | clone () const |
| Clone itself, create deep copy. | |
| QGis::DataType | dataType (int bandNo) const |
| Returns data type for the band specified by number. | |
| QgsCoordinateReferenceSystem | destCrs () const |
| Get destination CRS. | |
| QgsRasterProjector & | operator= (const QgsRasterProjector &projector) |
| void | setCRS (const QgsCoordinateReferenceSystem &theSrcCRS, const QgsCoordinateReferenceSystem &theDestCRS) |
| set source and destination CRS | |
| void | setMaxSrcRes (double theMaxSrcXRes, double theMaxSrcYRes) |
| set maximum source resolution | |
| QgsCoordinateReferenceSystem | srcCrs () const |
| Get source CRS. | |
Private Member Functions | |
| 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. | |
| bool | calcCol (int theCol) |
| calculate matrix column | |
| void | calcCP (int theRow, int theCol) |
| void | calcHelper (int theMatrixRow, QgsPoint *thePoints) |
| Calculate array of src helper points. | |
| bool | calcRow (int theRow) |
| calculate matrix row | |
| 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 | |
| QString | cpToString () |
| get mCPMatrix as string | |
| void | destPointOnCPMatrix (int theRow, int theCol, double *theX, double *theY) |
| get destination point for _current_ destination position | |
| int | dstCols () const |
| int | dstRows () const |
| void | insertCols () |
| insert columns to matrix | |
| void | insertRows () |
| insert rows to matrix | |
| int | matrixCol (int theDestCol) |
| int | matrixRow (int theDestRow) |
| Get matrix upper left row/col indexes for destination row/col. | |
| void | nextHelper () |
| Calc / switch helper. | |
| void | preciseSrcRowCol (int theDestRow, int theDestCol, int *theSrcRow, int *theSrcCol) |
| Get precise source row and column indexes for current source extent and resolution. | |
| void | setSrcCols (int theCols) |
| void | setSrcRows (int theRows) |
| int | srcCols () |
| QgsRectangle | srcExtent () |
| get source extent | |
| QgsPoint | srcPoint (int theRow, int theCol) |
| get destination point for _current_ matrix position | |
| void | srcRowCol (int theDestRow, int theDestCol, int *theSrcRow, int *theSrcCol) |
| Get source row and column indexes for current source extent and resolution. | |
| int | srcRows () |
| get/set source width/height | |
Private Attributes | |
| bool | mApproximate |
| Use approximation. | |
| QgsCoordinateTransform | mCoordinateTransform |
| Reverse coordinate transform (from destination to source) | |
| int | mCPCols |
| Number of mCPMatrix columns. | |
| QList< QList< bool > > | mCPLegalMatrix |
| Grid of source control points transformation possible indicator. | |
| QList< QList< QgsPoint > > | mCPMatrix |
| Grid of source control points. | |
| int | mCPRows |
| Number of mCPMatrix rows. | |
| int | mDestCols |
| Number of destination columns. | |
| double | mDestColsPerMatrixCol |
| number of destination cols per matrix col | |
| QgsCoordinateReferenceSystem | mDestCRS |
| Destination CRS. | |
| QgsRectangle | mDestExtent |
| Destination extent. | |
| int | mDestRows |
| Number of destination rows. | |
| double | mDestRowsPerMatrixRow |
| number of destination rows per matrix row | |
| double | mDestXRes |
| Destination x resolution. | |
| double | mDestYRes |
| Destination y resolution. | |
| QgsRectangle | mExtent |
| Source raster extent. | |
| int | mHelperTopRow |
| Current mHelperTop matrix row. | |
| double | mMaxSrcXRes |
| Maximum source resolution. | |
| double | mMaxSrcYRes |
| double | mSqrTolerance |
| Maximum tolerance in destination units. | |
| int | mSrcCols |
| Number of source columns. | |
| QgsCoordinateReferenceSystem | mSrcCRS |
| Source CRS. | |
| QgsRectangle | mSrcExtent |
| Source extent. | |
| int | mSrcRows |
| Number of source rows. | |
| double | mSrcXRes |
| Source x resolution. | |
| double | mSrcYRes |
| Source y resolution. | |
| QgsPoint * | pHelperBottom |
| Array of source points for each destination column on bottom of current CPMatrix grid row. | |
| QgsPoint * | pHelperTop |
| Array of source points for each destination column on top of current CPMatrix grid row. | |
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.
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().
The destructor.
Definition at line 103 of file qgsrasterprojector.cpp.
References pHelperBottom, and pHelperTop.
| void QgsRasterProjector::approximateSrcRowCol | ( | int | theDestRow, |
| int | theDestCol, | ||
| int * | theSrcRow, | ||
| int * | theSrcCol | ||
| ) | [inline, private] |
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().
| int QgsRasterProjector::bandCount | ( | ) | const [virtual] |
Get number of bands.
Implements QgsRasterInterface.
Definition at line 109 of file qgsrasterprojector.cpp.
References QgsRasterInterface::bandCount(), and QgsRasterInterface::mInput.
| QgsRasterBlock * QgsRasterProjector::block | ( | int | bandNo, |
| const QgsRectangle & | extent, | ||
| int | width, | ||
| int | height | ||
| ) | [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().
| void QgsRasterProjector::calc | ( | ) | [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().
| bool QgsRasterProjector::calcCol | ( | int | theCol | ) | [private] |
calculate matrix column
Definition at line 619 of file qgsrasterprojector.cpp.
References calcCP(), mCPRows, and QgsDebugMsgLevel.
Referenced by insertCols().
| void QgsRasterProjector::calcCP | ( | int | theRow, |
| int | theCol | ||
| ) | [private] |
Definition at line 590 of file qgsrasterprojector.cpp.
References destPointOnCPMatrix(), mCoordinateTransform, mCPLegalMatrix, mCPMatrix, and QgsCoordinateTransform::transform().
| void QgsRasterProjector::calcHelper | ( | int | theMatrixRow, |
| QgsPoint * | thePoints | ||
| ) | [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().
| bool QgsRasterProjector::calcRow | ( | int | theRow | ) | [private] |
calculate matrix row
Definition at line 608 of file qgsrasterprojector.cpp.
References calcCP(), mCPCols, and QgsDebugMsgLevel.
Referenced by calc(), and insertRows().
| void QgsRasterProjector::calcSrcExtent | ( | ) | [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().
| void QgsRasterProjector::calcSrcRowsCols | ( | ) | [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().
| bool QgsRasterProjector::checkCols | ( | ) | [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().
| bool QgsRasterProjector::checkRows | ( | ) | [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().
| QgsRasterInterface * QgsRasterProjector::clone | ( | ) | const [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().
| QString QgsRasterProjector::cpToString | ( | ) | [private] |
get mCPMatrix as string
Definition at line 297 of file qgsrasterprojector.cpp.
References mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, and QgsPoint::toString().
Referenced by calc().
| QGis::DataType QgsRasterProjector::dataType | ( | int | bandNo | ) | const [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.
| QgsCoordinateReferenceSystem QgsRasterProjector::destCrs | ( | ) | const [inline] |
Get destination CRS.
Definition at line 83 of file qgsrasterprojector.h.
Referenced by QgsRasterFileWriter::writeDataRaster().
| void QgsRasterProjector::destPointOnCPMatrix | ( | int | theRow, |
| int | theCol, | ||
| double * | theX, | ||
| double * | theY | ||
| ) | [inline, private] |
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().
| int QgsRasterProjector::dstCols | ( | ) | const [inline, private] |
Definition at line 107 of file qgsrasterprojector.h.
| int QgsRasterProjector::dstRows | ( | ) | const [inline, private] |
Definition at line 106 of file qgsrasterprojector.h.
| void QgsRasterProjector::insertCols | ( | ) | [private] |
insert columns to matrix
Definition at line 570 of file qgsrasterprojector.cpp.
References calcCol(), mCPCols, mCPLegalMatrix, mCPMatrix, and mCPRows.
Referenced by calc().
| void QgsRasterProjector::insertRows | ( | ) | [private] |
insert rows to matrix
Definition at line 548 of file qgsrasterprojector.cpp.
References calcRow(), mCPCols, mCPLegalMatrix, mCPMatrix, mCPRows, and QgsDebugMsgLevel.
Referenced by calc().
| int QgsRasterProjector::matrixCol | ( | int | theDestCol | ) | [inline, private] |
Definition at line 387 of file qgsrasterprojector.cpp.
References mDestColsPerMatrixCol.
Referenced by approximateSrcRowCol(), and calcHelper().
| int QgsRasterProjector::matrixRow | ( | int | theDestRow | ) | [inline, private] |
Get matrix upper left row/col indexes for destination row/col.
Definition at line 383 of file qgsrasterprojector.cpp.
References mDestRowsPerMatrixRow.
Referenced by approximateSrcRowCol().
| void QgsRasterProjector::nextHelper | ( | ) | [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().
| void QgsRasterProjector::preciseSrcRowCol | ( | int | theDestRow, |
| int | theDestCol, | ||
| int * | theSrcRow, | ||
| int * | theSrcCol | ||
| ) | [inline, private] |
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().
| void QgsRasterProjector::setMaxSrcRes | ( | double | theMaxSrcXRes, |
| double | theMaxSrcYRes | ||
| ) | [inline] |
set maximum source resolution
Definition at line 86 of file qgsrasterprojector.h.
| void QgsRasterProjector::setSrcCols | ( | int | theCols | ) | [inline, private] |
Definition at line 101 of file qgsrasterprojector.h.
| void QgsRasterProjector::setSrcRows | ( | int | theRows | ) | [inline, private] |
Definition at line 100 of file qgsrasterprojector.h.
| int QgsRasterProjector::srcCols | ( | ) | [inline, private] |
Definition at line 99 of file qgsrasterprojector.h.
Referenced by block().
| QgsCoordinateReferenceSystem QgsRasterProjector::srcCrs | ( | ) | const [inline] |
Get source CRS.
Definition at line 80 of file qgsrasterprojector.h.
Referenced by QgsRasterFileWriter::writeDataRaster().
| QgsRectangle QgsRasterProjector::srcExtent | ( | ) | [inline, private] |
| QgsPoint QgsRasterProjector::srcPoint | ( | int | theRow, |
| int | theCol | ||
| ) | [private] |
get destination point for _current_ matrix position
Definition at line 392 of file qgsrasterprojector.cpp.
| void QgsRasterProjector::srcRowCol | ( | int | theDestRow, |
| int | theDestCol, | ||
| int * | theSrcRow, | ||
| int * | theSrcCol | ||
| ) | [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().
| int QgsRasterProjector::srcRows | ( | ) | [inline, private] |
get/set source width/height
Definition at line 98 of file qgsrasterprojector.h.
Referenced by block().
bool QgsRasterProjector::mApproximate [private] |
Use approximation.
Definition at line 245 of file qgsrasterprojector.h.
Referenced by calc(), and srcRowCol().
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().
int QgsRasterProjector::mCPCols [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().
QList< QList<bool> > QgsRasterProjector::mCPLegalMatrix [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().
QList< QList<QgsPoint> > QgsRasterProjector::mCPMatrix [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().
int QgsRasterProjector::mCPRows [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().
int QgsRasterProjector::mDestCols [private] |
Number of destination columns.
Definition at line 188 of file qgsrasterprojector.h.
Referenced by block(), calc(), calcHelper(), and calcSrcRowsCols().
double QgsRasterProjector::mDestColsPerMatrixCol [private] |
number of destination cols per matrix col
Definition at line 212 of file qgsrasterprojector.h.
Referenced by calc(), and matrixCol().
Destination CRS.
Definition at line 170 of file qgsrasterprojector.h.
Referenced by block(), clone(), operator=(), QgsRasterProjector(), and setCRS().
QgsRectangle QgsRasterProjector::mDestExtent [private] |
Destination extent.
Definition at line 176 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), block(), calc(), calcHelper(), destPointOnCPMatrix(), and preciseSrcRowCol().
int QgsRasterProjector::mDestRows [private] |
Number of destination rows.
Definition at line 185 of file qgsrasterprojector.h.
Referenced by block(), calc(), and calcSrcRowsCols().
double QgsRasterProjector::mDestRowsPerMatrixRow [private] |
number of destination rows per matrix row
Definition at line 209 of file qgsrasterprojector.h.
Referenced by calc(), and matrixRow().
double QgsRasterProjector::mDestXRes [private] |
Destination x resolution.
Definition at line 191 of file qgsrasterprojector.h.
Referenced by calc(), calcHelper(), and preciseSrcRowCol().
double QgsRasterProjector::mDestYRes [private] |
Destination y resolution.
Definition at line 194 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and preciseSrcRowCol().
QgsRectangle QgsRasterProjector::mExtent [private] |
Source raster extent.
Definition at line 182 of file qgsrasterprojector.h.
Referenced by calc(), calcSrcExtent(), clone(), operator=(), and QgsRasterProjector().
int QgsRasterProjector::mHelperTopRow [private] |
Current mHelperTop matrix row.
Definition at line 230 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and nextHelper().
double QgsRasterProjector::mMaxSrcXRes [private] |
Maximum source resolution.
Definition at line 241 of file qgsrasterprojector.h.
Referenced by calc(), calcSrcExtent(), calcSrcRowsCols(), clone(), operator=(), and QgsRasterProjector().
double QgsRasterProjector::mMaxSrcYRes [private] |
Definition at line 242 of file qgsrasterprojector.h.
Referenced by calc(), calcSrcExtent(), calcSrcRowsCols(), clone(), operator=(), and QgsRasterProjector().
double QgsRasterProjector::mSqrTolerance [private] |
Maximum tolerance in destination units.
Definition at line 238 of file qgsrasterprojector.h.
Referenced by calc(), checkCols(), and checkRows().
int QgsRasterProjector::mSrcCols [private] |
Number of source columns.
Definition at line 200 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), block(), calc(), calcSrcRowsCols(), and preciseSrcRowCol().
Source CRS.
Definition at line 167 of file qgsrasterprojector.h.
Referenced by block(), clone(), operator=(), QgsRasterProjector(), and setCRS().
QgsRectangle QgsRasterProjector::mSrcExtent [private] |
Source extent.
Definition at line 179 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), calcSrcExtent(), calcSrcRowsCols(), and preciseSrcRowCol().
int QgsRasterProjector::mSrcRows [private] |
Number of source rows.
Definition at line 197 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), calcSrcRowsCols(), and preciseSrcRowCol().
double QgsRasterProjector::mSrcXRes [private] |
Source x resolution.
Definition at line 203 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and preciseSrcRowCol().
double QgsRasterProjector::mSrcYRes [private] |
Source y resolution.
Definition at line 206 of file qgsrasterprojector.h.
Referenced by approximateSrcRowCol(), calc(), and preciseSrcRowCol().
QgsPoint* QgsRasterProjector::pHelperBottom [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().
QgsPoint* QgsRasterProjector::pHelperTop [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().