#include <rgbrefl.h>
Public Member Functions | |
RGBReflSPD () | |
RGBReflSPD (RGBColor s) | |
virtual | ~RGBReflSPD () |
Protected Member Functions | |
void | AddWeighted (float w, float *c) |
void | init (RGBColor s) |
Definition at line 35 of file rgbrefl.h.
lux::RGBReflSPD::RGBReflSPD | ( | ) | [inline] |
lux::RGBReflSPD::RGBReflSPD | ( | RGBColor | s | ) | [inline] |
void lux::RGBReflSPD::AddWeighted | ( | float | w, | |
float * | c | |||
) | [inline, protected] |
Definition at line 48 of file rgbrefl.h.
References lux::SPD::nSamples, and lux::SPD::samples.
Referenced by init().
void RGBReflSPD::init | ( | RGBColor | s | ) | [protected] |
Definition at line 31 of file rgbrefl.cpp.
References AddWeighted(), lux::SPD::AllocateSamples(), b, lux::Color::c, lux::SPD::Clamp(), lux::SPD::delta, blender::g, lux::SPD::invDelta, lux::SPD::lambdaMax, lux::SPD::lambdaMin, lux::SPD::nSamples, lux::r, 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::samples, and lux::SPD::Scale().
Referenced by RGBReflSPD().