22#include <vrfobjcore/vrfProcessStateRepository.h>
24#include <matrix/vlVector.h>
25#include <matrix/vlTaitBryan.h>
27#include <readerWriter/rwInt.h>
28#include <readerWriter/rwReal.h>
29#include <readerWriter/rwVector.h>
38 "vre-ladder-climbing-process-state-repository-default";
48 DtOnLadderAtAccessPoint,
51 DtOffLadderAtExitPoint
70 DtReaderWriterRegistry* parentRegistry = 0);
79 DtReaderWriterRegistry* parentRegistry = 0);
99 virtual DtVrfProcessStateRepository*
clone(
const DtString& rwName = DtString::nullString(),
100 DtReaderWriterRegistry* parentRegistry = 0)
const override;
107 virtual DtString
type()
const override;
251 const DtString& rwName, DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
Helper class that represents a climbable ladder in simulations.
Definition ladder.h:35
virtual void setLadderEntryPoint(const DtVector &ladderAccessPoint)
Sets the ladder entry point.
virtual ~DtVreLadderClimbingPSR() override
Virtual destructor.
virtual DtVector ladderStandoffOffset() const
Gets the ladder standoff offset.
DtRwReal myTimeToGetOffLadder
Time to finish dismounting the ladder.
Definition vreLadderClimbingPSR.h:288
virtual void setTimeToGetOnLadder(double simTime)
Sets the simulation time when the entity will finish mounting the ladder.
virtual DtVector ladderBaseForSearch() const
Gets the ladder base position for search operations.
virtual DtLadder ladder() const
Gets the current ladder.
virtual DtLadderClimbingState ladderClimbingState() const
Gets the ladder climbing state.
virtual DtString type() const override
Gets the type identifier for this PSR.
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const override
Creates a clone of this PSR.
virtual double timeToGetOffLadder() const
Gets the simulation time when the entity will finish dismounting the ladder.
DtRwVector myLadderExitPoint
Ladder exit point.
Definition vreLadderClimbingPSR.h:276
DtVreLadderClimbingPSR(const DtVreLadderClimbingPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
Copy constructor.
virtual double terrainHeightGeodetic() const
Gets the terrain height in geodetic coordinates.
DtLadder myLadder
Current ladder being used.
Definition vreLadderClimbingPSR.h:264
virtual void setLadderClimbingState(DtLadderClimbingState state)
Sets the ladder climbing state.
DtRwVector myLadderEntryPoint
Ladder entry point.
Definition vreLadderClimbingPSR.h:270
virtual DtVector ladderExitPoint() const
Gets the ladder exit point.
static DtVrfProcessStateRepository * creator(const DtString &rwName, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Factory function to create a new instance of this PSR.
DtVreLadderClimbingPSR & operator=(const DtVreLadderClimbingPSR &orig)
Assignment operator (not implemented)
virtual void setTerrainHeightGeodetic(double altitude)
Sets the terrain height in geodetic coordinates.
virtual void setLadderBaseForSearch(const DtVector &ladderBase)
Sets the ladder base position for search operations.
DtRwReal myTimeToGetOnLadder
Time to finish mounting the ladder.
Definition vreLadderClimbingPSR.h:282
virtual void setLadderStandoffOffset(const DtVector &offset)
Sets the ladder standoff offset.
DtRwVector myLadderBaseForSearch
Ladder base for search operations.
Definition vreLadderClimbingPSR.h:312
DtVreLadderClimbingPSR(DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
Constructor with VRF object and optional name.
virtual void setLadder(const DtLadder &ladder)
Sets the current ladder.
virtual void setOrientationOnGround(const DtTaitBryan &orientation)
Sets the entity's orientation when on the ground.
virtual double timeToGetOnLadder() const
Gets the simulation time when the entity will finish mounting the ladder.
DtRwInt myLadderClimbingState
Current ladder climbing state.
Definition vreLadderClimbingPSR.h:258
virtual DtVector ladderEntryPoint() const
Gets the ladder entry point.
virtual DtTaitBryan orientationOnGround() const
Gets the entity's orientation when on the ground.
virtual void setLadderExitPoint(const DtVector &ladderAccessPoint)
Sets the ladder exit point.
DtRwVector myLadderStandoffOffset
Ladder standoff offset.
Definition vreLadderClimbingPSR.h:294
DtRwReal myTerrainHeightGeodetic
Terrain height in geodetic coordinates.
Definition vreLadderClimbingPSR.h:306
DtTaitBryan myOrientationOnGround
Entity orientation when on the ground.
Definition vreLadderClimbingPSR.h:300
virtual void setTimeToGetOffLadder(double simTime)
Sets the simulation time when the entity will finish dismounting the ladder.
Export macros for the VREngage Object Core library.
#define VREVRFOBJCORE_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
Ladder representation class for VREngage.
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const char DtVreLadderClimbingProcessStateRepositoryDefaultName[]
Default name for the ladder climbing process state repository.
Definition vreLadderClimbingPSR.h:37
const char DtVreLadderClimbingPSRType[]
Type identifier string for the ladder climbing process state repository.
Definition vreLadderClimbingPSR.h:34
enum DtLadderClimbingState { DtOffLadder=0, DtGettingOnLadder, DtOnLadderAtAccessPoint, DtOnLadder, DtGettingOffLadder, DtOffLadderAtExitPoint } DtLadderClimbingState
Enumeration of ladder climbing states.
Definition vreLadderClimbingPSR.h:45