|
| | DtEntity2dImageFacade (DtAgentManagerInterface &sceneInterface, DtElementID id, bool distribute=false) |
| | CTOR. More...
|
| |
| | DtEntity2dImageFacade (DtAgentManagerInterface &sceneInterface, int modelSet, DtElementID id, bool distribute=false) |
| | CTOR with model set id. More...
|
| |
| virtual | ~DtEntity2dImageFacade () |
| | DTOR. More...
|
| |
|
These functions control the image display of the entity.
|
| virtual void | setIconModelDefinition (const std::string &def) |
| | Set/get the model definition for the image to use for the main icon. More...
|
| |
| virtual std::string | iconModelDefinition () const |
| |
|
| virtual void | setDestroyedIconModelDefinition (const std::string &def) |
| | Set/get the model definition for the image to use for the destroyed icon. More...
|
| |
| virtual std::string | destroyedIconModelDefinition () const |
| |
|
| virtual void | setScale (float scale) |
| | Set/get a scale factor to by used to scale the main and destroyed images. More...
|
| |
| float | scale () const |
| |
|
| virtual void | setImageSize (int sizeX, int sizeY) |
| | Set/get the image size (before scaling) to use for the main and destroyed icons. More...
|
| |
| virtual void | getImageSize (int &sizeX, int &sizeY) |
| |
| | DtEntity2dFacadeBase (DtAgentManagerInterface &sceneInterface, DtElementID id, bool distribute=false) |
| | CTOR. More...
|
| |
| | DtEntity2dFacadeBase (DtAgentManagerInterface &sceneInterface, int modelSet, DtElementID id, bool distribute=false) |
| | CTOR with model set id. More...
|
| |
| virtual | ~DtEntity2dFacadeBase () |
| | DTOR. More...
|
| |
| virtual void | setVisible (bool visible) |
| | set the entity's model hidden or visible More...
|
| |
| virtual bool | visible () const |
| | Get the visibility of the entity. More...
|
| |
| virtual DtElementID | elementID () const |
| | Get the element id for the entity facade. More...
|
| |
| virtual makVrv::DtUniqueID | uniqueId () const |
| | Returns the unique id of the scene object agent. More...
|
| |
| virtual int | modelSet () const |
| | Returns the model set being visualized. More...
|
| |
| DtSceneObjectAgent & | sceneObjectAgent () |
| | Returns the scene object agent for this facade. More...
|
| |
| virtual void | setPosition (const DtVector &position) |
| | Set the position of the entity.The change in position will be applied during the DtDe's agent update phase (which occurs during the DtDe tick after the Driver update phase). More...
|
| |
| virtual DtVector | position () const |
| | Gets the current position of the entity. More...
|
| |
| virtual void | setVelocity (const DtVector32 &velocity) |
| | Set the velocity of the entity. More...
|
| |
| virtual DtVector32 | velocity () const |
| | Gets the current velocity of the entity. More...
|
| |
| virtual void | setAcceleration (const DtVector32 &acceleration) |
| | Set the acceleration of the entity. More...
|
| |
| virtual DtVector32 | acceleration () const |
| | Gets the current acceleration of the entity. More...
|
| |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| | Set the orientation of the entity. More...
|
| |
| virtual DtTaitBryan | orientation () const |
| | Get the current orientation of the entity. More...
|
| |
| virtual void | setAngularVelocity (const DtVector32 &angularVelocity) |
| | Set the angular velocity of the entity. More...
|
| |
| virtual DtVector32 | angularVelocity () const |
| | Set the orientation of the entity. More...
|
| |
| virtual void | setDeadReckoningEnabled (bool position, bool velocity, bool orientation) |
| | Set dead reckoning algorithm, whether to dead reckon, position, velocity, and orientation. More...
|
| |
| virtual void | setSmoothingEnabled (bool enabled) |
| | Set whether the Entity smooths. More...
|
| |
| virtual void | setSmoothingPeriod (float period) |
| | Set the period for entity smoothing. More...
|
| |
| virtual void | setDamaged (bool damaged) |
| |
| bool | damaged () const |
| |
The DtEntity2dFacade is a facade around agents that make up an entity in the 2D Icon model set represented by a TrueType font symbol.