VR-Engage  2.2
Loading...
Searching...
No Matches
stateDefines.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file stateDefines.h
7//! \brief Common enumeration definitions used throughout the VREngage system
8//! \ingroup vreCommonComponents
9
10#pragma once
11
12namespace makVre
13{
14//! \brief Enumeration of available sensor view modes
15//!
16//! Defines the different sensor vision modes that can be used in the simulation
18{
19 VISUAL, //!< Standard visual spectrum view
20 NVG, //!< Night vision goggles view
21 THERMAL_WHITE, //!< Thermal imaging with hot objects appearing white
22 THERMAL_BLACK, //!< Thermal imaging with hot objects appearing black
23 MAX_SENSORS //!< Sentinel value indicating the number of sensor types
24};
25
26//! \brief Enumeration of human posture states
27//!
28//! Defines the possible postures that a human entity can assume in the simulation
30{
31 PRONE, //!< Lying flat on the ground
32 SITTING, //!< Seated position
33 CROUCHING, //!< Lowered stance with bent knees
34 KNEELING, //!< One or both knees on the ground
35 STANDING, //!< Upright position
36 JUMPING, //!< Mid-air during a jump
37 PARACHUTING, //!< Descending with a parachute
38 MAX_POSTURES //!< Sentinel value indicating the number of posture types
39};
40//! \brief Enumeration of camera/observer attachment offsets
41//!
42//! Defines which observer offset is used by DtHumanObserverUpdater
44{
45 FIRST_PERSON, //!< Offset when in first-person view mode
46 THIRD_PERSON, //!< Offset when in third-person view mode
47 CARRY, //!< Offset when carrying wounded
48 WEAPON_ATTACH, //!< Offset when using aim-down-sights
49 MAX_OBSERVER_ATTACH_MODES //!< Sentinel value indicating the number of offset modes
50};
51//! \brief Enumeration of equipment types that can be held or used
52//!
53//! Defines the types of equipment that an entity can have equipped or active
55{
56 NONE, //!< No equipment currently active
57 GUN, //!< Firearm (rifle, pistol, etc.)
58 LAUNCHER, //!< Projectile launcher (RPG, missile launcher, etc.)
59 GRENADE, //!< Hand grenade or thrown explosive
60 BINOCULARS, //!< Optical viewing device for distance observation
61 MAX_EQUIPMENT //!< Sentinel value indicating the number of equipment types
62};
63//! \brief Enumeration of launcher equipment states
64//!
65//! Defines the possible states for launcher-type equipment
67{
68 NO_LAUNCHER, //!< No launcher is equipped
69 DEPLOYED, //!< Launcher is equipped and ready to use
70 AIMING //!< Launcher is being aimed at a target
71};
72//! \brief Enumeration of launcher equipment types
73//!
74//! Defines the physical configuration types for launchers
76{
77 UNKNOWN, //!< Launcher type is not specified or recognized
78 SHOULDER_MOUNTED, //!< Launcher designed to be fired from the shoulder
79 TRIPOD_MOUNTED //!< Launcher mounted on a tripod or fixed support
80};
81//! \brief Enumeration of interactive terrain elements
82//!
83//! Defines the types of terrain elements that can be interacted with
85{
86 DOOR, //!< Doorway or door element
87 WINDOW //!< Window element
88};
89
90//! \brief Enumeration of actions that can be performed on terrain elements
91//!
92//! Defines the possible actions that can be applied to interactive terrain elements
94{
95 OPEN, //!< Open the terrain element
96 CLOSE //!< Close the terrain element
97};
98} // namespace makVre
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
ObserverAttachMode
Enumeration of camera/observer attachment offsets.
Definition stateDefines.h:44
@ CARRY
Offset when carrying wounded.
Definition stateDefines.h:47
@ THIRD_PERSON
Offset when in third-person view mode.
Definition stateDefines.h:46
@ WEAPON_ATTACH
Offset when using aim-down-sights.
Definition stateDefines.h:48
@ FIRST_PERSON
Offset when in first-person view mode.
Definition stateDefines.h:45
@ MAX_OBSERVER_ATTACH_MODES
Sentinel value indicating the number of offset modes.
Definition stateDefines.h:49
HumanPosture
Enumeration of human posture states.
Definition stateDefines.h:30
@ CROUCHING
Lowered stance with bent knees.
Definition stateDefines.h:33
@ STANDING
Upright position.
Definition stateDefines.h:35
@ PARACHUTING
Descending with a parachute.
Definition stateDefines.h:37
@ PRONE
Lying flat on the ground.
Definition stateDefines.h:31
@ KNEELING
One or both knees on the ground.
Definition stateDefines.h:34
@ SITTING
Seated position.
Definition stateDefines.h:32
@ JUMPING
Mid-air during a jump.
Definition stateDefines.h:36
@ MAX_POSTURES
Sentinel value indicating the number of posture types.
Definition stateDefines.h:38
LauncherState
Enumeration of launcher equipment states.
Definition stateDefines.h:67
@ DEPLOYED
Launcher is equipped and ready to use.
Definition stateDefines.h:69
@ NO_LAUNCHER
No launcher is equipped.
Definition stateDefines.h:68
@ AIMING
Launcher is being aimed at a target.
Definition stateDefines.h:70
TerrainAction
Enumeration of actions that can be performed on terrain elements.
Definition stateDefines.h:94
@ OPEN
Open the terrain element.
Definition stateDefines.h:95
@ CLOSE
Close the terrain element.
Definition stateDefines.h:96
SensorViews
Enumeration of available sensor view modes.
Definition stateDefines.h:18
@ VISUAL
Standard visual spectrum view.
Definition stateDefines.h:19
@ THERMAL_BLACK
Thermal imaging with hot objects appearing black.
Definition stateDefines.h:22
@ NVG
Night vision goggles view.
Definition stateDefines.h:20
@ MAX_SENSORS
Sentinel value indicating the number of sensor types.
Definition stateDefines.h:23
@ THERMAL_WHITE
Thermal imaging with hot objects appearing white.
Definition stateDefines.h:21
Equipment
Enumeration of equipment types that can be held or used.
Definition stateDefines.h:55
@ GUN
Firearm (rifle, pistol, etc.)
Definition stateDefines.h:57
@ GRENADE
Hand grenade or thrown explosive.
Definition stateDefines.h:59
@ MAX_EQUIPMENT
Sentinel value indicating the number of equipment types.
Definition stateDefines.h:61
@ NONE
No equipment currently active.
Definition stateDefines.h:56
@ BINOCULARS
Optical viewing device for distance observation.
Definition stateDefines.h:60
@ LAUNCHER
Projectile launcher (RPG, missile launcher, etc.)
Definition stateDefines.h:58
LauncherType
Enumeration of launcher equipment types.
Definition stateDefines.h:76
@ SHOULDER_MOUNTED
Launcher designed to be fired from the shoulder.
Definition stateDefines.h:78
@ UNKNOWN
Launcher type is not specified or recognized.
Definition stateDefines.h:77
@ TRIPOD_MOUNTED
Launcher mounted on a tripod or fixed support.
Definition stateDefines.h:79
TerrainElement
Enumeration of interactive terrain elements.
Definition stateDefines.h:85
@ WINDOW
Window element.
Definition stateDefines.h:87
@ DOOR
Doorway or door element.
Definition stateDefines.h:86