|
QGIS API Documentation
2.4.0-Chugiak
|
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. More... | |
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 25 of file qgsgridfilewriter.cpp.
| QgsGridFileWriter::~QgsGridFileWriter | ( | ) |
Definition at line 37 of file qgsgridfilewriter.cpp.
|
private |
Definition at line 32 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 42 of file qgsgridfilewriter.cpp.
References QgsMapLayer::crs(), QgsInterpolator::interpolatePoint(), QgsInterpolator::layerData(), mCellSizeX, mCellSizeY, mInterpolationExtent, mInterpolator, mNumColumns, mNumRows, mOutputFilePath, QgsCoordinateReferenceSystem::toWkt(), tr, QgsInterpolator::LayerData::vectorLayer, writeHeader(), QgsRectangle::xMinimum(), and QgsRectangle::yMaximum().
|
private |
Definition at line 122 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().
1.8.7