Struct MolaVizImGui::SubWindowState

Nested Relationships

This struct is a nested type of Class MolaVizImGui.

Struct Documentation

struct SubWindowState

State built from WindowDescription and kept alive for the lifetime of the ImGui window. ImGui windows are identified by their title string.

Public Members

mola::gui::WindowDescription desc
int active_tab = 0

Per-tab active index (ImGui tracks it, but we need it for first-use):

unsigned int fbo_id = 0

FBO handle for sensor-observation GL canvas (0 = not yet created). TODO: per-subwindow FBO for subwindow_update_visualization().

unsigned int fbo_texture = 0
int fbo_w = 0
int fbo_h = 0