Public Member Functions | List of all members
gc_range Class Reference

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 stringget_name () const
const stringget_id () const
gc_range_type get_type () const
int get_dimension () const

Detailed Description

Definition at line 246 of file AW_preset.cxx.

Constructor & Destructor Documentation

gc_range::gc_range ( const string name_,
gc_range_type  type_,
int  index_,
int  gc_index_ 

Definition at line 256 of file AW_preset.cxx.

Member Function Documentation

void gc_range::add_color ( const string colordef,
AW_gc_manager gcman 
void gc_range::update_colors ( const AW_gc_manager gcman) const

recalculate colors of a range (called after one color changed)

gcmanthe 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().

const string& gc_range::get_name ( ) const
const string& gc_range::get_id ( ) const
gc_range_type gc_range::get_type ( ) const

Definition at line 272 of file AW_preset.cxx.

Referenced by AW_gc_manager::create_gc_buttons().

int gc_range::get_dimension ( ) const

The documentation for this class was generated from the following file: