![]() |
VR-Forces 5.0.3 Developer's Guide
|
The DtEntity2dFacade is a facade around agents that make up an entity in the 2D Icon model set represented by a TrueType font symbol.

Public Member Functions | |
| DtEntity2dFacade (DtAgentManagerInterface &sceneInterface, DtElementID id, bool distribute=false) | |
| DtEntity2dFacade (DtAgentManagerInterface &sceneInterface, int modelSet, DtElementID id, bool distribute=false) | |
| virtual | ~DtEntity2dFacade () |
Icon functions | |
These functions control the icon display of the entity. | |
| virtual void | setIconModelDefinition (const std::string &modelDefinitionName) |
| virtual void | setOutlineColor (const float color[4]) |
| virtual void | setFillColor (const float color[4]) |
| virtual void | setOutlineGlyph (DtUnicodeChar glyph) |
| virtual void | setFillGlyph (DtUnicodeChar glyph) |
| virtual void | setDamageGlyph (DtUnicodeChar glyph) |
Public Member Functions inherited from makVrv::DtEntity2dFacadeBase | |
| DtEntity2dFacadeBase (DtAgentManagerInterface &sceneInterface, DtElementID id, bool distribute=false) | |
| DtEntity2dFacadeBase (DtAgentManagerInterface &sceneInterface, int modelSet, DtElementID id, bool distribute=false) | |
| virtual | ~DtEntity2dFacadeBase () |
| virtual void | setVisible (bool visible) |
| virtual bool | visible () const |
| virtual DtElementID | elementID () const |
| virtual makVrv::DtUniqueID | uniqueId () const |
| virtual int | modelSet () const |
| DtSceneObjectAgent & | sceneObjectAgent () |
| virtual void | setPosition (const DtVector &position) |
| virtual DtVector | position () const |
| virtual void | setVelocity (const DtVector32 &velocity) |
| virtual DtVector32 | velocity () const |
| virtual void | setAcceleration (const DtVector32 &acceleration) |
| virtual DtVector32 | acceleration () const |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| virtual DtTaitBryan | orientation () const |
| virtual void | setAngularVelocity (const DtVector32 &angularVelocity) |
| virtual DtVector32 | angularVelocity () const |
| virtual void | setDeadReckoningEnabled (bool position, bool velocity, bool orientation) |
| virtual void | setSmoothingEnabled (bool enabled) |
| virtual void | setSmoothingPeriod (float period) |
| virtual void | setDamaged (bool damaged) |
| bool | damaged () const |
Protected Member Functions | |
| virtual void | updateIcon () |
| virtual DtUnicode | generateSymbolString (float fillColor[4], float outlineColor[4]) const |
Protected Attributes | |
| DtProjectedWidgetModelAgent * | myProjectIconModelAgent |
| DtWidgetLabelAgent * | mySymbolLabelAgent |
| DtUnicodeChar | myOutlineGlyph |
| DtUnicodeChar | myFillGlyph |
| DtUnicodeChar | myDamageGlyph |
| DtUnicode | mySymbolString |
| float | myFillColor [4] |
| float | myOutlineColor [4] |
Protected Attributes inherited from makVrv::DtEntity2dFacadeBase | |
| DtElementID | myElementId |
| unsigned int | myModelSet |
| DtSceneObjectAgent * | mySceneObjectAgent |
| DtDeadReckonUpdaterAgent * | mySceneObjectUpdaterAgent |
| bool | myDamagedFlag |
| makVrv::DtEntity2dFacade::DtEntity2dFacade | ( | DtAgentManagerInterface & | sceneInterface, |
| DtElementID | id, | ||
| bool | distribute = false |
||
| ) |
CTOR.
| makVrv::DtEntity2dFacade::DtEntity2dFacade | ( | DtAgentManagerInterface & | sceneInterface, |
| int | modelSet, | ||
| DtElementID | id, | ||
| bool | distribute = false |
||
| ) |
CTOR with model set id.
|
virtual |
DTOR.
|
virtual |
Set the model definition for the icon.
|
virtual |
Set the model definition for the icon.
|
virtual |
Set the model definition for the icon.
|
virtual |
Set the model definition for the icon.
|
virtual |
Set the model definition for the icon.
|
virtual |
Set the model definition for the icon.
|
protectedvirtual |
Method called to update the visual element when an entity's damage state changes.
Implements makVrv::DtEntity2dFacadeBase.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |