Struct impl_t

Struct Documentation

struct impl_t

Public Functions

inline impl_t(wt_context_t &ctx, std::unique_ptr<gui_t::bootstrap_data_t> scene_bootstrapper, gui_t::renderer_results_callback_t write_out_render_results)
inline ~impl_t()
void init(const wt_context_t &ctx)
void deinit()
void new_frame()
void render()
void load_fonts()
inline void set_sout_verbosity(verbosity_e l) noexcept
inline void print_summary()
inline auto gui_title() const
inline const auto &get_scene_bootstrapper() const noexcept
inline bool is_scene_loading_done() const noexcept
inline void create_scene()
inline void start_rendering(const gui_t *gui) noexcept
inline bool has_rendering_started() const noexcept
inline auto rendering_status() const noexcept
inline bool is_scene_renderer_done() const noexcept
inline void process_rendering_result() noexcept
inline void write_results(const scene::render_result_t &results, bool intermediate) const
inline void renderer_pause() const noexcept
inline void renderer_resume() const noexcept
inline void renderer_toggle_pauseresume() const noexcept
inline void capture_intermediate() const noexcept
inline void on_new_preview(const preview_bitmap_t &pbmp) const noexcept
inline void push_new_preview(std::shared_ptr<preview_bitmap_t> &&pi, f_t spe_completed) const noexcept
inline void push_new_preview(std::shared_ptr<preview_bitmap_polarimetric_t> &&pi, f_t spe_completed) const noexcept
inline auto update_preview() noexcept
inline void update_perf_stats_if_stale()
inline bool has_preview() const noexcept
inline bool is_polarimetric_preview() const noexcept
inline auto is_rgb_preview() const noexcept
inline bool lock_linear_fc() const noexcept
inline bool custom_fc() const noexcept
inline bool mirrored_fc() const noexcept
inline auto current_preview_mode() const noexcept
inline void set_mode_linear() noexcept
inline void set_mode_gamma() noexcept
inline void set_mode_db() noexcept
inline void set_mode_fc() noexcept
inline void inc_exposure(float scale = 1) noexcept
inline void dec_exposure(float scale = 1) noexcept
inline void inc_gamma(float scale = 1) noexcept
inline void dec_gamma(float scale = 1) noexcept
inline void toggle_gamma_srgb() noexcept
inline void reset_preview_controls() noexcept
inline float status_bar_height() const noexcept

Public Members

wt_context_t &ctx
bool scene_updated = false
std::unique_ptr<wt::scene_t> scene
std::unique_ptr<wt::ads::ads_t> ads
std::unique_ptr<scene_info_t> scene_info
std::unique_ptr<scene_info_t> ads_info
std::unique_ptr<scene_renderer_t> scene_renderer
const sensor::response::RGB_t *RGB_response_function
gl_image_t icon
ImFont *mono_font
perf_stats_t perf_stats
std::chrono::steady_clock::time_point last_perf_stats_update
gl_image_t preview_gl_image
gl_images_t preview_gl_image_polarimetric
f_t spe_completed
int pol_mode_id = 0
int pol_mode_filter_mode = 0
float pol_LP_filter_angle = 0
vec4_t pol_stokes_filter = {1, 0, 0, 0}
bool histogram_shown = true
bool perf_stats_open = false
std::shared_ptr<histogram_t<>> image_histogram
std::array<gl_image_t, ImGuiTexInspect::colourmaps.size()> colourmap_legend_bars
bool should_recentre_image = false
bool should_fit_image = false
bool should_fill_image = false
preview_mode_e preview_mode = preview_mode_e::gamma
bool preview_tooltips = false
bool preview_annotations = true
float exposure
float gamma
bool srgb_gamma = true
vec2<float> db_range
vec2<float> db_range_default = {-100, 0}
int colourmap_id = 0
float fc_min = 0
float fc_max = 1
int fc_channel = 4
gui::gui_state_t state = gui::gui_state_t::loading
std::chrono::high_resolution_clock::time_point rendering_start_time
std::chrono::high_resolution_clock::duration rendering_elapsed_time
bool show_logbox = open_logbox_by_default
bool show_sidebar = open_sidebar_by_default
logbox_ctx_t logbox
verbosity_e loglevel = default_sout_verbosity
std::vector<std::pair<int, std::string>> sout
std::size_t seen_sout_lines = 0
bool should_scroll_log_to_bottom = false
SDL_Window *window
ImGuiIO *io
bool main_layout_configured = false
bool about_popup_open = false
const std::string wtversion_string