VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFogSignalImGui.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvAudio/vrvAudio.h>
13 
14 #include <vrvCore/DtUniqueID.h>
15 
16 #include <matrix/vlVector.h>
17 
18 #include <string>
19 
20 namespace makVrv
21 {
22 
23  class DtFogSignalManager;
24  class DtFogSignalController;
25 
40  {
41  public:
44  explicit DtFogSignalImGui(DtFogSignalManager& manager);
45 
48 
50  DtFogSignalImGui(const DtFogSignalImGui&) = delete;
51  DtFogSignalImGui& operator=(const DtFogSignalImGui&) = delete;
52 
57  void render();
58 
59  private:
61  void renderTreeNode();
62 
64  void renderWorldLabels();
65 
68  void teleportObserverTo(const DtVector& position);
69 
76  static void buildLabelLines(const DtFogSignalController& controller,
77  bool foggy,
78  const DtVector* observerPos,
79  std::string& outFirstLine,
80  std::string& outBody);
81 
84  static std::string basename(const std::string& path);
85 
89 
93  };
94 
95 } // namespace makVrv
bool myShowWorldLabels
Checkbox state. When true, world-space labels are drawn for every active controller on every channel ...
Definition: DtFogSignalImGui.h:92
Contains the DLL export macro for vrvAudio classes.
F4 ImGui debug section for the fog-signal pipeline.
Definition: DtFogSignalImGui.h:39
Drives the on/off sequence of a single buoy or beacon fog signal.
Definition: DtFogSignalController.h:75
Contains makVrv::DtUniqueID type.
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
DE-scoped manager that owns one DtFogSignalController per audio fog-signal feature (typically streame...
Definition: DtFogSignalManager.h:53
DtFogSignalManager & myManager
Owning manager; reference rather than pointer because the manager creates and outlives this helper...
Definition: DtFogSignalImGui.h:88

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)