lux::RGBColor Class Reference

#include <color.h>

Inheritance diagram for lux::RGBColor:

lux::Color

List of all members.

Public Member Functions

 RGBColor (float v=0.f)
 RGBColor (float cs[3])
 RGBColor (XYZColor xyz)
 RGBColor (const Color &color)
void ToXYZ (float &x, float &y, float &z) const
void ToXYZ (float xyz[3]) const
void ToXYZ (XYZColor xyz) const
XYZColor ToXYZ () const
void FromXYZ (float x, float y, float z)
void FromXYZ (float xyz[3])
void FromXYZ (XYZColor xyz)
float y () const


Detailed Description

Definition at line 178 of file color.h.


Constructor & Destructor Documentation

lux::RGBColor::RGBColor ( float  v = 0.f  )  [inline]

Definition at line 181 of file color.h.

References lux::Color::c.

lux::RGBColor::RGBColor ( float  cs[3]  )  [inline]

Definition at line 184 of file color.h.

References lux::Color::c.

lux::RGBColor::RGBColor ( XYZColor  xyz  )  [inline]

Definition at line 314 of file color.h.

References lux::Color::c, and ToXYZ().

lux::RGBColor::RGBColor ( const Color color  )  [inline]

Definition at line 188 of file color.h.

References lux::Color::c.


Member Function Documentation

void lux::RGBColor::FromXYZ ( XYZColor  xyz  )  [inline]

Definition at line 327 of file color.h.

References lux::Color::c, and FromXYZ().

void lux::RGBColor::FromXYZ ( float  xyz[3]  )  [inline]

Definition at line 210 of file color.h.

References FromXYZ().

void lux::RGBColor::FromXYZ ( float  x,
float  y,
float  z 
) [inline]

Definition at line 205 of file color.h.

References lux::Color::c.

Referenced by FromXYZ().

XYZColor lux::RGBColor::ToXYZ (  )  const [inline]

Definition at line 321 of file color.h.

References lux::Color::c.

Referenced by RGBColor(), and ToXYZ().

void lux::RGBColor::ToXYZ ( XYZColor  xyz  )  const [inline]

Definition at line 318 of file color.h.

References lux::Color::c, and ToXYZ().

void lux::RGBColor::ToXYZ ( float  xyz[3]  )  const [inline]

Definition at line 198 of file color.h.

References ToXYZ().

void lux::RGBColor::ToXYZ ( float &  x,
float &  y,
float &  z 
) const [inline]

Definition at line 193 of file color.h.

References lux::Color::c.

float lux::RGBColor::y (  )  const [inline]

Reimplemented from lux::Color.

Definition at line 215 of file color.h.

References lux::Color::c.


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

Generated on Fri Jul 24 11:52:03 2009 for lux by  doxygen 1.5.9