|
| | DtBuoyOrBeaconFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, DtElementID id, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR. More...
|
| |
| | DtBuoyOrBeaconFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR (will supply elementID) More...
|
| |
| virtual | ~DtBuoyOrBeaconFacade () |
| | DTOR. More...
|
| |
| 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) |
| |
| virtual void | setTextureAtlasIndex (const std::string &file) |
| | Set which file is used for this buoy or beacon to look for texture uv offsets. More...
|
| |
| virtual const std::string & | textureAtlasIndex () const |
| | Retrieve the file containing texture UV offsets for attachable items. More...
|
| |
| virtual void | setTextureAtlasKey (DtBuoyBeaconLayer::AttachableTypes type, const std::string &key) |
| | Set the key in the texture atlas for each attachable type that might be attached to the buoy or beacon. More...
|
| |
| virtual const std::string & | textureAtlasKey (DtBuoyBeaconLayer::AttachableTypes type) const |
| | Get the key in the texture atlas for each attachable type. More...
|
| |
| virtual void | setTextureAtlasIndexParser (DtTextureAtlasIndexParser *parser) |
| | Atlas file parsing should be done by the same object, keep the parser around to look for values later for daymarks and topmarks. More...
|
| |
| virtual DtTextureAtlasIndexParser * | textureAtlasIndexParser () |
| | Which parser was used during the set up of this object (ex. More...
|
| |
|
| virtual void | setDesignator (const std::string &designator) |
| | Set/Get the designator string for this buoy or beacon In some cases the designator is displayed on an attachable part (like the daymark) so keep track of it here so it can be set if such an item is attached. More...
|
| |
| virtual const std::string & | designator () const |
| |
|
| virtual void | setDesignatorTextureAtlasIndex (const std::string &filename) |
| | Set/Get the texture atlas index file for designators. More...
|
| |
| virtual const std::string & | designatorTextureAtlasIndex () const |
| |
| | DtEntityFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, DtElementID id, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR. More...
|
| |
| | DtEntityFacade (DtAgentManagerInterface &sceneInterface, DtSharedSettingsManager &settingsManager, const DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute=false, bool useImageFor2d=false) |
| | CTOR (will supply elementID) More...
|
| |
| virtual | ~DtEntityFacade () |
| | 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...
|
| |
| const DtEntity3dFacade * | findFacadeFor3d () const |
| | Get the facade created for the 3D modelset, if requested in the modelsets list provided to the constructor. More...
|
| |
| DtEntity3dFacade * | findFacadeFor3d () |
| |
| const DtEntity3dFacade * | findFacadeForColorized () const |
| | Get the facade created for the colorized modelset, if requested in the modelsets list provided to the constructor. More...
|
| |
| DtEntity3dFacade * | findFacadeForColorized () |
| |
| 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) More...
|
| |
| DtEntity2dFacade * | findFacadeFor2d () |
| |
| 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. More...
|
| |
| DtEntity2dImageFacade * | findFacadeFor2dImage () |
| |
| 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 | setGroundClampingMode (DtGroundClampingUpdater::GroundClampingMode mode) |
| | Set ground clamping mode using bit flags defined in DtGroundClampingUpdater::GroundClampingMode. More...
|
| |
| void | setDisplayName (const std::string &displayName) |
| | Set the display name for the entity. More...
|
| |
| const std::string & | displayName () const |
| | Get the display name for this entity. More...
|
| |
| virtual void | setLightpointMaxDistance (float distance) |
| | Lightpoint range control. More...
|
| |
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.