|
Quantum GIS API Documentation
1.8
|
#include <qgsvectorcolorrampv2.h>


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 QColor | color (double value) const |
| virtual QString | type () const |
| virtual QgsVectorColorRampV2 * | clone () const |
| virtual QgsStringMap | properties () const |
| void | updateColors () |
| int | count () const |
| int | hueMin () const |
| int | hueMax () const |
| int | satMin () const |
| int | satMax () const |
| int | valMin () const |
| int | valMax () const |
| void | setCount (int val) |
| void | setHueMin (int val) |
| void | setHueMax (int val) |
| void | setSatMin (int val) |
| void | setSatMax (int val) |
| void | setValMin (int val) |
| void | setValMax (int val) |
Static Public Member Functions | |
| static QgsVectorColorRampV2 * | create (const QgsStringMap &properties=QgsStringMap()) |
Protected Attributes | |
| int | mCount |
| int | mHueMin |
| int | mHueMax |
| int | mSatMin |
| int | mSatMax |
| int | mValMin |
| int | mValMax |
| QList< QColor > | mColors |
Definition at line 81 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 120 of file qgsvectorcolorrampv2.cpp.
References updateColors().
| QgsVectorColorRampV2 * QgsVectorRandomColorRampV2::clone | ( | ) | const [virtual] |
Implements QgsVectorColorRampV2.
Definition at line 157 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 146 of file qgsvectorcolorrampv2.cpp.
References mColors.
| int QgsVectorRandomColorRampV2::count | ( | ) | const [inline] |
Definition at line 101 of file qgsvectorcolorrampv2.h.
Referenced by create().
| QgsVectorColorRampV2 * QgsVectorRandomColorRampV2::create | ( | const QgsStringMap & | properties = QgsStringMap() | ) | [static] |
Definition at line 128 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 103 of file qgsvectorcolorrampv2.h.
Referenced by create().
| int QgsVectorRandomColorRampV2::hueMin | ( | ) | const [inline] |
Definition at line 102 of file qgsvectorcolorrampv2.h.
Referenced by create().
| QgsStringMap QgsVectorRandomColorRampV2::properties | ( | ) | const [virtual] |
Implements QgsVectorColorRampV2.
Definition at line 162 of file qgsvectorcolorrampv2.cpp.
References mCount, mHueMax, mHueMin, mSatMax, mSatMin, mValMax, and mValMin.
| int QgsVectorRandomColorRampV2::satMax | ( | ) | const [inline] |
Definition at line 105 of file qgsvectorcolorrampv2.h.
Referenced by create().
| int QgsVectorRandomColorRampV2::satMin | ( | ) | const [inline] |
Definition at line 104 of file qgsvectorcolorrampv2.h.
Referenced by create().
| void QgsVectorRandomColorRampV2::setCount | ( | int | val | ) | [inline] |
Definition at line 109 of file qgsvectorcolorrampv2.h.
| void QgsVectorRandomColorRampV2::setHueMax | ( | int | val | ) | [inline] |
Definition at line 111 of file qgsvectorcolorrampv2.h.
| void QgsVectorRandomColorRampV2::setHueMin | ( | int | val | ) | [inline] |
Definition at line 110 of file qgsvectorcolorrampv2.h.
| void QgsVectorRandomColorRampV2::setSatMax | ( | int | val | ) | [inline] |
Definition at line 113 of file qgsvectorcolorrampv2.h.
| void QgsVectorRandomColorRampV2::setSatMin | ( | int | val | ) | [inline] |
Definition at line 112 of file qgsvectorcolorrampv2.h.
| void QgsVectorRandomColorRampV2::setValMax | ( | int | val | ) | [inline] |
Definition at line 115 of file qgsvectorcolorrampv2.h.
| void QgsVectorRandomColorRampV2::setValMin | ( | int | val | ) | [inline] |
Definition at line 114 of file qgsvectorcolorrampv2.h.
| virtual QString QgsVectorRandomColorRampV2::type | ( | ) | const [inline, virtual] |
Implements QgsVectorColorRampV2.
Definition at line 93 of file qgsvectorcolorrampv2.h.
| int QgsVectorRandomColorRampV2::valMax | ( | ) | const [inline] |
Definition at line 107 of file qgsvectorcolorrampv2.h.
Referenced by create().
| int QgsVectorRandomColorRampV2::valMin | ( | ) | const [inline] |
Definition at line 106 of file qgsvectorcolorrampv2.h.
Referenced by create().
QList<QColor> QgsVectorRandomColorRampV2::mColors [protected] |
Definition at line 120 of file qgsvectorcolorrampv2.h.
Referenced by color(), and updateColors().
int QgsVectorRandomColorRampV2::mCount [protected] |
Definition at line 118 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mHueMax [protected] |
Definition at line 119 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mHueMin [protected] |
Definition at line 119 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mSatMax [protected] |
Definition at line 119 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mSatMin [protected] |
Definition at line 119 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mValMax [protected] |
Definition at line 119 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
int QgsVectorRandomColorRampV2::mValMin [protected] |
Definition at line 119 of file qgsvectorcolorrampv2.h.
Referenced by clone(), properties(), and updateColors().
1.7.6.1