Function wt::gui::build_scene_info¶
Defined in File scene_info.hpp
Function Documentation¶
-
std::unique_ptr<scene_info_t> wt::gui::build_scene_info(const std::string_view prefix, std::optional<std::string> name, const scene::element::info_t &info, const sensor::sensor_t &sensor) noexcept¶
Builds scene info node from a scene_element description. std::nullopt for name indicates that class should be used instead.
- Parameters:
sensor – sensor that is used for wavelength ranges on all spectral plots