Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

kerosin::RGBA Class Reference

#include <glbase.h>

List of all members.

Public Member Functions

 RGBA ()
 RGBA (float rr, float gg, float bb, float aa)
float & r ()
float & g ()
float & b ()
float & a ()
const float & r () const
const float & g () const
const float & b () const
const float & a () const
float * v ()
const float * v () const
 operator float * ()
 operator const float * () const

Public Attributes

union {
   float   v [4]
   struct {
      float   r
      float   g
      float   b
      float   a
   }   c
data


Detailed Description

Definition at line 27 of file glbase.h.


Constructor & Destructor Documentation

kerosin::RGBA::RGBA  )  [inline]
 

Definition at line 43 of file glbase.h.

References data.

kerosin::RGBA::RGBA float  rr,
float  gg,
float  bb,
float  aa
[inline]
 

Definition at line 51 of file glbase.h.

References data.


Member Function Documentation

const float& kerosin::RGBA::a  )  const [inline]
 

Definition at line 67 of file glbase.h.

References data.

float& kerosin::RGBA::a  )  [inline]
 

Definition at line 62 of file glbase.h.

References data.

const float& kerosin::RGBA::b  )  const [inline]
 

Definition at line 66 of file glbase.h.

References data.

float& kerosin::RGBA::b  )  [inline]
 

Definition at line 61 of file glbase.h.

References data.

const float& kerosin::RGBA::g  )  const [inline]
 

Definition at line 65 of file glbase.h.

References data.

float& kerosin::RGBA::g  )  [inline]
 

Definition at line 60 of file glbase.h.

References data.

kerosin::RGBA::operator const float *  )  const [inline]
 

Definition at line 73 of file glbase.h.

References data.

kerosin::RGBA::operator float *  )  [inline]
 

Definition at line 72 of file glbase.h.

References data.

const float& kerosin::RGBA::r  )  const [inline]
 

Definition at line 64 of file glbase.h.

References data.

float& kerosin::RGBA::r  )  [inline]
 

Definition at line 59 of file glbase.h.

References data.

const float* kerosin::RGBA::v  )  const [inline]
 

Definition at line 70 of file glbase.h.

References data.

float* kerosin::RGBA::v  )  [inline]
 

Definition at line 69 of file glbase.h.

References data.


Member Data Documentation

float kerosin::RGBA::a
 

Definition at line 38 of file glbase.h.

Referenced by readRGBA().

float kerosin::RGBA::b
 

Definition at line 37 of file glbase.h.

Referenced by readRGBA().

struct { ... } kerosin::RGBA::c
 

union { ... } kerosin::RGBA::data
 

Referenced by a(), b(), g(), operator const float *(), operator float *(), r(), RGBA(), and v().

float kerosin::RGBA::g
 

Definition at line 36 of file glbase.h.

Referenced by readRGBA().

float kerosin::RGBA::r
 

Definition at line 35 of file glbase.h.

Referenced by readRGBA().

float kerosin::RGBA::v[4]
 

Definition at line 32 of file glbase.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 6 15:43:13 2006 for rcssserver3d by  doxygen 1.4.4