53 double zFactor()
const {
return mZFactor; }
56 void clearReliefColors();
57 void addReliefColorClass(
const ReliefColor& color );
66 bool exportFrequencyDistributionToCsv(
const QString& file );
77 float mInputNodataValue;
79 float mOutputNodataValue;
92 bool processNineCellWindow(
float* x1,
float* x2,
float* x3,
float* x4,
float* x5,
float* x6,
float* x7,
float* x8,
float* x9,
93 unsigned char* red,
unsigned char* green,
unsigned char* blue );
96 GDALDatasetH openInputFile(
int& nCellsX,
int& nCellsY );
99 GDALDriverH openOutputDriver();
105 bool setElevationColor(
double elevation,
int* red,
int* green,
int* blue );
108 void setDefaultReliefColors();
111 int frequencyClassForElevation(
double elevation,
double minElevation,
double elevationClassRange );
113 void optimiseClassBreaks(
QList<int>& breaks,
double* frequencies );
125 #endif // QGSRELIEF_H
void setZFactor(double factor)
double ANALYSIS_EXPORT max(double x, double y)
Returns the maximum of two doubles or the first argument if both are equal.
Calculates aspect values in a window of 3x3 cells based on first order derivatives in x- and y- direc...
ReliefColor(const QColor &c, double min, double max)
Calculates slope values in a window of 3x3 cells based on first order derivatives in x- and y- direct...
const QList< ReliefColor > & reliefColors() const
void setReliefColors(const QList< ReliefColor > &c)
double ANALYSIS_EXPORT min(double x, double y)
Returns the minimum of two doubles or the first argument if both are equal.
Produces colored relief rasters from DEM.