![]() |
VR-Forces 4.0.4 Class Documentation
|
An overlay which shows the IG's performance stats. More...
Classes | |
| struct | LabelParameters |
Public Member Functions | |
| DtOsgPerformanceStatsOverlay (DtDe &de, DtOsgRenderer &renderer, const DtStatsSet &statsSet) | |
| CTOR. | |
| void | addLabel (const std::string &name, double left, double top) |
| Add a stats label with specified name and top left location. | |
| ~DtOsgPerformanceStatsOverlay () | |
| DTOR. | |
| virtual void | updateCallback () |
| Function called via update callback registered with the de. | |
Static Public Attributes | |
| static const unsigned int | overlayLayerId = 33 |
| This overlay will use layer id = 33. | |
Protected Member Functions | |
| DtWindowTextAgent * | makeLabel () |
| Create and initialize a new text label agent. | |
Private Attributes | |
| DtDe & | myDe |
| DtOsgRenderer & | myRenderer |
| const char * | myTickFormatString |
| int | myFrame |
| std::vector< LabelParameters > | myLabels |
| const DtStatsSet & | myStatsSet |
An overlay which shows the IG's performance stats.
| makVrv::DtOsgPerformanceStatsOverlay::DtOsgPerformanceStatsOverlay | ( | DtDe & | de, |
| DtOsgRenderer & | renderer, | ||
| const DtStatsSet & | statsSet | ||
| ) |
CTOR.
| void makVrv::DtOsgPerformanceStatsOverlay::addLabel | ( | const std::string & | name, |
| double | left, | ||
| double | top | ||
| ) |
Add a stats label with specified name and top left location.
| virtual void makVrv::DtOsgPerformanceStatsOverlay::updateCallback | ( | ) | [virtual] |
Function called via update callback registered with the de.
| DtWindowTextAgent* makVrv::DtOsgPerformanceStatsOverlay::makeLabel | ( | ) | [protected] |
Create and initialize a new text label agent.
const unsigned int makVrv::DtOsgPerformanceStatsOverlay::overlayLayerId = 33 [static] |
This overlay will use layer id = 33.
DtDe& makVrv::DtOsgPerformanceStatsOverlay::myDe [private] |
const char* makVrv::DtOsgPerformanceStatsOverlay::myTickFormatString [private] |
int makVrv::DtOsgPerformanceStatsOverlay::myFrame [private] |
std::vector<LabelParameters> makVrv::DtOsgPerformanceStatsOverlay::myLabels [private] |
const DtStatsSet& makVrv::DtOsgPerformanceStatsOverlay::myStatsSet [private] |