14 #include <vlutil/vlMachineTypes.h>
43 const DtString& rwName = DtString::nullString(),
48 const DtString& rwName = DtString::nullString(),
59 const DtString& rwName = DtString::nullString(),
74 virtual const int humanStateRepositorySubType()
const;
81 virtual void setAssignedPosture(DtLifeformState newPosture);
82 virtual DtLifeformState assignedPosture()
const;
85 virtual void setHeadingToTurnTo(
double);
86 virtual double headingToTurnTo()
const;
89 virtual void setTurnToMode(
int);
90 virtual int turnToMode()
const;
93 virtual DtVector localEyepoint()
const;
97 virtual DtLifeformState currentPosture()
const;
98 virtual void setCurrentPosture (DtLifeformState newPosture);
101 virtual void setAssignedWeaponState(DtWeaponState newWeaponState);
102 virtual DtWeaponState assignedWeaponState()
const;
105 virtual DtWeaponState currentWeaponState()
const;
106 virtual void setCurrentWeaponState (DtWeaponState newWeaponState);
116 bool* dataAvailable = 0,
bool requireAllData =
false);
128 virtual void calculateBodyEyepointOffset(DtLifeformState posture,
129 DtVector& bodyEyepointOffset)
const;
133 virtual bool uprightPosture(DtLifeformState posture)
const;
137 virtual bool staticPosture(DtLifeformState posture)
const;
141 virtual bool movingPosture(DtLifeformState posture)
const;
158 virtual void updateBoundingVolumeBasedOnPosture();
virtual void embarkedParentDeleted()
Called when the embarked parent is deleted.
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:59
Contains the DtVrfMovingObjectStateRepository class declaration.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual bool init()
Our 'virtual' constructor. Calls all the create<>() methods.
virtual void setDestroyed(bool isDestroyed)
Destroyed status of entity (whether or not appearance()->damageState() is set to DtDamageDestroyed).
virtual bool createAppearance()
Encapsulates all the appearance related data and methods currently in the entity state repository...
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:29
Description: This repository holds all information that is common to all the forms of humans within t...
Definition: humanStateRepository.h:32
DtRwIndividualLifeFormWeaponStateType myCurrentWeaponState
Definition: humanStateRepository.h:186
virtual void initializeFromParameters()
*virtual const DtObjectType & objectType() const
DtVrfMovingObjectStateRepository & operator=(const DtVrfMovingObjectStateRepository &orig)
Assignment Operator.
The DtSimObjectStateRepository is an abstract base class (ABC) for all state repositories.
Definition: simObjectStateRepository.h:46
Definition: readerWriterRegistry.h:39
virtual const int vrfMovingObjectStateRepositorySubType() const
Returns DtVrfMovingObjectStateRepositorySubTypeBase.
Description: This repository holds all information that is common to all the forms of all entity/aggr...
Definition: vrfObjectStateRepository.h:87
virtual DtString type() const
returns DtSimObjectStateRepositoryType
DtRwIndividualLifeFormWeaponStateType myAssignedWeaponState
Definition: humanStateRepository.h:185
virtual DtSimObjectStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
Clone method.
Definition: objectType.h:27
DtRwIndividualLifeFormStateType myAssignedPosture
Definition: humanStateRepository.h:182
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void clampToGround(const DtVector &location, const DtReal heading, bool *dataAvailable=0, bool requireAllData=false)
Place entity on ground at location and heading.
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual void setConcealed(bool)
Sets weather or not this object is concealed.
DtRwIndividualLifeFormStateType myCurrentPosture
Definition: humanStateRepository.h:183
DtLifeformState myPostureUsedForBoundingVolume
Definition: humanStateRepository.h:184
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual void preGetSelf()
Hook function called immediately prior to getSelf().
Definition: simObjectStateRepository.h:137
DtHumanParameters; used to hold all of the configurable parameters for the DtIndividualLifeFormStateR...
Definition: humanParameters.h:28
DtRwInt myTurnToMode
Definition: humanStateRepository.h:188
DtRwReal myHeadingToTurnTo
Definition: humanStateRepository.h:187
virtual bool createParameters()
virtual void postGetSelf()
Hook function called immediately following getSelf().
static DtVrfObjectStateRepository * creator(const DtString &name, DtVrfObject *vrfObject, const DtObjectType &objectType, DtVrfObjectParameters *parameters, DtReaderWriterRegistry *parentRegistry)
Creator method.