lux::XYZColor Class Reference

#include <color.h>

Inheritance diagram for lux::XYZColor:

lux::Color

List of all members.

Public Member Functions

 XYZColor (float v=0.f)
 XYZColor (float cs[3])
 XYZColor (RGBColor rgb)
void ToRGB (float &r, float &g, float &b) const
void ToRGB (float rgb[3]) const
void ToRGB (RGBColor rgb) const
RGBColor ToRGB () const
void FromRGB (float r, float g, float b)
void FromRGB (float rgb[3])
void FromRGB (RGBColor rgb)
float y () const

Friends

class boost::serialization::access


Detailed Description

Definition at line 221 of file color.h.


Constructor & Destructor Documentation

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

Definition at line 227 of file color.h.

References lux::Color::c.

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

Definition at line 230 of file color.h.

References lux::Color::c.

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

Definition at line 342 of file color.h.

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


Member Function Documentation

void lux::XYZColor::FromRGB ( RGBColor  rgb  )  [inline]

Definition at line 355 of file color.h.

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

void lux::XYZColor::FromRGB ( float  rgb[3]  )  [inline]

Definition at line 253 of file color.h.

References FromRGB().

void lux::XYZColor::FromRGB ( float  r,
float  g,
float  b 
) [inline]

Definition at line 248 of file color.h.

References lux::Color::c.

Referenced by FromRGB().

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

Definition at line 349 of file color.h.

References lux::Color::c.

Referenced by ToRGB(), and XYZColor().

void lux::XYZColor::ToRGB ( RGBColor  rgb  )  const [inline]

Definition at line 346 of file color.h.

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

void lux::XYZColor::ToRGB ( float  rgb[3]  )  const [inline]

Definition at line 241 of file color.h.

References ToRGB().

void lux::XYZColor::ToRGB ( float &  r,
float &  g,
float &  b 
) const [inline]

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

Reimplemented from lux::Color.

Definition at line 258 of file color.h.

References lux::Color::c.

Referenced by lux::Path2Integrator::Li(), and lux::FlexImageFilm::MergeSampleArray().


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Reimplemented from lux::Color.

Definition at line 223 of file color.h.


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

Generated on Mon May 18 07:18:35 2009 for lux by  doxygen 1.5.7.1