|
| | DtCigiWakeEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType) |
| | Constructor. More...
|
| |
| virtual | ~DtCigiWakeEntity () |
| | Destructor. More...
|
| |
| virtual void | uninit () |
| | Calls down DtCigiBaseEntity::uninit() and then calls destroyModelAgents() More...
|
| |
| virtual void | setPosition (const DtGeodeticCoord &pos, bool force=false) |
| | Set the entity's geodetic position. More...
|
| |
| virtual void | setRelativePosition (const DtVector &pos) |
| | Sets the entity's relative position (if attached). More...
|
| |
| virtual void | setOrientation (const DtTaitBryan &orient, bool force=false) |
| | Set the entity's orientation. More...
|
| |
| virtual void | setRelativeOrientation (const DtTaitBryan &orient) |
| | Sets the entity's relative orientation (relative to the parent's body coordinates) if attached. More...
|
| |
| virtual void | setRelativeTo (DtCigiBaseEntity *parent) |
| | Attachment control - override base class so we can tell parent about us. More...
|
| |
| virtual void | setLinearRate (const DtVector &rate, bool useWorldCoordinates, bool force=false) |
| | Sets the entity's linear rate. More...
|
| |
| virtual void | setSprayEnabled (bool enabled) |
| | Enable or disable spray at the bow and hull of the ship. More...
|
| |
| virtual void | setWakeOffset (double offset) |
| | Set the distance from the center of the ship to the origin point of the circles use to generate the wake. More...
|
| |
| virtual void | setBowSprayOffset (double offset) |
| | Set the distance from the wake origin to where the spray appears, if enabled. More...
|
| |
| virtual void | setBowWaveOffset (double offset) |
| | Set the offset to the bow wake. More...
|
| |
| virtual void | setSternWaveOffset (double offset) |
| | Set the offset to the stern wakes. More...
|
| |
| virtual void | setShipLength (double length) |
| | Set the length of the ship. More...
|
| |
| virtual void | setBeamWidth (double width) |
| | Set the beam width (widest point) of the ship. More...
|
| |
| virtual void | setPropWashEnabled (bool b) |
| | Set whether prop wash effects are enabled. More...
|
| |
| virtual void | setPropWashOffset (double offset) |
| | Set the distance from the wake origin to where the prop wash appears, if enabled. More...
|
| |
| virtual void | setPropWashFadeTime (double fadeTime) |
| | Set the amount of time, in seconds, over which the prop wash will dissipate. More...
|
| |
| virtual void | setDraft (double draft) |
| | Set the draft, or the distance the hull extends underwater. More...
|
| |
| virtual void | setLODDistance (double distance) |
| | Set the distance beyond which wakes are disabled. More...
|
| |
| virtual void | setSprayVelocityScale (double scale) |
| | Set the velocity scaling for bow spray effects. More...
|
| |
| virtual void | setBowWaveScale (double scale) |
| | Set the scaling for bow wave effects. More...
|
| |
| virtual void | setMaxBowWaveAmplitude (double amplitude) |
| | Set the max amplitude for bow waves. More...
|
| |
| virtual void | setBowSize (double size) |
| | Set the size of the bow (0 for a pointy one.) More...
|
| |
| virtual void | setSpraySizeScale (double scale) |
| | Set the particle size scaling for bow spray effects. More...
|
| |
| virtual void | setNumHullSprays (int numSprays) |
| | Set the number of spray particle systems emitted along the hull of the ship. More...
|
| |
| virtual void | setHullSpraySizeScale (double scale) |
| | Set the initial size of hull spray particles. More...
|
| |
| virtual void | setHullSprayStart (double offset) |
| | Set the start offset of hull spray effects. More...
|
| |
| virtual void | setHullSprayEnd (double offset) |
| | Set the end offset of hull spray effects. More...
|
| |
| virtual void | setHullSprayVelocityScale (double scale) |
| | Set the initial velocity of hull spray particles as a percent of the ship velocity. More...
|
| |
| virtual void | setHullSprayVerticalOffset (double offset) |
| | Set the initial vertical position of hull spray particles. More...
|
| |
| virtual void | setVisible (bool isVisible) |
| | Set whether the entity is visible. More...
|
| |
| virtual void | setIsSinking (bool sinking) |
| | Stop the wake if the ship is sinking. More...
|
| |
| | DtCigiBaseEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType) |
| | Constructor takes a DtCigiConnection, scene interface, and the CIGI entity ID/type. More...
|
| |
| virtual | ~DtCigiBaseEntity () |
| | Destructor. More...
|
| |
| virtual DtUniqueID | uniqueId () const |
| | Returns the element ID of the entity's scene object. More...
|
| |
| virtual DtUniqueID | elementId () const |
| | Returns the element ID of the entity's scene object. More...
|
| |
| virtual int | cigiId () const |
| | Returns the CIGI Id of the CIGI entity. More...
|
| |
| virtual void | init () |
| | Create the scene object used by the entity and report the entity element and its parameters. More...
|
| |
| virtual void | restart () |
| | Calls uninit(), init(), and then restores dead reckoning, embarkation, etc. More...
|
| |
| virtual void | restartRequest () |
| | This is called to request that the entity be restarted. More...
|
| |
| virtual int | entityType () const |
| | Get the entity type the entity was created with. More...
|
| |
| virtual bool | extendedEntityTypeOn () const |
| | Get whether the entity has extended type on. More...
|
| |
| virtual void | setExtendedEntityTypeOn (bool onOff) |
| | Set whether this entity uses extended entity type. More...
|
| |
| virtual void | setExtendedEntityType (DtEntityType &entityType) |
| | TODO Are we setting extended from CIGI or DIS? TODO Test whether this sets Set the extended type. More...
|
| |
| virtual bool | isVisible () const |
| | Get the current visibility. More...
|
| |
| virtual void | setDeadReckoningOn (bool onOff) |
| | Turns dead-reckoning on/off. More...
|
| |
| virtual bool | isDeadReckoning () const |
| | Determine if the entity is ACTUALLY dead reckoning. More...
|
| |
| virtual const DtGeodeticCoord & | position () const |
| | Returns the last position set by a CIGI entity control message. More...
|
| |
| virtual const DtVector & | localPosition () const |
| | Returns the last computed local position set. More...
|
| |
| virtual const DtTaitBryan & | orientation () const |
| | Returns the last orientation set by a CIGI entity control message. More...
|
| |
| virtual const DtTaitBryan & | localOrientation () const |
| | Returns the computed last local orientation. More...
|
| |
| virtual const DtTaitBryan & | geocentricOrientation () const |
| | Get the last computed geocentric orientation. More...
|
| |
| virtual const DtVector & | linearRate () const |
| | Get the last set linear rate. More...
|
| |
| virtual void | setAngularRate (const DtVector &rate, bool useWorldCoordinates, bool force=false) |
| | Set's the entity's angular rate. More...
|
| |
| virtual const DtVector & | angularRate () const |
| | Get the last set angular rate. More...
|
| |
| virtual void | slot_deadReckoningAllowed (bool allowed) |
| | Called when IG-wide extrapolation is turned on or off. More...
|
| |
| virtual void | setAlpha (int alpha) |
| | Sets the entity's alpha value. More...
|
| |
| virtual int | alpha () const |
| | Returns the entity's alpha value. More...
|
| |
| virtual void | setInheritAlpha (bool inherit) |
| | Set whether the entity should inherit alpha from its parent. More...
|
| |
| virtual bool | isInheritingAlpha () const |
| | Determine if the entity is inheriting alpha. More...
|
| |
| virtual void | slot_alphaChanged (int alpha, DtUniqueID id) |
| | Slot so we can check if the parent's alpha has changed. More...
|
| |
| virtual void | slot_entityToBeDeleted (int cigiEntityId) |
| | Connected to the signal raised by the entity manager when an entity is removed, this is used to insure that signals connected to an embarkation parent are managed correctly if/when that parent is deleted. More...
|
| |
| virtual void | setGroundClampingOn (DtGroundClampingUpdater::GroundClampingMode clampType) |
| | Turns ground clamping on/off. More...
|
| |
virtual
DtGroundClampingUpdater::GroundClampingMode | groundClampingType () const |
| | Get the current ground clamping type. More...
|
| |
| virtual void | setArtPartTranslation (int partId, float xOffset, float yOffset, float zOffset, bool xEnable, bool yEnable, bool zEnable) |
| | Set the relative position of an articulated part. More...
|
| |
| virtual bool | getArtPartTranslation (int partId, DtVector &translation) |
| | Get the art part translation from a specified CIGI part id. More...
|
| |
| virtual void | setArtPartOrientation (int partId, float yaw, float pitch, float roll, bool yawEnable, bool pitchEnable, bool rollEnable) |
| | Set the orientation of an articulated part. More...
|
| |
| virtual bool | getArtPartOrientation (int partId, DtTaitBryan &orientation) |
| | Returns false if the part id is not found. More...
|
| |
| virtual void | setArtPartLinearRate (int partId, float xRate, float yRate, float zRate) |
| | Set the linear rate of an articulated part. More...
|
| |
| virtual bool | getArtPartLinearRate (int partId, DtVector &rate) |
| | Get the art part translation rate from a specified CIGI part id. More...
|
| |
| virtual bool | getArtPartTranslationAndRate (int partId, DtVector &translation, DtVector &rate) |
| | Get the art part translation and rate from a specified CIGI part id. More...
|
| |
| virtual void | setArtPartAngularRate (int partId, float yawRate, float pitchRate, float rollRate) |
| | Set the angular rate of an articulated part. More...
|
| |
| virtual bool | getArtPartAngularRate (int partId, DtVector &rate) |
| | Returns false if the part id is not found. More...
|
| |
| virtual bool | getArtPartOrientationAndRate (int partId, DtTaitBryan &orientation, DtVector &rate) |
| | Returns false if the part id is not found. More...
|
| |
| virtual void | setArtPartEnable (int partId, bool trueFalse) |
| | Enable/disable an articulated part. More...
|
| |
| virtual DtSceneObjectAgent * | findSceneObjectAgent () |
| |
| virtual bool | isEmbarked () const |
| | Determine if the entity is attached to a parent entity. More...
|
| |
| virtual int | embarkedParentId () const |
| | Get the CIGI ID of the entity to which we are attached. More...
|
| |
| virtual const DtVector & | relativePosition () const |
| | Returns the last relative offset position. More...
|
| |
| virtual const DtTaitBryan & | relativeOrientation () const |
| | Returns the last relative orientation. More...
|
| |
| virtual void | addCollisionSegmentID (unsigned int segmentId) |
| | Methods for adding a removing collision segment IDs that are associated with this entity. More...
|
| |
| virtual void | removeCollisionSegmentID (unsigned int segmentId) |
| |