monochromatic response function¶
-
class monochromatic_t : public wt::sensor::response::response_t
Single-channel sensor response function.
Public Functions
-
monochromatic_t(const monochromatic_t&) = default
-
monochromatic_t(monochromatic_t&&) = default
-
virtual ~monochromatic_t() noexcept = default
-
inline virtual bitmap::pixel_layout_t pixel_layout() const noexcept override
Returns the response function’s pixel layout.
-
inline virtual const f_t f(std::uint32_t channel, const wavenumber_t &k) const noexcept override
Evaluates the sensor sensitivity function.
-
inline virtual const spectrum::spectrum_real_t &sensitivity() const noexcept override
Returns the sensor’s sensitivity spectrum (the sum of all channels’ response spectra)
-
virtual scene::element::info_t description() const override
Public Static Functions
-
static std::unique_ptr<response_t> load(std::string id, scene::loader::loader_t *loader, const scene::loader::node_t &node, const wt::wt_context_t &context)
-
monochromatic_t(const monochromatic_t&) = default