Class preview_interface_t¶
Defined in File preview_interface.hpp
Inheritance Relationships¶
Derived Types¶
public wt::gui_t
(Class gui_t)public wt::preview_tev_t
(Class preview_tev_t)
Class Documentation¶
-
class preview_interface_t¶
Subclassed by wt::gui_t, wt::preview_tev_t
Public Functions
-
virtual ~preview_interface_t() noexcept = default¶
-
inline virtual std::chrono::milliseconds preview_update_interval() const noexcept¶
Indicates a desired minimal interval from clients calling update().
-
inline virtual unsigned preview_update_rate_limit_factor() const noexcept¶
Indicates a desired rate limiting factor from clients calling update().
-
virtual void update(const std::string &preview_id, sensor::developed_scalar_film_t<2> &&surface, const f_t spp_completed, const sensor::response::tonemap_t *tonemap = nullptr) const = 0¶
Updates the preview image. Can be called from any thread.
-
virtual void update(const std::string &preview_id, sensor::developed_polarimetric_film_t<2> &&surface, const f_t spp_completed, const sensor::response::tonemap_t *tonemap = nullptr) const = 0¶
Updates the preview image (polarimetric input). Can be called from any thread.
-
virtual bool polarimetric_preview() const noexcept = 0¶
Returns TRUE if the preview is able to process polarimetric inputs. Must be thread safe.
-
virtual bool available() const noexcept = 0¶
Returns TRUE if the preview is available to process new input. Must be thread safe.
-
virtual ~preview_interface_t() noexcept = default¶