VR-Forces 4.1 Class Documentation
List of all members | Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes
makVrv::DtOsgPerformanceStatsOverlay Class Reference

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

DtDemyDe
DtOsgRenderermyRenderer
const char * myTickFormatString
int myFrame
std::vector< LabelParametersmyLabels
const DtStatsSetmyStatsSet

Detailed Description

An overlay which shows the IG's performance stats.

Constructor & Destructor Documentation

makVrv::DtOsgPerformanceStatsOverlay::DtOsgPerformanceStatsOverlay ( DtDe de,
DtOsgRenderer renderer,
const DtStatsSet statsSet 
)

CTOR.

makVrv::DtOsgPerformanceStatsOverlay::~DtOsgPerformanceStatsOverlay ( )

DTOR.

Member Function Documentation

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.

Member Data Documentation

const unsigned int makVrv::DtOsgPerformanceStatsOverlay::overlayLayerId = 33
static

This overlay will use layer id = 33.

DtDe& makVrv::DtOsgPerformanceStatsOverlay::myDe
private
DtOsgRenderer& makVrv::DtOsgPerformanceStatsOverlay::myRenderer
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

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)