![]() |
VR-Forces 4.3 Class Documentation
|
An overlay which shows the IG's performance stats. More...
Classes | |
| struct | StatData |
Public Member Functions | |
| DtOsgPerformanceStatsOverlay (DtDe &de, DtOsgRenderer &renderer) | |
| CTOR. | |
| void | addLabel (const std::string &group, const std::string &name) |
| Add a stats label with specified name and top left location. | |
| void | removeLabel (const std::string &group, const std::string &name) |
| virtual | ~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 Types | |
| typedef std::vector< StatData * > | StatList |
| typedef std::map< std::string, StatList * > | GroupMap |
Protected Member Functions | |
| void | updateGroupNodeList () |
| void | updateFrameTimes () |
| DtWindowTextAgent * | makeLine (double x, double y) |
| void | printLine (const std::string &line) |
| bool | findNodes (DtProfileNode *parent, std::string name, std::vector< DtProfileNode * > &found) |
Protected Attributes | |
| int | myCurrentLine |
| DtDe & | myDe |
| DtOsgRenderer & | myRenderer |
| GroupMap | myGroupData |
| std::vector< DtWindowTextAgent * > | myLines |
| int | myCurrentFrameIndex |
An overlay which shows the IG's performance stats.
|
protected |
|
protected |
| makVrv::DtOsgPerformanceStatsOverlay::DtOsgPerformanceStatsOverlay | ( | DtDe & | de, |
| DtOsgRenderer & | renderer | ||
| ) |
CTOR.
|
virtual |
DTOR.
| void makVrv::DtOsgPerformanceStatsOverlay::addLabel | ( | const std::string & | group, |
| const std::string & | name | ||
| ) |
Add a stats label with specified name and top left location.
| void makVrv::DtOsgPerformanceStatsOverlay::removeLabel | ( | const std::string & | group, |
| const std::string & | name | ||
| ) |
|
virtual |
Function called via update callback registered with the de.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
This overlay will use layer id = 33.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |