Used for predefined sets of colors. More...
#include <cbviz_util.H>
Public Member Functions | |
chart_color_t () | |
chart_color_t (double red, double green, double blue) | |
double | red () |
double | blue () |
double | green () |
void | set (double red, double green, double blue) |
void | select () |
Private Attributes | |
double | m_r |
double | m_g |
double | m_b |
Used for predefined sets of colors.
cajun::chart_color_t::chart_color_t | ( | ) | [inline] |
cajun::chart_color_t::chart_color_t | ( | double | red, | |
double | green, | |||
double | blue | |||
) | [inline] |
double cajun::chart_color_t::blue | ( | ) | [inline] |
References m_b.
Referenced by cajun::draw_rndf_t::draw_yield_sign(), cajun::Render_Quadric(), set(), and cajun::draw_rndf_t::set_glColor().
double cajun::chart_color_t::green | ( | ) | [inline] |
References m_g.
Referenced by cajun::draw_rndf_t::draw_yield_sign(), cajun::Render_Quadric(), set(), and cajun::draw_rndf_t::set_glColor().
double cajun::chart_color_t::red | ( | ) | [inline] |
References m_r.
Referenced by cajun::draw_rndf_t::draw_yield_sign(), cajun::Render_Quadric(), set(), and cajun::draw_rndf_t::set_glColor().
void cajun::chart_color_t::select | ( | ) | [inline] |
Referenced by cajun::draw_filled_rectangle(), and cajun::draw_rectangle().
void cajun::chart_color_t::set | ( | double | red, | |
double | green, | |||
double | blue | |||
) | [inline] |
double cajun::chart_color_t::m_b [private] |
double cajun::chart_color_t::m_g [private] |
double cajun::chart_color_t::m_r [private] |