#include <vhdColorRGB.h>
Public Member Functions | |
vhdColorRGB () | |
vhdColorRGB (vhtReal fR, vhtReal fG, vhtReal fB) | |
vhdColorRGB (const vhdColorRGB &rkColor) | |
vhtReal & | operator[] (int i) const |
void | clamp () |
void | scaleByMax () |
vhdColorRGB & | operator= (const vhdColorRGB &rkColor) |
bool | operator== (const vhdColorRGB &rkColor) const |
bool | operator!= (const vhdColorRGB &rkColor) const |
vhdColorRGB | operator+ (const vhdColorRGB &rkColor) const |
vhdColorRGB | operator- (const vhdColorRGB &rkColor) const |
vhdColorRGB | operator * (const vhdColorRGB &rkColor) const |
vhdColorRGB | operator/ (const vhdColorRGB &rkColor) const |
vhdColorRGB | operator- () const |
vhdColorRGB & | operator+= (const vhdColorRGB &rkColor) |
vhdColorRGB & | operator-= (const vhdColorRGB &rkColor) |
vhdColorRGB & | operator *= (const vhdColorRGB &rkColor) |
vhdColorRGB & | operator/= (const vhdColorRGB &rkColor) |
Public Attributes | |
vhtReal | r |
vhtReal | g |
vhtReal | b |
Static Public Attributes | |
static const vhdColorRGB | BLACK |
static const vhdColorRGB | WHITE |
vhdColorRGB::vhdColorRGB | ( | ) |
vhdColorRGB::vhdColorRGB | ( | const vhdColorRGB & | rkColor | ) |
vhtReal& vhdColorRGB::operator[] | ( | int | i | ) | const [inline] |
void vhdColorRGB::clamp | ( | ) |
void vhdColorRGB::scaleByMax | ( | ) |
vhdColorRGB & vhdColorRGB::operator= | ( | const vhdColorRGB & | rkColor | ) |
bool vhdColorRGB::operator== | ( | const vhdColorRGB & | rkColor | ) | const |
bool vhdColorRGB::operator!= | ( | const vhdColorRGB & | rkColor | ) | const |
vhdColorRGB vhdColorRGB::operator+ | ( | const vhdColorRGB & | rkColor | ) | const |
vhdColorRGB vhdColorRGB::operator- | ( | const vhdColorRGB & | rkColor | ) | const |
vhdColorRGB vhdColorRGB::operator * | ( | const vhdColorRGB & | rkColor | ) | const |
vhdColorRGB vhdColorRGB::operator/ | ( | const vhdColorRGB & | rkColor | ) | const |
vhdColorRGB vhdColorRGB::operator- | ( | ) | const |
vhdColorRGB & vhdColorRGB::operator+= | ( | const vhdColorRGB & | rkColor | ) |
vhdColorRGB & vhdColorRGB::operator-= | ( | const vhdColorRGB & | rkColor | ) |
vhdColorRGB & vhdColorRGB::operator *= | ( | const vhdColorRGB & | rkColor | ) |
vhdColorRGB & vhdColorRGB::operator/= | ( | const vhdColorRGB & | rkColor | ) |
const vhdColorRGB vhdColorRGB::BLACK [static] |
const vhdColorRGB vhdColorRGB::WHITE [static] |