RGB color. More...
#include <ai_color.h>
Public Member Functions | |
AtRGB | operator+ (const AtRGB &rgb) const |
AtRGB & | operator+= (const AtRGB &rgb) |
AtRGB | operator+ (float f) const |
AtRGB & | operator+= (float f) |
AtRGB | operator- (const AtRGB &rgb) const |
AtRGB & | operator-= (const AtRGB &rgb) |
AtRGB | operator- (float f) const |
AtRGB & | operator-= (float f) |
AtRGB | operator- () const |
AtRGB | operator* (const AtRGB &rgb) const |
AtRGB | operator*= (const AtRGB &rgb) |
AtRGB | operator* (float f) const |
AtRGB | operator*= (float f) |
AtRGB | operator/ (const AtRGB &rgb) const |
AtRGB | operator/= (const AtRGB &rgb) |
AtRGB | operator/ (float f) const |
AtRGB | operator/= (float f) |
bool | operator== (const AtRGB &rgb) const |
bool | operator!= (const AtRGB &rgb) const |
AtRGB & | operator= (float f) |
float & | operator[] (unsigned int i) |
const float & | operator[] (unsigned int i) const |
Data Fields | |
float | r |
float | g |
float | b |
Friends | |
AtRGB | operator* (float f, const AtRGB &rgb) |
AtRGB | operator+ (float f, const AtRGB &rgb) |
AtRGB | operator- (float f, const AtRGB &rgb) |
RGB color.