![]() |
VR-Link API Documentation for DIS
|
Class Description: DtAppearance is extracted from VR-Link's entity state repository class, and encapsulates all methods and data from that class pertaining to DIS / RPR appearance attributes. More...
Collaboration diagram for DtAppearance:Public Member Functions | |
| DtAppearance (const DtEntityType &entityType) | |
| Constructor. More... | |
| DtAppearance (const DtAppearance &orig) | |
| Copy Constructor. More... | |
| const DtAppearance & | operator= (const DtAppearance &orig) |
| Assignment Operator. More... | |
| virtual | ~DtAppearance () |
| Destructor. More... | |
| virtual DtAppearance * | clone () const |
| Clone. More... | |
| virtual void | setComplianceState (DtComplianceState s) |
| Set/Get lifeform compliance state. More... | |
| virtual DtComplianceState | complianceState () const |
| virtual void | setFrozen (bool onOff) |
| Set/Get whether frozen or not. More... | |
| virtual bool | frozen () const |
| virtual void | setPowerPlantOn (bool onOff) |
| Set/Get whether entity's power plant is on or not. More... | |
| virtual bool | powerPlantOn () const |
| virtual void | setDamageState (DtDamageState s) |
| Set/Get the damage state. More... | |
| virtual DtDamageState | damageState () const |
| virtual void | setEngineSmokeOn (bool onOff) |
| Set/Get whether engine smoke is on or not. More... | |
| virtual bool | engineSmokeOn () const |
| virtual void | setFlamesPresent (bool onOff) |
| Set/Get whether flames are present or not. More... | |
| virtual bool | flamesPresent () const |
| virtual void | setHatchState (DtHatchState s) |
| Set/Get the entity's hatch state. More... | |
| virtual DtHatchState | hatchState () const |
| virtual void | setImmobilized (bool onOff) |
| Set/Get whether the entity is immobilized or not. More... | |
| virtual bool | immobilized () const |
| virtual void | setLifeformState (DtLifeformState s) |
| Set/Get entity life form state. More... | |
| virtual DtLifeformState | lifeformState () const |
| virtual void | setLightState (DtLightType s, bool onOff) |
| Set/Get light state of entity. More... | |
| virtual bool | lightState (DtLightType s) const |
| virtual void | setLightState (DtLightState s) |
| Set/Get light state of entity. More... | |
| virtual DtLightState | lightState () const |
| virtual void | setDensity (DtDensityType dens) |
| Set/Get density state of entity. (Environment entities). More... | |
| virtual DtDensityType | density () const |
| virtual void | setRampDeployed (bool onOff) |
| Set/Get whether entity has ramp deployed or not. More... | |
| virtual bool | rampDeployed () const |
| virtual void | setSmokePlumePresent (bool onOff) |
| Set/Get whether a smoke plume is present or not. More... | |
| virtual bool | smokePlumePresent () const |
| virtual void | setTentDeployed (bool onOff) |
| Set/Get whether a tent is deployed or not. More... | |
| virtual bool | tentDeployed () const |
| virtual void | setTrailState (DtTrailState s) |
| Set/Get trailing effect state. More... | |
| virtual DtTrailState | trailState () const |
| virtual void | setCamouflageType (DtCamouflageType type) |
| Set/Get camouflage type. More... | |
| virtual DtCamouflageType | camouflageType () const |
| virtual void | setFirePowerDisabled (bool onOff) |
| Set/Get whether entity is fire power disabled or not. More... | |
| virtual bool | firePowerDisabled () const |
| virtual void | setIsConcealed (bool onOff) |
| Set/Get whether entity is concealed or not. More... | |
| virtual bool | isConcealed () const |
| virtual void | setAfterburnerOn (bool onOff) |
| Set/Get whether entity has after burner on or not. More... | |
| virtual bool | afterburnerOn () const |
| virtual void | setLauncherRaised (bool onOff) |
| Set/Get whether entity has launcher raised or not. More... | |
| virtual bool | launcherRaised () const |
| virtual void | setLauncherFlashPresent (bool onOff) |
| Set/Get whether launcher flash is present or not. More... | |
| virtual bool | launcherFlashPresent () const |
| virtual void | setPrimaryWeaponState (DtWeaponState s) |
| Set/Get primary weapon deployment state. More... | |
| virtual DtWeaponState | primaryWeaponState () const |
| virtual void | setSecondaryWeaponState (DtWeaponState s) |
| Set/Get secondary weapon deployment state. More... | |
| virtual DtWeaponState | secondaryWeaponState () const |
| virtual void | setAntennaRaised (bool upDown) |
| Set/Get Antenna Raised status. More... | |
| virtual bool | antennaRaised () const |
| virtual void | setMissionKill (bool yesNo) |
| Set/Get Mission Kill status. More... | |
| virtual bool | missionKill () const |
| virtual void | setInternalHeatSource (bool onOff) |
| Set/Get internal Heat Source status. More... | |
| virtual bool | internalHeatSource () const |
| virtual void | setAppearance (DtU32 app) |
| Appearance field accessors. More... | |
| virtual DtU32 | appearance () const |
| virtual void | setAppearanceAttribute (const DtAppearAttribute attr, const DtAppearAttrVal val) |
| Set/Get an appearance attribute. More... | |
| virtual DtAppearAttrVal | appearanceAttribute (const DtAppearAttribute attr) const |
| virtual const DtEntityType & | entityType () const |
| virtual void | setEntityType (const DtEntityType &entityType) |
Static Public Member Functions | |
| static const DtAppearance & | nullAppearance () |
Protected Member Functions | |
| DtAppearance () | |
| Default Constructor. Do not use. More... | |
Protected Attributes | |
| DtU32 | myAppearance |
| DtEntityType | myEntityType |
Class Description: DtAppearance is extracted from VR-Link's entity state repository class, and encapsulates all methods and data from that class pertaining to DIS / RPR appearance attributes.
|
protected |
Default Constructor. Do not use.
| DtAppearance::DtAppearance | ( | const DtEntityType & | entityType | ) |
Constructor.
If an appearance attribute is not valid for the entity type supplied, the corresponding accessor will return false.
| DtAppearance::DtAppearance | ( | const DtAppearance & | orig | ) |
Copy Constructor.
|
virtual |
Destructor.
|
virtual |
|
virtual |
|
inlinevirtual |
References myAppearance.
|
virtual |
|
virtual |
|
virtual |
Clone.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
| const DtAppearance& DtAppearance::operator= | ( | const DtAppearance & | orig | ) |
Assignment Operator.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get whether entity has after burner on or not.
|
virtual |
Set/Get Antenna Raised status.
|
inlinevirtual |
Appearance field accessors.
In general, these should not be used in HLA since appearance information may not always be represented as a bitfield. Set/Get the appearance field.
References myAppearance.
|
virtual |
Set/Get an appearance attribute.
attr is the appearance bitfield mask val is the hex number to be or'ed in
|
virtual |
Set/Get camouflage type.
|
virtual |
Set/Get lifeform compliance state.
|
virtual |
Set/Get the damage state.
|
virtual |
Set/Get density state of entity. (Environment entities).
|
virtual |
Set/Get whether engine smoke is on or not.
|
virtual |
|
virtual |
Set/Get whether entity is fire power disabled or not.
|
virtual |
Set/Get whether flames are present or not.
|
virtual |
Set/Get whether frozen or not.
|
virtual |
Set/Get the entity's hatch state.
|
virtual |
Set/Get whether the entity is immobilized or not.
|
virtual |
Set/Get internal Heat Source status.
|
virtual |
Set/Get whether entity is concealed or not.
|
virtual |
Set/Get whether launcher flash is present or not.
|
virtual |
Set/Get whether entity has launcher raised or not.
|
virtual |
Set/Get entity life form state.
|
virtual |
Set/Get light state of entity.
|
virtual |
Set/Get light state of entity.
This is for <= vrlink3.4 compatibility
|
virtual |
Set/Get Mission Kill status.
|
virtual |
Set/Get whether entity's power plant is on or not.
|
virtual |
Set/Get primary weapon deployment state.
|
virtual |
Set/Get whether entity has ramp deployed or not.
|
virtual |
Set/Get secondary weapon deployment state.
|
virtual |
Set/Get whether a smoke plume is present or not.
|
virtual |
Set/Get whether a tent is deployed or not.
|
virtual |
Set/Get trailing effect state.
|
virtual |
|
virtual |
|
virtual |
|
protected |
Referenced by appearance(), and setAppearance().
|
protected |