Public Member Functions |
| | DtSpotReportDataInterface (makVrv::DtDe &) |
| virtual | ~DtSpotReportDataInterface () |
virtual
makVrv::DtElementEntry::ElementType | type () const |
| | Returns the type of this object. Used for dynamic casting to proper sub-class.
|
makVrv::DtStateView
< DtSpotReportState > * | spotReportStateView () const |
| | Access to the complete set of data on the spot report object is done though this method.
|
| virtual DtVector | location (Representation rep=Local) const |
| | Returns the location of the entity.
|
| virtual std::string | name () const |
| | Returns the label of the object.
|
| virtual DtTaitBryan | orientation (Representation rep=Local) const |
| | Returns the orientation of the object.
|
| virtual std::string | entityType () const |
| | Returns the type of the object.
|
| virtual DtVector | velocity (Representation rep=Local) const |
| | Returns the objects velocity.
|
| virtual DtVector | acceleration (Representation rep=Local) const |
| | Returns the objects acceleration.
|
| virtual double | heading () const |
| | Returns the objects topographic heading (in degrees)
|
| virtual void | setStateView (const makVrv::DtStateView< makVrv::DtSimState > *) |
| | Called to set the state view this data will wrap.
|
| | DtObjectDataInterface (makVrv::DtDe &) |
| virtual | ~DtObjectDataInterface () |
| makVrv::DtElementID | elementID () const |
| | Returns the element id of this object.
|
virtual
makVrv::DtSimEntryUpdater::UpdateRate | setUpdateRate (makVrv::DtSimEntryUpdater::UpdateRate) |
| | Sets the update rate for the data contained in this data interface.
|
| makVrv::DtSimEntryUpdater::UpdateRate | updateRate () const |
| | Returns the current update rate.
|
| virtual void | forceUpdate () |
| | Forces an update of the data so on the next tick the network thread will update data in the gui thread.
|
| virtual bool | isValid () const |
| | Returns true if this is a valid data interface.
|
| virtual bool | hasBeenRemoved () const |
| | Returns true if this item has been removed from the simulation.
|
| virtual bool | isVisible () const |
| | Returns true if the item is visible.
|
| virtual void | setVisible (bool) |
| | Sets the item to visible or invisible.
|
| virtual bool | isSelected () const |
| | Returns true if the item is selected.
|
| virtual void | removeFromSelection () |
| | Removes the item from the current selection.
|
| virtual void | addToSelection (bool replace=false) |
| | Adds the item to the current selection. If replace is true will replace the current selection and leave only the item.
|
Additional Inherited Members |
| enum | Representation { Local = 0,
World = 1
} |
| | Use these enums in various information methods to return data in local or world coordinates. More...
|
| template<typename T_ObjectDataInterfaceType > |
static DtBoost::shared_ptr
< T_ObjectDataInterfaceType > | cast (DtBoost::shared_ptr< DtObjectDataInterface > dataInterface) |
| | This is a convenience method for casting a DtBoost::shared_ptr to a DtObjectDataInterface to a derived class.
|
| boost::signal< void()> | signal_dataUpdated |
| | Signal sent when any of this items data has been updated.
|
| boost::signal< void()> | signal_dataRemoved |
| | Signal send when this items data has been removed.
|
The DtSpotReportDataInterface class is a wrapper around state views to give access to convenience methods which will allow developers to more easily access data about those objects.
It will also provide some basic manipulation for that object.
- See Also
- DtObjectDataInterface
- Examples
- GUI Object Data Interface example.