|
Quantum GIS API Documentation
master-ce49b66
|
#include <qgsvectorcolorrampv2.h>
Inheritance diagram for QgsVectorRandomColorRampV2:
Collaboration diagram for QgsVectorRandomColorRampV2:Public Member Functions | |
| QgsVectorRandomColorRampV2 (int count=DEFAULT_RANDOM_COUNT, int hueMin=DEFAULT_RANDOM_HUE_MIN, int hueMax=DEFAULT_RANDOM_HUE_MAX, int satMin=DEFAULT_RANDOM_SAT_MIN, int satMax=DEFAULT_RANDOM_SAT_MAX, int valMin=DEFAULT_RANDOM_VAL_MIN, int valMax=DEFAULT_RANDOM_VAL_MAX) | |
| virtual QgsVectorColorRampV2 * | clone () const |
| virtual QColor | color (double value) const |
| int | count () const |
| int | hueMax () const |
| int | hueMin () const |
| virtual QgsStringMap | properties () const |
| int | satMax () const |
| int | satMin () const |
| void | setCount (int val) |
| void | setHueMax (int val) |
| void | setHueMin (int val) |
| void | setSatMax (int val) |
| void | setSatMin (int val) |
| void | setValMax (int val) |
| void | setValMin (int val) |
| virtual QString | type () const |
| void | updateColors () |
| int | valMax () const |
| int | valMin () const |
| virtual double | value (int index) const |
Static Public Member Functions | |
| static QgsVectorColorRampV2 * | create (const QgsStringMap &properties=QgsStringMap()) |
Protected Attributes | |
| QList< QColor > | mColors |
| int | mCount |
| int | mHueMax |
| int | mHueMin |
| int | mSatMax |
| int | mSatMin |
| int | mValMax |
| int | mValMin |
Definition at line 109 of file qgsvectorcolorrampv2.h.
| QgsVectorRandomColorRampV2::QgsVectorRandomColorRampV2 | ( | int | count = DEFAULT_RANDOM_COUNT, |
| int | hueMin = DEFAULT_RANDOM_HUE_MIN, |
||
| int | hueMax = DEFAULT_RANDOM_HUE_MAX, |
||
| int | satMin = DEFAULT_RANDOM_SAT_MIN, |
||
| int | satMax = DEFAULT_RANDOM_SAT_MAX, |
||
| int | valMin = DEFAULT_RANDOM_VAL_MIN, |
||
| int | valMax = DEFAULT_RANDOM_VAL_MAX |
||
| ) |
Definition at line 225 of file qgsvectorcolorrampv2.cpp.
References updateColors().
| QgsVectorColorRampV2 * QgsVectorRandomColorRampV2::clone | ( | ) | const [virtual] |
Implements QgsVectorColorRampV2.
Definition at line 268 of file qgsvectorcolorrampv2.cpp.
References mCount, mHueMax, mHueMin, mSatMax, mSatMin, mValMax, mValMin, and QgsVectorRandomColorRampV2().
| QColor QgsVectorRandomColorRampV2::color | ( | double | value | ) | const [virtual] |
Implements QgsVectorColorRampV2.
Definition at line 257 of file qgsvectorcolorrampv2.cpp.
References mColors.
| int QgsVectorRandomColorRampV2::count | ( | ) | const [inline, virtual] |
Implements QgsVectorColorRampV2.
Definition at line 131 of file qgsvectorcolorrampv2.h.
Referenced by create(), and QgsVectorRandomColorRampV2Dialog::QgsVectorRandomColorRampV2Dialog().
| QgsVectorColorRampV2 * QgsVectorRandomColorRampV2::create | ( | const QgsStringMap & | properties = QgsStringMap() | ) | [static] |
Definition at line 233 of file qgsvectorcolorrampv2.cpp.
References count(), DEFAULT_RANDOM_COUNT, DEFAULT_RANDOM_HUE_MAX, DEFAULT_RANDOM_HUE_MIN, DEFAULT_RANDOM_SAT_MAX, DEFAULT_RANDOM_SAT_MIN, DEFAULT_RANDOM_VAL_MAX, DEFAULT_RANDOM_VAL_MIN, hueMax(), hueMin(), QgsVectorRandomColorRampV2(), satMax(), satMin(), valMax(), and valMin().
Referenced by QgsSymbolLayerV2Utils::loadColorRamp().
| int QgsVectorRandomColorRampV2::hueMax | ( | ) | const [inline] |
Definition at line 133 of file qgsvectorcolorrampv2.h.
Referenced by create(), and QgsVectorRandomColorRampV2Dialog::QgsVectorRandomColorRampV2Dialog().
| int QgsVectorRandomColorRampV2::hueMin | ( | ) | const [inline] |
Definition at line 132 of file qgsvectorcolorrampv2.h.
Referenced by create(), and QgsVectorRandomColorRampV2Dialog::QgsVectorRandomColorRampV2Dialog().
| QgsStringMap QgsVectorRandomColorRampV2::properties | ( | ) | const [virtual] |
Implements QgsVectorColorRampV2.
Definition at line 273 of file qgsvectorcolorrampv2.cpp.
References mCount, mHueMax, mHueMin, mSatMax, mSatMin, mValMax, and mValMin.
| int QgsVectorRandomColorRampV2::satMax | ( | ) | const [inline] |
Definition at line 135 of file qgsvectorcolorrampv2.h.
Referenced by create(), and QgsVectorRandomColorRampV2Dialog::QgsVectorRandomColorRampV2Dialog().
| int QgsVectorRandomColorRampV2::satMin | ( | ) | const [inline] |
Definition at line 134 of file qgsvectorcolorrampv2.h.
Referenced by create(), and QgsVectorRandomColorRampV2Dialog::QgsVectorRandomColorRampV2Dialog().
| void QgsVectorRandomColorRampV2::setCount | ( | int | val | ) | [inline] |
Definition at line 139 of file qgsvectorcolorrampv2.h.
Referenced by QgsVectorRandomColorRampV2Dialog::setCount().
| void QgsVectorRandomColorRampV2::setHueMax | ( | int | val | ) | [inline] |
Definition at line 141 of file qgsvectorcolorrampv2.h.
Referenced by QgsVectorRandomColorRampV2Dialog::setHue2().
| void QgsVectorRandomColorRampV2::setHueMin | ( | int | val | ) | [inline] |
Definition at line 140 of file qgsvectorcolorrampv2.h.
Referenced by QgsVectorRandomColorRampV2Dialog::setHue1().
| void QgsVectorRandomColorRampV2::setSatMax | ( | int | val | ) | [inline] |
Definition at line 143 of file qgsvectorcolorrampv2.h.
Referenced by QgsVectorRandomColorRampV2Dialog::setSat2().
| void QgsVectorRandomColorRampV2::setSatMin | ( | int | val | ) | [inline] |
Definition at line 142 of file qgsvectorcolorrampv2.h.
Referenced by QgsVectorRandomColorRampV2Dialog::setSat1().
| void QgsVectorRandomColorRampV2::setValMax | ( | int | val | ) | [inline] |
Definition at line 145 of file qgsvectorcolorrampv2.h.
Referenced by QgsVectorRandomColorRampV2Dialog::setVal2().
| void QgsVectorRandomColorRampV2::setValMin | ( | int | val | ) | [inline] |
Definition at line 144 of file qgsvectorcolorrampv2.h.
Referenced by QgsVectorRandomColorRampV2Dialog::setVal1().
| virtual QString QgsVectorRandomColorRampV2::type | ( | ) | const [inline, virtual] |
Implements QgsVectorColorRampV2.
Definition at line 123 of file qgsvectorcolorrampv2.h.
Definition at line 286 of file qgsvectorcolorrampv2.cpp.
References mColors, mCount, mHueMax, mHueMin, mSatMax, mSatMin, mValMax, and mValMin.
Referenced by QgsVectorRandomColorRampV2(), and QgsVectorRandomColorRampV2Dialog::updatePreview().
| int QgsVectorRandomColorRampV2::valMax | ( | ) | const [inline] |
Definition at line 137 of file qgsvectorcolorrampv2.h.
Referenced by create(), and QgsVectorRandomColorRampV2Dialog::QgsVectorRandomColorRampV2Dialog().
| int QgsVectorRandomColorRampV2::valMin | ( | ) | const [inline] |
Definition at line 136 of file qgsvectorcolorrampv2.h.
Referenced by create(), and QgsVectorRandomColorRampV2Dialog::QgsVectorRandomColorRampV2Dialog().
| double QgsVectorRandomColorRampV2::value | ( | int | index | ) | const [virtual] |
Implements QgsVectorColorRampV2.
Definition at line 251 of file qgsvectorcolorrampv2.cpp.
References mColors.
QList<QColor> QgsVectorRandomColorRampV2::mColors [protected] |
Definition at line 150 of file qgsvectorcolorrampv2.h.
Referenced by color(), updateColors(), and value().
int QgsVectorRandomColorRampV2::mCount [protected] |
Definition at line 148 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mHueMax [protected] |
Definition at line 149 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mHueMin [protected] |
Definition at line 149 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mSatMax [protected] |
Definition at line 149 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mSatMin [protected] |
Definition at line 149 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mValMax [protected] |
Definition at line 149 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mValMin [protected] |
Definition at line 149 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().