#include <colors.h>
|
static QColor | colorFromValue (const float value, const float min_value=0.f, const float max_value=1.f, const bool reverse=false, const bool black_white=false) |
|
static QColor | colorFromValue (const float value, const GridViewType view_type, const float min_value=0.f, const float max_value=1.f) |
|
static QColor | colorFromPalette (const int value, const GridViewType view_type) |
|
static QColor | shadeColor (const QColor col, const QPointF &coordinates, const DEM *dem) |
|
◆ Colors()
Colors::Colors |
( |
QWidget * |
parent = 0 | ) |
|
◆ autoScale()
bool Colors::autoScale |
( |
| ) |
const |
|
inline |
◆ caption()
QString Colors::caption |
( |
| ) |
const |
|
inline |
◆ colorCount()
int Colors::colorCount |
( |
| ) |
const |
|
inline |
◆ colorFromPalette()
QColor Colors::colorFromPalette |
( |
const int |
value, |
|
|
const GridViewType |
view_type |
|
) |
| |
|
static |
◆ colorFromValue() [1/2]
QColor Colors::colorFromValue |
( |
const float |
value, |
|
|
const float |
min_value = 0.f , |
|
|
const float |
max_value = 1.f , |
|
|
const bool |
reverse = false , |
|
|
const bool |
black_white = false |
|
) |
| |
|
static |
◆ colorFromValue() [2/2]
QColor Colors::colorFromValue |
( |
const float |
value, |
|
|
const GridViewType |
view_type, |
|
|
const float |
min_value = 0.f , |
|
|
const float |
max_value = 1.f |
|
) |
| |
|
static |
◆ colors()
QStringList Colors::colors |
( |
| ) |
const |
|
inline |
◆ colorsChanged
void Colors::colorsChanged |
( |
| ) |
|
|
signal |
◆ description()
QString Colors::description |
( |
| ) |
const |
|
inline |
◆ factorLabels()
QStringList Colors::factorLabels |
( |
| ) |
const |
|
inline |
◆ hasFactors()
bool Colors::hasFactors |
( |
| ) |
const |
|
inline |
◆ labels()
QStringList Colors::labels |
( |
| ) |
const |
|
inline |
◆ maxValue()
double Colors::maxValue |
( |
| ) |
const |
|
inline |
◆ meterPerPixel()
double Colors::meterPerPixel |
( |
| ) |
const |
|
inline |
◆ minValue()
double Colors::minValue |
( |
| ) |
const |
|
inline |
◆ scaleChanged
void Colors::scaleChanged |
( |
| ) |
|
|
signal |
◆ setAutoScale()
void Colors::setAutoScale |
( |
bool |
value | ) |
|
|
inline |
◆ setCaption()
void Colors::setCaption |
( |
QString |
caption, |
|
|
QString |
description = QString() |
|
) |
| |
|
inline |
◆ setFactorColors()
void Colors::setFactorColors |
( |
QStringList |
colors | ) |
|
◆ setFactorLabels()
void Colors::setFactorLabels |
( |
QStringList |
labels | ) |
|
◆ setMaxValue()
void Colors::setMaxValue |
( |
double |
val | ) |
|
|
inline |
◆ setMinValue()
void Colors::setMinValue |
( |
double |
val | ) |
|
|
inline |
◆ setPalette()
void Colors::setPalette |
( |
const GridViewType |
type, |
|
|
const float |
min_val, |
|
|
const float |
max_val |
|
) |
| |
◆ setScale()
void Colors::setScale |
( |
double |
meter_per_pixel | ) |
|
|
inline |
◆ shadeColor()
QColor Colors::shadeColor |
( |
const QColor |
col, |
|
|
const QPointF & |
coordinates, |
|
|
const DEM * |
dem |
|
) |
| |
|
static |
◆ autoScale
◆ caption
◆ colors
QStringList Colors::colors |
|
read |
◆ count
◆ description
QString Colors::description |
|
read |
◆ factorLabels
QStringList Colors::factorLabels |
|
read |
◆ hasFactors
◆ labels
QStringList Colors::labels |
|
read |
◆ maxValue
◆ meterPerPixel
double Colors::meterPerPixel |
|
read |
◆ minValue
The documentation for this class was generated from the following files: