18#include <vrfmodel/parachuteActuator.h>
64 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
81 virtual const char*
type()
const override;
88 virtual void tick()
override;
100 static DtSimComponent*
creator(
const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
101 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
138 const DtDcm& oldLocalOrientation,
const DtVector& newBodyRotationRates, DtDcm& newLocalOrientation)
override;
Parachute actuator descriptor for VREngage.
Definition vreParachuteActuatorDescriptor.h:33
DtVreParachuteActuator()
Default constructor (not implemented)
const std::string myOxygenStatePropertyName
Name of the property representing the entity's oxygen state.
Definition vreParachuteActuator.h:177
double myLastKnownFloorHeight
Last known height of the ground/floor beneath the entity.
Definition vreParachuteActuator.h:183
DtVreParachuteActuator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
virtual bool checkFallingApplicable(bool &dataAvailable) override
Determines if falling behavior should be applied.
virtual void tick() override
Updates the actuator state each simulation frame.
virtual const char * type() const override
to get access to the entity's localStateRepository, which this component will update,...
virtual void calculateOrientation(const DtDcm &oldLocalOrientation, const DtVector &newBodyRotationRates, DtDcm &newLocalOrientation) override
Calculates new orientation based on rotation rates.
DtVreParachuteActuatorDescriptor * myDescriptor
Pointer to the parachute actuator descriptor.
Definition vreParachuteActuator.h:171
virtual void useOxygen()
Simulates oxygen consumption in high-altitude conditions.
virtual bool isCargoDoorOpen(DtSimObjectReference entity) const
Checks if the cargo door on a specified entity is open.
DtVreParachuteActuator(const DtVreParachuteActuator &orig)
Copy constructor (not implemented)
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Factory method to create a new instance of this component.
const DtVreParachuteActuator & operator=(const DtVreParachuteActuator &orig)
Assignment operator (not implemented)
virtual void updateHandItem() override
Updates the entity's hand item based on parachute state.
virtual ~DtVreParachuteActuator() override
Virtual destructor.
DtVreSimComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSimComponent.h:54
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const char DtVreParachuteActuatorType[]
Type identifier for the VRE parachute actuator component.
Definition vreParachuteActuator.h:41
Base template class for VR-Engage simulation components.