|
| TOOLS_SCLASS (tools::colorf) public |
|
| colorf (float a_r, float a_g, float a_b, float a_a=1) |
|
virtual | ~colorf () |
|
| colorf (const colorf &a_from) |
|
colorf & | operator= (const colorf &a_from) |
|
float | r () const |
|
float | g () const |
|
float | b () const |
|
float | a () const |
|
void | set_r (float a_v) |
|
void | set_g (float a_v) |
|
void | set_b (float a_v) |
|
void | set_a (float a_v) |
|
uchar | ruchar () const |
|
uchar | guchar () const |
|
uchar | buchar () const |
|
uchar | auchar () const |
|
uchar | rchar () const |
|
uchar | gchar () const |
|
uchar | bchar () const |
|
| TOOLS_SCLASS (tools::vec4f) public |
|
| vec4f (const float a_vec[4]) |
|
| vec4f (const float &a0, const float &a1, const float &a2, const float &a3) |
|
virtual | ~vec4f () |
|
| vec4f (const vec4f &a_from) |
|
vec4f & | operator= (const vec4f &a_from) |
|
vec4f | operator* (float a_v) const |
|
vec4f | operator+ (const vec4f &a_v) const |
|
vec4f | operator- (const vec4f &a_v) const |
|
vec4f & | operator+= (const vec4f &a_v) |
|
vec4f & | operator*= (float a_v) |
|
vec4f | operator- () const |
|
float | length () const |
|
float | normalize () |
|
unsigned int | dimension () const |
|
| vec4 () |
|
| vec4 (const float a_vec[4]) |
|
| vec4 (const float &a0, const float &a1, const float &a2, const float &a3) |
|
| vec4 (const vec4 &a_from) |
|
virtual | ~vec4 () |
|
vec4 & | operator= (const vec4 &a_from) |
|
const float & | v0 () const |
|
void | v0 (const float &a_value) |
|
const float & | v1 () const |
|
void | v1 (const float &a_value) |
|
const float & | v2 () const |
|
void | v2 (const float &a_value) |
|
const float & | v3 () const |
|
void | v3 (const float &a_value) |
|
const float & | x () const |
|
const float & | y () const |
|
const float & | z () const |
|
const float & | t () const |
|
void | set_value (const float &a0, const float &a1, const float &a2, const float &a3) |
|
void | set_value (const float aV[4]) |
|
bool | set_value (unsigned int a_index, const float &a_value) |
|
void | value (float &a0, float &a1, float &a2, float &a3) const |
|
float | length (float(*a_sqrt)(float)) const |
|
float | normalize (float(*a_sqrt)(float)) |
|
bool | equal (const vec4 &a_vec) const |
|
bool | equal (const vec4 &a_vec, const float &a_epsil) const |
|
bool | is_proportional (const vec4 &a_vec, float &a_factor) const |
|
void | multiply (const float &a_T) |
|
bool | divide (const float &a_T) |
|
void | add (const vec4 &a_v) |
|
void | add (const float &a0, const float &a1, const float &a2, const float &a3) |
|
void | subtract (const vec4 &a_v) |
|
void | subtract (const float &a0, const float &a1, const float &a2, const float &a3) |
|
float & | operator[] (size_t a_index) |
|
const float & | operator[] (size_t a_index) const |
|
vec4 | operator+ (const vec4 &a_v) const |
|
vec4 | operator- (const vec4 &a_v) const |
|
vec4 | operator* (const float &a_v) const |
|
bool | operator== (const vec4 &a_v) const |
|
bool | operator!= (const vec4 &a_v) const |
|
size_type | size () const |
|
const float * | data () const |
|
Definition at line 11 of file colorf.