#include <color.h>

Public Member Functions | |
| Color () | |
| Color & | operator+= (const Color &s2) |
| Color | operator+ (const Color &s2) const |
| Color | operator- (const Color &s2) const |
| Color | operator/ (const Color &s2) const |
| Color | operator* (const Color &sp) const |
| Color & | operator*= (const Color &sp) |
| Color | operator* (float a) const |
| Color & | operator*= (float a) |
| Color | operator/ (float a) const |
| Color & | operator/= (float a) |
| void | AddWeighted (float w, const Color &s) |
| bool | operator== (const Color &sp) const |
| bool | operator!= (const Color &sp) const |
| bool | Black () const |
| Color | Sqrt () const |
| Color | Pow (const Color &e) const |
| Color | operator- () const |
| Color | Clamp (float low=0.f, float high=INFINITY) const |
| bool | IsNaN () const |
| void | Print (FILE *f) const |
| float | y () const |
| bool | operator< (const Color &s2) const |
Public Attributes | |
| float | c [3] |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
| class | lux::ParamSet |
| ostream & | operator<< (ostream &, const Color &) |
| Color | operator* (float a, const Color &s) |
| Color | Exp (const Color &s) |
Definition at line 33 of file color.h.
| void lux::Color::AddWeighted | ( | float | w, | |
| const Color & | s | |||
| ) | [inline] |
| Color lux::Color::Clamp | ( | float | low = 0.f, |
|
| float | high = INFINITY | |||
| ) | const [inline] |
| bool lux::Color::IsNaN | ( | ) | const [inline] |
Definition at line 145 of file color.h.
References c.
Referenced by lux::FlexImageFilm::MergeSampleArray().
| bool lux::Color::operator!= | ( | const Color & | sp | ) | const [inline] |
| Color lux::Color::operator* | ( | float | a | ) | const [inline] |
| Color& lux::Color::operator*= | ( | float | a | ) | [inline] |
| Color lux::Color::operator- | ( | ) | const [inline] |
| Color& lux::Color::operator/= | ( | float | a | ) | [inline] |
| bool lux::Color::operator< | ( | const Color & | s2 | ) | const [inline] |
| bool lux::Color::operator== | ( | const Color & | sp | ) | const [inline] |
| void lux::Color::Print | ( | FILE * | f | ) | const [inline] |
| void lux::Color::serialize | ( | Archive & | ar, | |
| const unsigned int | version | |||
| ) | [inline, private] |
| float lux::Color::y | ( | ) | const [inline] |
Reimplemented in lux::RGBColor, and lux::XYZColor.
Definition at line 156 of file color.h.
Referenced by operator<().
friend class boost::serialization::access [friend] |
friend class lux::ParamSet [friend] |
| ostream& operator<< | ( | ostream & | , | |
| const Color & | ||||
| ) | [friend] |
| float lux::Color::c[3] |
Definition at line 166 of file color.h.
Referenced by AddWeighted(), Black(), Clamp(), lux::Buffer::Clear(), lux::ColorSystem::Constrain(), lux::ColorSystem::Convert(), lux::ExPhotonIntegrator::estimateE(), lux::XYZColor::FromRGB(), lux::RGBColor::FromXYZ(), lux::RawBuffer::GetData(), lux::HarlequinTexture::HarlequinTexture(), lux::InsideGamut(), IsNaN(), lux::ExPhotonIntegrator::LiInternal(), lux::ExPhotonIntegrator::LPhoton(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator/(), operator/=(), lux::operator<<(), operator==(), Pow(), Print(), lux::RGBColor::RGBColor(), serialize(), Sqrt(), lux::XYZColor::ToRGB(), lux::RGBColor::ToXYZ(), lux::FlexImageFilm::TransmitFilm(), lux::FlexImageFilm::UpdateFilm(), lux::XYZColor::XYZColor(), lux::XYZColor::y(), and lux::RGBColor::y().
1.5.9