|
EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
|
Provides a modal IPanel to map externally sourced Signal objects to separately uploaded files. More...
#include <MapSourcesModal.hpp>
Public Member Functions | |
| MapSourcesModal (EchoMap *app, const PartialProject *project) | |
| void | draw () noexcept override |
| Draw the panel to the active rendering context. | |
| const char * | get_imgui_name () const noexcept override |
| Retrieves the name of the IPanel for Dear ImGui API functions. | |
| void | reshow () noexcept |
| void | change_active_project (const PartialProject *new_project) override |
| Do nothing. | |
| Public Member Functions inherited from echomap::IPanel | |
| virtual void | update_gpu (const wgpu::CommandEncoder &command_encoder) |
| Delegate work to the GPU via the WebGPU platform. | |
Static Public Member Functions | |
| static const char * | get_imgui_stable_name () noexcept |
Private Member Functions | |
| void | draw_preamble () const noexcept |
| bool | draw_table_entry (const std::filesystem::path &external_path, const std::optional< std::filesystem::path > &vfs_path, SignalFactoryRange auto &&factories) const noexcept |
| void | draw_buttons (bool are_all_mapped) |
Private Attributes | |
| std::string | panel_name |
| EchoMap * | app |
| const PartialProject * | project |
| bool | should_open = true |
Static Private Attributes | |
| static constexpr ImVec2 | upload_button_frame_padding {0.0f, 0.0f} |
| static constexpr ImVec2 | default_modal_size {500.0f, 300.0f} |
Additional Inherited Members | |
| Static Protected Attributes inherited from echomap::IPanel | |
| static constexpr ImVec2 | button_size {80.0f, 20.0f} |
| static constexpr auto | table_flags |
Provides a modal IPanel to map externally sourced Signal objects to separately uploaded files.
This is most useful in browser (WebAssembly VFS) contexts where the application cannot interrogate the file system directly.
Definition at line 34 of file MapSourcesModal.hpp.
|
explicit |
Definition at line 21 of file MapSourcesModal.cpp.
|
overridevirtual |
Do nothing.
THe active Project may be changed in the background, but that shouldn't interfere with an active modal. This modal will also typically relate to an unloaded (or partially loaded) Project, not the active one.
| new_project | Ignored. |
Implements echomap::IWebPanel.
Definition at line 91 of file MapSourcesModal.cpp.
|
overridevirtualnoexcept |
Draw the panel to the active rendering context.
Implements echomap::IPanel.
Definition at line 31 of file MapSourcesModal.cpp.
|
private |
Definition at line 124 of file MapSourcesModal.cpp.
|
privatenoexcept |
Definition at line 103 of file MapSourcesModal.cpp.
|
privatenoexcept |
Definition at line 153 of file MapSourcesModal.cpp.
|
nodiscardoverridevirtualnoexcept |
Retrieves the name of the IPanel for Dear ImGui API functions.
Implements echomap::IPanel.
Definition at line 81 of file MapSourcesModal.cpp.
|
staticnoexcept |
Definition at line 98 of file MapSourcesModal.cpp.
|
noexcept |
Definition at line 86 of file MapSourcesModal.cpp.
|
private |
Definition at line 75 of file MapSourcesModal.hpp.
|
staticconstexprprivate |
Definition at line 62 of file MapSourcesModal.hpp.
|
private |
Definition at line 74 of file MapSourcesModal.hpp.
|
private |
Definition at line 76 of file MapSourcesModal.hpp.
|
private |
Definition at line 77 of file MapSourcesModal.hpp.
|
staticconstexprprivate |
Definition at line 61 of file MapSourcesModal.hpp.