ARB
|
Public Member Functions | |
gc_range (const string &name_, gc_range_type type_, int index_, int gc_index_) | |
void | add_color (const string &colordef, AW_gc_manager *gcman) |
void | update_colors (const AW_gc_manager *gcman) const |
AW_rgb_normalized | get_color (int idx, const AW_gc_manager *gcman) const |
const string & | get_name () const |
const string & | get_id () const |
gc_range_type | get_type () const |
int | get_dimension () const |
Definition at line 246 of file AW_preset.cxx.
|
inline |
Definition at line 256 of file AW_preset.cxx.
void gc_range::add_color | ( | const string & | colordef, |
AW_gc_manager * | gcman | ||
) |
Definition at line 722 of file AW_preset.cxx.
References AW_gc_manager::add_gc(), build_range_gc_number(), GC_TYPE_RANGE, and get_id().
void gc_range::update_colors | ( | const AW_gc_manager * | gcman | ) | const |
recalculate colors of a range (called after one color changed)
gcman | the GC manager |
Definition at line 549 of file AW_preset.cxx.
References aw_assert, AW_PLANAR_COLORS, AW_RANGE_COLORS, AW_SPATIAL_COLORS, GC_RANGE_CYCLIC, GC_RANGE_LINEAR, GC_RANGE_PLANAR, GC_RANGE_SPATIAL, get_color(), implicated, and AW_gc_manager::update_range_gc_color().
Referenced by AW_gc_manager::active_range_changed_cb().
AW_rgb_normalized gc_range::get_color | ( | int | idx, |
const AW_gc_manager * | gcman | ||
) | const |
Definition at line 541 of file AW_preset.cxx.
References aw_assert, and AW_gc_manager::get_current_color().
Referenced by update_colors().
|
inline |
Definition at line 270 of file AW_preset.cxx.
Referenced by AW_gc_manager::create_gc_buttons(), and AW_gc_manager::getColorRangeNames().
|
inline |
Definition at line 271 of file AW_preset.cxx.
Referenced by AW_gc_manager::activateColorRange(), add_color(), AW_gc_manager::getActiveColorRangeID(), and AW_gc_manager::getColorRangeNames().
|
inline |
Definition at line 272 of file AW_preset.cxx.
Referenced by AW_gc_manager::create_gc_buttons().
|
inline |
Definition at line 273 of file AW_preset.cxx.
References aw_assert, GC_RANGE_CYCLIC, GC_RANGE_INVALID, GC_RANGE_LINEAR, GC_RANGE_PLANAR, and GC_RANGE_SPATIAL.
Referenced by AW_gc_manager::getActiveColorRangeID(), and AW_gc_manager::getColorRangeNames().