Class XYZ_t

Inheritance Relationships

Base Type

Class Documentation

class XYZ_t : public wt::sensor::response::response_t

Public Functions

XYZ_t(std::string id, const wt::wt_context_t &context)
XYZ_t(XYZ_t&&) = default
virtual ~XYZ_t() noexcept = default
inline virtual bitmap::pixel_layout_t pixel_layout() const noexcept override

Returns the response function’s pixel layout.

inline const auto *channel(std::uint16_t channel) const noexcept

Returns the channel spectrum.

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)