QGIS API Documentation
2.2.0-Valmiera
|
A class that does interpolation to a grid and writes the results to an ascii grid. More...
#include <qgsgridfilewriter.h>
Public Member Functions | |
QgsGridFileWriter (QgsInterpolator *i, QString outputPath, QgsRectangle extent, int nCols, int nRows, double cellSizeX, double cellSizeY) | |
~QgsGridFileWriter () | |
int | writeFile (bool showProgressDialog=false) |
Writes the grid file. |
Private Member Functions | |
QgsGridFileWriter () | |
int | writeHeader (QTextStream &outStream) |
Private Attributes | |
QgsInterpolator * | mInterpolator |
QString | mOutputFilePath |
QgsRectangle | mInterpolationExtent |
int | mNumColumns |
int | mNumRows |
double | mCellSizeX |
double | mCellSizeY |
A class that does interpolation to a grid and writes the results to an ascii grid.
Definition at line 29 of file qgsgridfilewriter.h.
QgsGridFileWriter::QgsGridFileWriter | ( | QgsInterpolator * | i, |
QString | outputPath, | ||
QgsRectangle | extent, | ||
int | nCols, | ||
int | nRows, | ||
double | cellSizeX, | ||
double | cellSizeY | ||
) |
Definition at line 23 of file qgsgridfilewriter.cpp.
QgsGridFileWriter::~QgsGridFileWriter | ( | ) |
Definition at line 35 of file qgsgridfilewriter.cpp.
|
private |
Definition at line 30 of file qgsgridfilewriter.cpp.
int QgsGridFileWriter::writeFile | ( | bool | showProgressDialog = false | ) |
Writes the grid file.
showProgressDialog | shows a dialog with the possibility to cancel |
Definition at line 40 of file qgsgridfilewriter.cpp.
References QgsInterpolator::interpolatePoint(), mCellSizeX, mCellSizeY, mInterpolationExtent, mInterpolator, mNumColumns, mNumRows, mOutputFilePath, tr, writeHeader(), QgsRectangle::xMinimum(), and QgsRectangle::yMaximum().
|
private |
Definition at line 103 of file qgsgridfilewriter.cpp.
References mCellSizeX, mCellSizeY, mInterpolationExtent, mNumColumns, mNumRows, QgsRectangle::xMinimum(), and QgsRectangle::yMinimum().
Referenced by writeFile().
|
private |
Definition at line 52 of file qgsgridfilewriter.h.
Referenced by writeFile(), and writeHeader().
|
private |
Definition at line 53 of file qgsgridfilewriter.h.
Referenced by writeFile(), and writeHeader().
|
private |
Definition at line 48 of file qgsgridfilewriter.h.
Referenced by writeFile(), and writeHeader().
|
private |
Definition at line 46 of file qgsgridfilewriter.h.
Referenced by writeFile().
|
private |
Definition at line 49 of file qgsgridfilewriter.h.
Referenced by writeFile(), and writeHeader().
|
private |
Definition at line 50 of file qgsgridfilewriter.h.
Referenced by writeFile(), and writeHeader().
|
private |
Definition at line 47 of file qgsgridfilewriter.h.
Referenced by writeFile().