RGB Class Reference

#include <RGB.h>

Inheritance diagram for RGB:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 RGB ()
 RGB (float r_in, float g_in, float b_in)
 ~RGB ()
RGBoperator= (const RGB &eq_rgb)
RGBoperator*= (const float m_float)

Public Attributes

float r
float g
float b

Friends

bool operator== (const RGB &c1, const RGB &c2)


Constructor & Destructor Documentation

RGB::RGB (  ) 

RGB::RGB ( float  r_in,
float  g_in,
float  b_in 
)

RGB::~RGB (  ) 


Member Function Documentation

RGB & RGB::operator= ( const RGB eq_rgb  ) 

Reimplemented in RGBA, and XYZRGB.

RGB & RGB::operator*= ( const float  m_float  ) 


Friends And Related Function Documentation

bool operator== ( const RGB c1,
const RGB c2 
) [friend]


Member Data Documentation

float RGB::r

float RGB::g

float RGB::b


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

Generated on Thu Mar 19 19:35:34 2009 for CubicVR by  doxygen 1.5.6