#include <Color.h>
Collaboration diagram for OpenCAL::Utils::Color:

Public Member Functions | |
| Color (float r=0.0f, float g=0.0f, float b=0.0f, float a=1.0f) | |
| Color (float *values) | |
| Color (const Color &source) | |
| Copy constructor. | |
| float * | get () |
| float | getR () const |
| float | getG () const |
| float | getB () const |
| float | getA () const |
| void | set (float r, float g, float b, float a=1.0f) |
| void | set (float *values) |
| void | setR (float r) |
| void | setG (float g) |
| void | setB (float b) |
| void | setA (float a) |
| Color | operator/ (float factor) const |
| operator const float * () const | |
Static Public Attributes | |
| Color | white |
| Color | black |
| Color | red |
| Color | blue |
| Color | green |
| Color | yellow |
Private Attributes | |
| float | m_values [4] |
Definition at line 32 of file Color.h.
1.3.8