|
VR-Engage
2.2
|
DtVrvSensorOverlayUpdater manages which overlay sections are displayed in the gimbal sensor view. It allows customization of the sensor display by including or excluding specific overlay sections based on configuration, and restores default sections when shutting down.
#include <vrvSensorOverlayUpdater.h>
Public Member Functions | |
| DtVrvSensorOverlayUpdater () | |
| virtual | ~DtVrvSensorOverlayUpdater () override |
| virtual bool | initialize (makVre::DtPlayerStation *player, makVre::DtInitTable &config) override |
| virtual void | tick (double dt) override |
| virtual void | shutdown () override |
| virtual const char * | type () const override |
Public Member Functions inherited from makVre::DtPlayerComponent | |
| DtPlayerComponent () | |
| virtual | ~DtPlayerComponent () |
| virtual bool | postInitialize () |
| virtual void | setName (const std::string &name) |
| virtual const std::string & | name () |
| virtual DtPlayerStation & | player () |
| virtual DtAttributeHandle & | playerAttributeStore () |
| virtual const DtAttributeHandle & | playerAttributeStore () const |
Additional Inherited Members | |
Protected Member Functions inherited from makVre::DtPlayerComponent | |
| virtual void | initializeStateAttributes () |
Protected Attributes inherited from makVre::DtPlayerComponent | |
| std::string | myName |
| DtInitTable | myConfig |
| DtPlayerStation * | myPlayer |
| makVrv::DtDe * | myDe |
| DtEntityResolver * | myResolver |
| DtAttributeCallbackManager | myAttributeCallbacks |
| makVre::DtVrvSensorOverlayUpdater::DtVrvSensorOverlayUpdater | ( | ) |
Constructor for DtVrvSensorOverlayUpdater.
Initializes the component with the name "DtVrvSensorOverlayUpdater"
|
overridevirtual |
Virtual destructor for DtVrvSensorOverlayUpdater.
|
overridevirtual |
Initializes the sensor overlay updater component.
| player | Pointer to the player station this component belongs to |
| config | Configuration table containing overlay section settings |
Reads the "sections" configuration list to determine which overlay sections should be displayed. If no sections are specified, default overlay sections will be used. Sends a SetGimbalOverlaySectionsMessage with the configured sections to apply the changes.
Reimplemented from makVre::DtPlayerComponent.
References makVre::DtPlayerComponent::player().
|
overridevirtual |
Called every frame to update the component state.
| dt | Delta time since the last frame in seconds |
Current implementation has no per-frame update actions
Implements makVre::DtPlayerComponent.
|
overridevirtual |
Shuts down the sensor overlay updater component.
Sends a RestoreGimbalOverlaySectionsMessage to revert to the default overlay sections configuration
Reimplemented from makVre::DtPlayerComponent.
|
overridevirtual |
Returns the type identifier for this component.
Implements makVre::DtPlayerComponent.