|
QGIS API Documentation
2.6.0-Brighton
|
Produces coloured relief rasters from DEM. More...
#include <qgsrelief.h>
Classes | |
| struct | ReliefColor |
Public Member Functions | |
| QgsRelief (const QString &inputFile, const QString &outputFile, const QString &outputFormat) | |
| ~QgsRelief () | |
| int | processRaster (QProgressDialog *p) |
| Starts the calculation, reads from mInputFile and stores the result in mOutputFile. | |
| double | zFactor () const |
| void | setZFactor (double factor) |
| void | clearReliefColors () |
| void | addReliefColorClass (const ReliefColor &color) |
| const QList< ReliefColor > & | reliefColors () const |
| void | setReliefColors (const QList< ReliefColor > &c) |
| QList< ReliefColor > | calculateOptimizedReliefClasses () |
| Calculates class breaks according with the method of Buenzli (2011) using an iterative algorithm for segmented regression. | |
| bool | exportFrequencyDistributionToCsv (const QString &file) |
| Write frequency of elevation values to file for manual inspection. | |
Produces coloured relief rasters from DEM.
| QgsRelief::QgsRelief | ( | const QString & | inputFile, |
| const QString & | outputFile, | ||
| const QString & | outputFormat | ||
| ) |
| QgsRelief::~QgsRelief | ( | ) |
| void QgsRelief::addReliefColorClass | ( | const ReliefColor & | color | ) |
| QList< QgsRelief::ReliefColor > QgsRelief::calculateOptimizedReliefClasses | ( | ) |
Calculates class breaks according with the method of Buenzli (2011) using an iterative algorithm for segmented regression.
| void QgsRelief::clearReliefColors | ( | ) |
| bool QgsRelief::exportFrequencyDistributionToCsv | ( | const QString & | file | ) |
Write frequency of elevation values to file for manual inspection.
| int QgsRelief::processRaster | ( | QProgressDialog * | p | ) |
Starts the calculation, reads from mInputFile and stores the result in mOutputFile.
| p | progress dialog that receives update and that is checked for abort. 0 if no progress bar is needed. |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.1.2