QGIS API Documentation
3.2.0-Bonn (bc43194)
|
Produces colored 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 (const QgsRelief &rh)=delete | |
QgsRelief cannot be copied. More... | |
~QgsRelief () | |
void | addReliefColorClass (const QgsRelief::ReliefColor &color) |
QList< QgsRelief::ReliefColor > | calculateOptimizedReliefClasses () |
Calculates class breaks according with the method of Buenzli (2011) using an iterative algorithm for segmented regression. More... | |
void | clearReliefColors () |
bool | exportFrequencyDistributionToCsv (const QString &file) |
Write frequency of elevation values to file for manual inspection. More... | |
QgsRelief & | operator= (const QgsRelief &rh)=delete |
QgsRelief cannot be copied. More... | |
int | processRaster (QgsFeedback *feedback=nullptr) |
Starts the calculation, reads from mInputFile and stores the result in mOutputFile. More... | |
QList< QgsRelief::ReliefColor > | reliefColors () const |
void | setReliefColors (const QList< QgsRelief::ReliefColor > &c) |
void | setZFactor (double factor) |
double | zFactor () const |
Produces colored relief rasters from DEM.
Definition at line 37 of file qgsrelief.h.
QgsRelief::QgsRelief | ( | const QString & | inputFile, |
const QString & | outputFile, | ||
const QString & | outputFormat | ||
) |
Definition at line 34 of file qgsrelief.cpp.
QgsRelief::~QgsRelief | ( | ) |
Definition at line 54 of file qgsrelief.cpp.
void QgsRelief::addReliefColorClass | ( | const QgsRelief::ReliefColor & | color | ) |
Definition at line 68 of file qgsrelief.cpp.
QList< QgsRelief::ReliefColor > QgsRelief::calculateOptimizedReliefClasses | ( | ) |
Calculates class breaks according with the method of Buenzli (2011) using an iterative algorithm for segmented regression.
Definition at line 574 of file qgsrelief.cpp.
void QgsRelief::clearReliefColors | ( | ) |
Definition at line 63 of file qgsrelief.cpp.
bool QgsRelief::exportFrequencyDistributionToCsv | ( | const QString & | file | ) |
Write frequency of elevation values to file for manual inspection.
Definition at line 490 of file qgsrelief.cpp.
int QgsRelief::processRaster | ( | QgsFeedback * | feedback = nullptr | ) |
Starts the calculation, reads from mInputFile and stores the result in mOutputFile.
feedback | feedback object that receives update and that is checked for cancelation. |
Definition at line 84 of file qgsrelief.cpp.
|
inline |
Definition at line 67 of file qgsrelief.h.
|
inline |
Definition at line 68 of file qgsrelief.h.
|
inline |
Definition at line 63 of file qgsrelief.h.
|
inline |
Definition at line 62 of file qgsrelief.h.