#include <spectrum.h>
Public Member Functions | |
| Spectrum (const float _r=0.f, const float _g=0.f, const float _b=0.f) | |
| Spectrum | operator+ (const Spectrum &v) const |
| Spectrum | operator* (const Spectrum &v) const |
| Spectrum & | operator*= (const Spectrum &v) |
| Spectrum & | operator+= (const Spectrum &v) |
| Spectrum | operator- (const Spectrum &v) const |
| Spectrum & | operator-= (const Spectrum &v) |
| bool | operator== (const Spectrum &v) const |
| Spectrum | operator* (float f) const |
| Spectrum & | operator*= (float f) |
| Spectrum | operator/ (float f) const |
| Spectrum & | operator/= (float f) |
| Spectrum | operator- () const |
| float | operator[] (int i) const |
| float & | operator[] (int i) |
| float | Filter () const |
| bool | Black () const |
| bool | IsNaN () const |
| float | Y () const |
| void | Clamp () |
| Spectrum (float _r=0.f, float _g=0.f, float _b=0.f) | |
| Spectrum | operator+ (const Spectrum &v) const |
| Spectrum | operator* (const Spectrum &v) const |
| Spectrum & | operator*= (const Spectrum &v) |
| Spectrum & | operator+= (const Spectrum &v) |
| Spectrum | operator- (const Spectrum &v) const |
| Spectrum & | operator-= (const Spectrum &v) |
| bool | operator== (const Spectrum &v) const |
| Spectrum | operator* (float f) const |
| Spectrum & | operator*= (float f) |
| Spectrum | operator/ (float f) const |
| Spectrum & | operator/= (float f) |
| Spectrum | operator- () const |
| float | operator[] (int i) const |
| float & | operator[] (int i) |
| float | Filter () const |
| bool | Black () const |
| bool | IsNaN () const |
Public Attributes | |
| float | r |
| float | g |
| float | b |
Definition at line 32 of file core/pixel/spectrum.h.
| luxrays::Spectrum::Spectrum | ( | const float | _r = 0.f, |
|
| const float | _g = 0.f, |
|||
| const float | _b = 0.f | |||
| ) | [inline] |
Definition at line 35 of file core/pixel/spectrum.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
| luxrays::Spectrum::Spectrum | ( | float | _r = 0.f, |
|
| float | _g = 0.f, |
|||
| float | _b = 0.f | |||
| ) | [inline] |
Definition at line 33 of file utils/core/spectrum.h.
| bool luxrays::Spectrum::Black | ( | ) | const [inline] |
Definition at line 114 of file utils/core/spectrum.h.
| bool luxrays::Spectrum::Black | ( | ) | const [inline] |
Definition at line 116 of file core/pixel/spectrum.h.
| void luxrays::Spectrum::Clamp | ( | ) | [inline] |
Definition at line 128 of file core/pixel/spectrum.h.
| float luxrays::Spectrum::Filter | ( | ) | const [inline] |
Definition at line 110 of file utils/core/spectrum.h.
| float luxrays::Spectrum::Filter | ( | ) | const [inline] |
| bool luxrays::Spectrum::IsNaN | ( | ) | const [inline] |
Definition at line 118 of file utils/core/spectrum.h.
| bool luxrays::Spectrum::IsNaN | ( | ) | const [inline] |
Definition at line 120 of file core/pixel/spectrum.h.
Referenced by luxrays::SampleBuffer::SplatSample().
| Spectrum luxrays::Spectrum::operator* | ( | float | f | ) | const [inline] |
Definition at line 74 of file utils/core/spectrum.h.
References b, g, r, and Spectrum().
Definition at line 41 of file utils/core/spectrum.h.
References b, g, r, and Spectrum().
| Spectrum luxrays::Spectrum::operator* | ( | float | f | ) | const [inline] |
Definition at line 76 of file core/pixel/spectrum.h.
References b, g, r, and Spectrum().
Definition at line 43 of file core/pixel/spectrum.h.
References b, g, r, and Spectrum().
| Spectrum& luxrays::Spectrum::operator*= | ( | float | f | ) | [inline] |
Definition at line 78 of file utils/core/spectrum.h.
Definition at line 45 of file utils/core/spectrum.h.
| Spectrum& luxrays::Spectrum::operator*= | ( | float | f | ) | [inline] |
Definition at line 80 of file core/pixel/spectrum.h.
Definition at line 47 of file core/pixel/spectrum.h.
Definition at line 37 of file utils/core/spectrum.h.
References b, g, r, and Spectrum().
Definition at line 39 of file core/pixel/spectrum.h.
References b, g, r, and Spectrum().
Definition at line 52 of file utils/core/spectrum.h.
Definition at line 54 of file core/pixel/spectrum.h.
| Spectrum luxrays::Spectrum::operator- | ( | ) | const [inline] |
Definition at line 98 of file utils/core/spectrum.h.
References b, g, r, and Spectrum().
Definition at line 59 of file utils/core/spectrum.h.
References b, g, r, and Spectrum().
| Spectrum luxrays::Spectrum::operator- | ( | ) | const [inline] |
Definition at line 100 of file core/pixel/spectrum.h.
References b, g, r, and Spectrum().
Definition at line 61 of file core/pixel/spectrum.h.
References b, g, r, and Spectrum().
Definition at line 63 of file utils/core/spectrum.h.
Definition at line 65 of file core/pixel/spectrum.h.
| Spectrum luxrays::Spectrum::operator/ | ( | float | f | ) | const [inline] |
Definition at line 85 of file utils/core/spectrum.h.
References b, g, r, and Spectrum().
| Spectrum luxrays::Spectrum::operator/ | ( | float | f | ) | const [inline] |
Definition at line 87 of file core/pixel/spectrum.h.
References b, g, r, and Spectrum().
| Spectrum& luxrays::Spectrum::operator/= | ( | float | f | ) | [inline] |
Definition at line 90 of file utils/core/spectrum.h.
| Spectrum& luxrays::Spectrum::operator/= | ( | float | f | ) | [inline] |
Definition at line 92 of file core/pixel/spectrum.h.
| bool luxrays::Spectrum::operator== | ( | const Spectrum & | v | ) | const [inline] |
Definition at line 70 of file utils/core/spectrum.h.
| bool luxrays::Spectrum::operator== | ( | const Spectrum & | v | ) | const [inline] |
Definition at line 72 of file core/pixel/spectrum.h.
| float& luxrays::Spectrum::operator[] | ( | int | i | ) | [inline] |
Definition at line 106 of file utils/core/spectrum.h.
References r.
| float luxrays::Spectrum::operator[] | ( | int | i | ) | const [inline] |
Definition at line 102 of file utils/core/spectrum.h.
References r.
| float& luxrays::Spectrum::operator[] | ( | int | i | ) | [inline] |
Definition at line 108 of file core/pixel/spectrum.h.
References r.
| float luxrays::Spectrum::operator[] | ( | int | i | ) | const [inline] |
Definition at line 104 of file core/pixel/spectrum.h.
References r.
| float luxrays::Spectrum::Y | ( | ) | const [inline] |
Definition at line 124 of file core/pixel/spectrum.h.
| float luxrays::Spectrum::b |
Definition at line 134 of file core/pixel/spectrum.h.
Referenced by Black(), ChromaticityToSpectrum(), Clamp(), luxrays::FrameBuffer::Clear(), luxrays::SampleFrameBuffer::Clear(), ColorCB(), Filter(), IsNaN(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator==(), luxrays::utils::Film::Radiance2Pixel(), luxrays::utils::Film::SaveImpl(), luxrays::sdl::TextureMap::TextureMap(), luxrays::sdl::SPD::ToRGB(), luxrays::NativePixelDevice::UpdateFrameBuffer(), and Y().
| float luxrays::Spectrum::g |
Definition at line 134 of file core/pixel/spectrum.h.
Referenced by Black(), ChromaticityToSpectrum(), Clamp(), luxrays::FrameBuffer::Clear(), luxrays::SampleFrameBuffer::Clear(), ColorCB(), Filter(), IsNaN(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator==(), luxrays::utils::Film::Radiance2Pixel(), luxrays::utils::Film::SaveImpl(), luxrays::sdl::TextureMap::TextureMap(), luxrays::sdl::SPD::ToRGB(), luxrays::NativePixelDevice::UpdateFrameBuffer(), and Y().
| float luxrays::Spectrum::r |
Definition at line 134 of file core/pixel/spectrum.h.
Referenced by Black(), ChromaticityToSpectrum(), Clamp(), luxrays::FrameBuffer::Clear(), luxrays::SampleFrameBuffer::Clear(), ColorCB(), Filter(), IsNaN(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator==(), operator[](), luxrays::utils::Film::Radiance2Pixel(), luxrays::utils::Film::SaveImpl(), luxrays::sdl::TextureMap::TextureMap(), luxrays::sdl::SPD::ToRGB(), luxrays::NativePixelDevice::UpdateFrameBuffer(), and Y().
1.6.3