struct mola::MolaVizImGuiCore::PerWindowData

Overview

#include <MolaVizImGuiCore.h>

struct PerWindowData
{
    // structs

    struct PendingSensorObs;

    // fields

    GLFWwindow* glfw_window = nullptr;
    std::shared_ptr<mrpt::opengl::COpenGLScene> background_scene;
    std::mutex background_scene_mtx;
    std::unique_ptr<mrpt::imgui::CImGuiSceneView> background_scene_view;
    float cam_azimuth_deg = 110.0f;
    float cam_elevation_deg = 15.0f;
    float cam_zoom = 20.0f;
    float cam_look_at[3] = {0.0f, 0.0f, 0.0f};
    bool cam_orthographic = false;
    bool cam_dirty = true;
    std::map<subwindow_name_t, SubWindowState> sub_windows;
    std::map<subwindow_name_t, PendingSensorObs> sensor_windows;
    std::deque<std::string> console_messages;
    std::deque<DecayingCloud> decaying_clouds;
    size_t max_decaying_clouds = 100;
    mola::gui::MenuBar menu_bar;
};

Fields

std::unique_ptr<mrpt::imgui::CImGuiSceneView> background_scene_view

nullptr in embed mode (host renders via its own CImGuiSceneView).