|
VR-Engage
2.2
|
DtPanelStruct represents a group of related instrument panels associated with a specific entity. It manages the relationship between panel displays, their windows, and the cameras that render content to them. This struct forms the organizational structure for instrument panels in a cockpit or vehicle.
#include <instrumentPanelManagerStructs.h>
Public Types | |
| using | WindowNameModelDefMap = std::map<std::string, std::string> |
| using | CameraMap = std::map<std::string, DtCameraStruct*> |
Public Member Functions | |
| DtPanelStruct () | |
Public Attributes | |
| DtEntityIdentifier | ownshipId |
| DtEntityIdentifier | panelHostId |
| WindowNameModelDefMap | windows |
| CameraMap | cameras |
| using makVre::DtPanelStruct::WindowNameModelDefMap = std::map<std::string, std::string> |
Type definition for mapping window names to model definition names.
| using makVre::DtPanelStruct::CameraMap = std::map<std::string, DtCameraStruct*> |
Type definition for mapping camera names to camera structures.
|
inline |
Constructor.
Creates a new panel structure with default settings. Initializes entity identifiers to null and creates empty collections for windows and cameras.
References cameras, ownshipId, panelHostId, and windows.
| DtEntityIdentifier makVre::DtPanelStruct::ownshipId |
Entity identifier of the ownship associated with these panels.
Referenced by DtPanelStruct().
| DtEntityIdentifier makVre::DtPanelStruct::panelHostId |
Entity identifier of the host entity containing these panels.
Referenced by DtPanelStruct().
| WindowNameModelDefMap makVre::DtPanelStruct::windows |
Map of window names to their associated model definition names.
Referenced by DtPanelStruct().
| CameraMap makVre::DtPanelStruct::cameras |
Map of camera names to their associated camera structures.
Referenced by DtPanelStruct().