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.
virtual void update(DtTime tNow) override
Updates the aim point.
ScreenScale myScreenScale
Current screen scaling option.
Definition aimPointTickable.h:122
bool myInitializedScaling
Flag indicating whether scaling has been initialized.
Definition aimPointTickable.h:131
makVrv::DtDe & myDe
Reference to the display engine.
Definition aimPointTickable.h:116
Orientation myOrientation
Current orientation option.
Definition aimPointTickable.h:125
virtual ~DtAimPointTickable() override
Virtual destructor.
makVrv::DtSceneObjectAgent * mySceneObject
Target scene object to associate with the aim point.
Definition aimPointTickable.h:119
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
bool myInitModelDepth
Flag indicating whether model depth has been initialized.
Definition aimPointTickable.h:128
virtual void setSceneObject(makVrv::DtSceneObjectAgent *obj)
Sets the target scene object.
DtAttributeHandle myState
Reference to the attribute handle for state tracking.
Definition aimPointTickable.h:113
DtTime myLastUpdatedTime
Time of the last update.
Definition aimPointTickable.h:110
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
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
Definition appLauncherComponent.h:28
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.