14 const math::TVector3<math::ColorValue>& tristimulus,
19 std::string_view sdlSpectrumStr,
29 std::string& out_sdlSpectrumStr,
30 std::string& out_tag);
EColorUsage
Definition color_enums.h:140
EColorSpace
Definition color_enums.h:7
LinearSRGBSpectrum Spectrum
Definition spectrum_fwd.h:33
Definition sdl_spectrum_io.cpp:17
math::Spectrum tristimulus_to_spectrum(const math::TVector3< math::ColorValue > &tristimulus, math::EColorSpace colorSpace, math::EColorUsage usage)
Definition sdl_spectrum_io.cpp:19
math::Spectrum load_spectrum(std::string_view sdlSpectrumStr, std::string_view tag, math::EColorUsage usage)
Definition sdl_spectrum_io.cpp:52
void save_spectrum(const math::Spectrum &spectrum, std::string &out_sdlSpectrumStr, std::string &out_tag)
Definition sdl_spectrum_io.cpp:130