18class DtVirtualRealityDriver;
88 virtual void tick(
double dt)
override;
97 virtual const char*
type()
const override;
double myMaxViewMagnification
Maximum allowed view magnification value.
Definition vreBinocularsSimLogic.h:124
virtual const char * type() const override
Returns the type identifier for this component.
virtual void onViewMagnificationChanged(double mag)
Callback for view magnification attribute changes.
virtual ~DtBinocularsSimLogic() override
Virtual destructor for DtBinocularsSimLogic.
bool myMrWasActive
Flag indicating if mixed reality was active before entering binoculars mode.
Definition vreBinocularsSimLogic.h:130
virtual void tick(double dt) override
Called every frame to update the component state.
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the binoculars simulation logic component.
double myHmdSmoothingAlpha
Smoothing alpha parameter for HMD orientation smoothing.
Definition vreBinocularsSimLogic.h:137
bool myHmdSmoothingEnabled
Flag indicating if HMD orientation smoothing is enabled.
Definition vreBinocularsSimLogic.h:133
virtual bool postInitialize() override
Performs post-initialization after all components are initialized.
virtual makVre::DtVreMessageResult handleZoomToEvent(makVre::DtVreMessage *msg)
Handles zoom-to messages for binoculars.
DtBinocularsSimLogic()
Constructor for DtBinocularsSimLogic.
virtual makVre::DtVreMessageResult handleZoomByEvent(makVre::DtVreMessage *msg)
Handles zoom-by messages for binoculars.
double myHmdSmoothingThreshold
Threshold parameter for HMD orientation smoothing in degrees per second.
Definition vreBinocularsSimLogic.h:141
virtual void shutdown() override
Shuts down the binoculars simulation logic component.
makVrv::DtVirtualRealityDriver * myVrDriver
Pointer to the VR driver if available.
Definition vreBinocularsSimLogic.h:127
Table-based access to Lua state for configuration data.
Definition initializer.h:38
virtual DtPlayerStation & player()
Gets the player station.
DtPlayerComponent()
Constructor.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
constexpr const char * hmdSmoothingAlpha
Definition vreBinocularsSimLogic.h:32
constexpr const char * hmdSmoothingThreshold
Definition vreBinocularsSimLogic.h:38
constexpr const char * hmdSmoothingEnabled
Definition vreBinocularsSimLogic.h:35
constexpr const char * maxViewMagnification
Definition vreBinocularsSimLogic.h:41
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Definition vreBinocularsSimLogic.h:24
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtBinocularsSimLogicType
Type identifier for DtBinocularsSimLogic component.
Definition vreBinocularsSimLogic.h:47
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Definition appLauncherComponent.h:28
Defines the DtPlayerComponent base class for VR-Engage role components.
Defines the base class for all VREngage messages.