![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtTerrainProfileDataStateView (makVrv::DtDe &de, makVrv::DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtTerrainProfileDataStateView () |
| DTOR. | |
| virtual makVrv::DtUnicode | name () const |
| The name of the object to display in the graph title bar. | |
| virtual std::vector< DtVector > | points () |
| The list of points to be used to plot for the profile line in the graph. | |
| virtual bool | setElementID (makVrv::DtUniqueID id) |
| The ID of the element to provide data for. | |
Protected Member Functions | |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &e) |
| Called when an object is about to be removed, will remove this dialog if the ID is the ID being profiled. | |
| virtual const makVrv::DtStateView< _View > * | findStateView (makVrv::DtElementID id)=0 |
| Called to find the state view. | |
| virtual void | slot_onStateViewUpdated ()=0 |
| Called when the state view is updated, signal that new data has been received. | |
| virtual void | slot_onUpdateRateChanged (makVrv::DtUniqueID id, int rate) |
| Called when the update rate has changed, make sure we at least keep the 1Hz update rate. | |
| virtual void | completeRateChange () |
Protected Attributes | |
| makVrv::DtUniqueID | myElementID |
| makVrv::DtStateView< _View > * | myStateView |
| std::vector< DtVector > | myGeocentricPoints |
| makVrf::DtTerrainProfileDataStateView< _View >::DtTerrainProfileDataStateView | ( | makVrv::DtDe & | de, |
| makVrv::DtUniqueID | id | ||
| ) |
CTOR.
| virtual makVrf::DtTerrainProfileDataStateView< _View >::~DtTerrainProfileDataStateView | ( | ) | [virtual] |
DTOR.
| virtual makVrv::DtUnicode makVrf::DtTerrainProfileDataStateView< _View >::name | ( | ) | const [virtual] |
The name of the object to display in the graph title bar.
Implements makVrf::DtTerrainProfileDataProvider.
| virtual std::vector<DtVector> makVrf::DtTerrainProfileDataStateView< _View >::points | ( | ) | [virtual] |
The list of points to be used to plot for the profile line in the graph.
Note that these points must be returned in geocentric form
Implements makVrf::DtTerrainProfileDataProvider.
| virtual bool makVrf::DtTerrainProfileDataStateView< _View >::setElementID | ( | makVrv::DtUniqueID | id | ) | [virtual] |
The ID of the element to provide data for.
If there is an existing ID will switch to the new data. Returns false if state view is not found
| virtual void makVrf::DtTerrainProfileDataStateView< _View >::slot_simObjectEntryAboutToBeRemoved | ( | makVrv::DtSimObjectEntry & | e | ) | [protected, virtual] |
Called when an object is about to be removed, will remove this dialog if the ID is the ID being profiled.
| virtual const makVrv::DtStateView<_View>* makVrf::DtTerrainProfileDataStateView< _View >::findStateView | ( | makVrv::DtElementID | id | ) | [protected, pure virtual] |
Called to find the state view.
Use the DtVrfStateViewCollectionManager to find the appropriate state view for your kind
Implemented in makVrf::DtTerrainProfileDataTrackHistory, and makVrf::DtTerrainProfileDataEnvironmentalStateView.
| virtual void makVrf::DtTerrainProfileDataStateView< _View >::slot_onStateViewUpdated | ( | ) | [protected, pure virtual] |
Called when the state view is updated, signal that new data has been received.
Fill in myGeocentricPoints with the values to return for the point for this line.
Implemented in makVrf::DtTerrainProfileDataTrackHistory, and makVrf::DtTerrainProfileDataEnvironmentalStateView.
| virtual void makVrf::DtTerrainProfileDataStateView< _View >::slot_onUpdateRateChanged | ( | makVrv::DtUniqueID | id, |
| int | rate | ||
| ) | [protected, virtual] |
Called when the update rate has changed, make sure we at least keep the 1Hz update rate.
| virtual void makVrf::DtTerrainProfileDataStateView< _View >::completeRateChange | ( | ) | [protected, virtual] |
makVrv::DtUniqueID makVrf::DtTerrainProfileDataStateView< _View >::myElementID [protected] |
makVrv::DtStateView<_View>* makVrf::DtTerrainProfileDataStateView< _View >::myStateView [protected] |
std::vector<DtVector> makVrf::DtTerrainProfileDataStateView< _View >::myGeocentricPoints [protected] |