struct mola::MolaVizImGuiCore::View3DState¶
Overview¶
An extra 3D view (create_3d_view_subwindow()): a dockable window with a scene of its own (objects in its “main” viewport) and its own camera.
#include <MolaVizImGuiCore.h> struct View3DState { // fields std::string title; std::shared_ptr<mrpt::viz::Scene> scene; std::unique_ptr<mrpt::imgui::CImGuiSceneView> scene_view; bool open = true; CameraState cam {110.0f, 30.0f, 30.0f, {0.0f, 0.0f, 0.0f}, false, true}; std::deque<DecayingCloud> decaying_clouds; size_t max_decaying_clouds = 100; };
Fields¶
std::unique_ptr<mrpt::imgui::CImGuiSceneView> scene_view
Created on the GUI thread the first time the view is drawn.