#include <spectrumwavelengths.h>
Public Member Functions | |
| SpectrumWavelengths () | |
| void | Sample (float u1, float u2) |
| float | SampleSingle () |
Public Attributes | |
| float | w [WAVELENGTH_SAMPLES] |
| bool | single |
| int | single_w |
| SWCSpectrum | spect_w |
| SWCSpectrum | spect_c |
| SWCSpectrum | spect_m |
| SWCSpectrum | spect_y |
| SWCSpectrum | spect_r |
| SWCSpectrum | spect_g |
| SWCSpectrum | spect_b |
| float * | cie_X |
| float * | cie_Y |
| float * | cie_Z |
Private Attributes | |
| SPD * | spd_w |
| SPD * | spd_c |
| SPD * | spd_m |
| SPD * | spd_y |
| SPD * | spd_r |
| SPD * | spd_g |
| SPD * | spd_b |
Definition at line 35 of file spectrumwavelengths.h.
| SpectrumWavelengths::SpectrumWavelengths | ( | ) |
Definition at line 34 of file spectrumwavelengths.cpp.
References lux::AllocAligned(), cie_X, cie_Y, cie_Z, lux::refrgb2spect_bins, lux::refrgb2spect_blue, lux::refrgb2spect_cyan, lux::refrgb2spect_end, lux::refrgb2spect_green, lux::refrgb2spect_magenta, lux::refrgb2spect_red, lux::refrgb2spect_scale, lux::refrgb2spect_start, lux::refrgb2spect_white, lux::refrgb2spect_yellow, lux::SPD::Scale(), single, single_w, spd_b, spd_c, spd_g, spd_m, spd_r, spd_w, spd_y, and WAVELENGTH_SAMPLES.
| void lux::SpectrumWavelengths::Sample | ( | float | u1, | |
| float | u2 | |||
| ) | [inline] |
Definition at line 41 of file spectrumwavelengths.h.
References lux::SWCSpectrum::c, lux::CIE_X, cie_X, lux::CIE_Y, cie_Y, lux::CIE_Z, cie_Z, lux::CIEstart, Floor2Int(), lux::inv_WAVELENGTH_SAMPLES, Lerp(), lux::SPD::sample(), single, single_w, spd_b, spd_c, spd_g, spd_m, spd_r, spd_w, spd_y, spect_b, spect_c, spect_g, spect_m, spect_r, spect_w, spect_y, w, WAVELENGTH_END, WAVELENGTH_SAMPLES, and WAVELENGTH_START.
Referenced by lux::ExPhotonIntegrator::Preprocess(), and lux::RenderThread::render().
| float lux::SpectrumWavelengths::SampleSingle | ( | ) | [inline] |
Definition at line 83 of file spectrumwavelengths.h.
Referenced by Sample(), SpectrumWavelengths(), and lux::SWCSpectrum::ToXYZ().
| float * lux::SpectrumWavelengths::cie_Y |
Definition at line 83 of file spectrumwavelengths.h.
Referenced by Sample(), SpectrumWavelengths(), lux::SWCSpectrum::ToXYZ(), and lux::SWCSpectrum::y().
| float * lux::SpectrumWavelengths::cie_Z |
Definition at line 83 of file spectrumwavelengths.h.
Referenced by Sample(), SpectrumWavelengths(), and lux::SWCSpectrum::ToXYZ().
Definition at line 76 of file spectrumwavelengths.h.
Referenced by lux::SWCSpectrum::filter(), Sample(), SampleSingle(), SpectrumWavelengths(), lux::SWCSpectrum::ToXYZ(), and lux::SWCSpectrum::y().
Definition at line 77 of file spectrumwavelengths.h.
Referenced by lux::SWCSpectrum::filter(), Sample(), SampleSingle(), SpectrumWavelengths(), lux::SWCSpectrum::ToXYZ(), and lux::SWCSpectrum::y().
SPD * lux::SpectrumWavelengths::spd_b [private] |
Definition at line 86 of file spectrumwavelengths.h.
Referenced by Sample(), and SpectrumWavelengths().
SPD * lux::SpectrumWavelengths::spd_c [private] |
Definition at line 86 of file spectrumwavelengths.h.
Referenced by Sample(), and SpectrumWavelengths().
SPD * lux::SpectrumWavelengths::spd_g [private] |
Definition at line 86 of file spectrumwavelengths.h.
Referenced by Sample(), and SpectrumWavelengths().
SPD * lux::SpectrumWavelengths::spd_m [private] |
Definition at line 86 of file spectrumwavelengths.h.
Referenced by Sample(), and SpectrumWavelengths().
SPD * lux::SpectrumWavelengths::spd_r [private] |
Definition at line 86 of file spectrumwavelengths.h.
Referenced by Sample(), and SpectrumWavelengths().
SPD* lux::SpectrumWavelengths::spd_w [private] |
Definition at line 86 of file spectrumwavelengths.h.
Referenced by Sample(), and SpectrumWavelengths().
SPD * lux::SpectrumWavelengths::spd_y [private] |
Definition at line 86 of file spectrumwavelengths.h.
Referenced by Sample(), and SpectrumWavelengths().
Definition at line 81 of file spectrumwavelengths.h.
Referenced by Sample(), and lux::SWCSpectrum::SWCSpectrum().
Definition at line 79 of file spectrumwavelengths.h.
Referenced by Sample(), and lux::SWCSpectrum::SWCSpectrum().
Definition at line 80 of file spectrumwavelengths.h.
Referenced by Sample(), and lux::SWCSpectrum::SWCSpectrum().
Definition at line 79 of file spectrumwavelengths.h.
Referenced by Sample(), and lux::SWCSpectrum::SWCSpectrum().
Definition at line 80 of file spectrumwavelengths.h.
Referenced by Sample(), and lux::SWCSpectrum::SWCSpectrum().
Definition at line 79 of file spectrumwavelengths.h.
Referenced by Sample(), and lux::SWCSpectrum::SWCSpectrum().
Definition at line 80 of file spectrumwavelengths.h.
Referenced by Sample(), and lux::SWCSpectrum::SWCSpectrum().
| float lux::SpectrumWavelengths::w[WAVELENGTH_SAMPLES] |
Definition at line 74 of file spectrumwavelengths.h.
Referenced by Sample(), SampleSingle(), and lux::SWCSpectrum::SWCSpectrum().
1.5.9