20#include <vrvCore/DtTickable.h>
24class DtSceneObjectAgent;
25class DtChannelManager;
83 virtual void update(DtTime tNow)
override;
Provides attribute handling system for hierarchical data storage and manipulation.
virtual void actualUpdate()
Performs the actual aim point update.
DtAimPointTickable(makVrv::DtDe &de, DtAttributeHandle &state, Orientation ori=UP, ScreenScale screenScale=SCALED)
Constructor.
DtAttributeHandleType< makVrv::DtElementID > myElementIdAttr
Handle for element identifier.
Definition aimPointTickable.h:147
virtual void update(DtTime tNow) override
Updates the aim point.
ScreenScale myScreenScale
Current screen scaling option.
Definition aimPointTickable.h:126
bool myInitializedScaling
Flag indicating whether scaling has been initialized.
Definition aimPointTickable.h:135
makVrv::DtDe & myDe
Reference to the display engine.
Definition aimPointTickable.h:120
DtAttributeHandleType< makVrv::DtElementID > myReticleIdAttr
Handle for reticle element identifier.
Definition aimPointTickable.h:151
Orientation myOrientation
Current orientation option.
Definition aimPointTickable.h:129
DtAttributeHandle myPlayerAttributeStoreAttr
Reference to the attribute handle for state tracking.
Definition aimPointTickable.h:117
virtual ~DtAimPointTickable() override
Virtual destructor.
makVrv::DtSceneObjectAgent * mySceneObject
Target scene object to associate with the aim point.
Definition aimPointTickable.h:123
DtAttributeHandleType< DtTaitBryan > myWeaponOrientationAttr
Handle for weapon orientation.
Definition aimPointTickable.h:143
virtual bool needsUpdate(DtTime tNow) override
Checks if an update is needed.
ScreenScale
Screen scaling options for the aim point.
Definition aimPointTickable.h:54
@ CONSTANT
Aim point size remains constant regardless of distance.
Definition aimPointTickable.h:56
@ SCALED
Aim point size scales with distance (appears smaller at greater distances)
Definition aimPointTickable.h:55
DtAttributeHandleType< DtVector > myWeaponLocationAttr
Handle for weapon location.
Definition aimPointTickable.h:139
bool myInitModelDepth
Flag indicating whether model depth has been initialized.
Definition aimPointTickable.h:132
DtAttributeHandle & playerAttributeStore()
Accessor for the player attribute store.
virtual void setSceneObject(makVrv::DtSceneObjectAgent *obj)
Sets the target scene object.
DtTime myLastUpdatedTime
Time of the last update.
Definition aimPointTickable.h:114
Orientation
Orientation options for the aim point.
Definition aimPointTickable.h:45
@ UP
Aim point is oriented upward regardless of view direction.
Definition aimPointTickable.h:46
@ TOWARD_OBSERVER
Aim point is oriented to face the observer/camera.
Definition aimPointTickable.h:47
Handle class for safe access to attributes.
Definition attributeHandle.h:30
Type-specific handle class for attributes.
Definition attributeHandle.h:229
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
!
Definition glsVreMessageUtil.h:50
Definition appLauncherComponent.h:28
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.