1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/interpolation/qgsgridfilewriter.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsGridFileWriter
{
%Docstring(signature="appended")
A class that does interpolation to a grid and writes the results to an
ascii grid.
%End
%TypeHeaderCode
#include "qgsgridfilewriter.h"
%End
public:
QgsGridFileWriter( QgsInterpolator *interpolator, const QString &outputPath, const QgsRectangle &extent, int nCols, int nRows );
%Docstring
Constructor for QgsGridFileWriter, for the specified ``interpolator``.
The ``outputPath`` argument is used to set the output file path.
The ``extent`` and ``nCols``, ``nRows`` arguments dictate the extent and
size of the output raster.
%End
int writeFile( QgsFeedback *feedback = 0 );
%Docstring
Writes the grid file.
An optional ``feedback`` object can be set for progress reports and
cancellation support
:return: 0 in case of success
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/interpolation/qgsgridfilewriter.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|