Public Member Functions |
| | DtBuoyOrBeaconFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, DtElementID id, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR.
|
| | DtBuoyOrBeaconFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR (will supply elementID)
|
| virtual | ~DtBuoyOrBeaconFacade () |
| | DTOR.
|
| virtual void | setUnlightedIconModelDefinition (const std::string &modelDef) |
| virtual std::string | unlightedIconModelDefinition () const |
| virtual void | setLightedIconModelDefinition (const std::string &modelDef) |
| virtual std::string | lightedIconModelDefinition () const |
| virtual void | set2dIconLighted (bool lighted) |
| | DtEntityFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, DtElementID id, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR.
|
| | DtEntityFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR (will supply elementID)
|
| virtual | ~DtEntityFacade () |
| | DTOR.
|
| virtual void | setVisible (bool visible) |
| | set the entity's model hidden or visible
|
| virtual bool | visible () const |
| | Get the visibility of the entity.
|
| virtual DtElementID | elementId () const |
| | Get the element id for the entity facade.
|
| const DtEntity3dFacade * | findFacadeFor3d () const |
| | Get the facade created for the 3D modelset, if requested in the modelsets list provided to the constructor.
|
| DtEntity3dFacade * | findFacadeFor3d () |
| | set the entity's model hidden or visible
|
| const DtEntity3dFacade * | findFacadeForColorized () const |
| | Get the facade created for the colorized modelset, if requested in the modelsets list provided to the constructor.
|
| DtEntity3dFacade * | findFacadeForColorized () |
| | Get the facade created for the colorized modelset, if requested in the modelsets list provided to the constructor.
|
| const DtEntity2dFacade * | findFacadeFor2d () const |
| | Get the facade created for the 2D modelset, if requested in the modelsets list provided to the constructor and if useImageFor2d is false (the default)
|
| DtEntity2dFacade * | findFacadeFor2d () |
| | Get the facade created for the 2D modelset, if requested in the modelsets list provided to the constructor and if useImageFor2d is false (the default)
|
| const DtEntity2dImageFacade * | findFacadeFor2dImage () const |
| | Get the facade created for the 2D modelset, if requested in the modelsets list provided to the constructor and if useImageFor2d is true.
|
| DtEntity2dImageFacade * | findFacadeFor2dImage () |
| | Get the facade created for the 2D modelset, if requested in the modelsets list provided to the constructor and if useImageFor2d is true.
|
| 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).
|
| virtual DtVector | position () const |
| | Gets the current position of the entity.
|
| virtual void | setVelocity (const DtVector &velocity) |
| | Set the velocity of the entity.
|
| virtual DtVector | velocity () const |
| | Gets the current velocity of the entity.
|
| virtual void | setAcceleration (const DtVector &acceleration) |
| | Set the acceleration of the entity.
|
| virtual DtVector | acceleration () const |
| | Gets the current acceleration of the entity.
|
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| | Set the orientation of the entity.
|
| virtual DtTaitBryan | orientation () const |
| | Get the current orientation of the entity.
|
| virtual void | setAngularVelocity (const DtVector &angularVelocity) |
| | Set the angular velocity of the entity.
|
| virtual DtVector | angularVelocity () const |
| | Set the orientation of the entity.
|
| virtual void | setDeadReckoningEnabled (bool position, bool velocity, bool orientation) |
| | Set dead reckoning algorithm, whether to dead reckon, position, velocity, and orientation.
|
| virtual void | setSmoothingEnabled (bool enabled) |
| | Set whether the Entity smooths.
|
| virtual void | setSmoothingPeriod (float period) |
| | Set the period for entity smoothing.
|
| virtual void | setGroundClampingMode (DtGroundClampingUpdater::GroundClampingMode mode) |
| | Set ground clamping mode using bit flags defined in DtGroundClampingUpdater::GroundClampingMode.
|
| void | setDisplayName (const std::string displayName) |
| | Set the display name for the entity.
|
| const std::string & | displayName () const |
| | Get the display name for this entity.
|
The DtEntityFacade is a facade around agents that make up an entity.
This entity facade represents a scene objects and models in the 3D, 2D, and Colorized model sets.