15#ifndef OSGANIMATION_STATSHANDLER_H
16#define OSGANIMATION_STATSHANDLER_H
38 void setAlpha(
float v);
Definition StatsHandler:45
int _keyEventTogglesOnScreenStats
Definition StatsHandler:91
unsigned int _frameRateChildNum
Definition StatsHandler:102
double _blockMultiplier
Definition StatsHandler:104
float _statsHeight
Definition StatsHandler:107
int _keyEventPrintsOutStats
Definition StatsHandler:92
osg::Geometry * createGeometry(const osg::Vec3 &pos, float height, const osg::Vec4 &colour, unsigned int numBlocks)
float _statsWidth
Definition StatsHandler:106
int getKeyEventPrintsOutStats() const
Definition StatsHandler:61
osg::Camera * getCamera()
Definition StatsHandler:67
osg::ref_ptr< osg::Group > _group
Definition StatsHandler:100
unsigned int _numBlocks
Definition StatsHandler:103
void setKeyEventPrintsOutStats(int key)
Definition StatsHandler:60
StatsType
Definition StatsHandler:51
osg::ref_ptr< osg::Switch > _switch
Definition StatsHandler:99
void setUpHUDCamera(osgViewer::ViewerBase *viewer)
void setKeyEventTogglesOnScreenStats(int key)
Definition StatsHandler:57
virtual void getUsage(osg::ApplicationUsage &usage) const
bool _initialized
Definition StatsHandler:96
osg::Geometry * createTick(const osg::Vec3 &pos, float height, const osg::Vec4 &colour, unsigned int numTicks)
void setUpScene(osgViewer::Viewer *viewer)
osg::Geometry * createBackgroundRectangle(const osg::Vec3 &pos, const float width, const float height, osg::Vec4 &color)
osg::Node * createCameraTimeStats(const std::string &font, osg::Vec3 &pos, float startBlocks, bool acquireGPUStats, float characterSize, osg::Stats *viewerStats, osg::Camera *camera)
osg::ref_ptr< osg::Camera > _camera
Definition StatsHandler:97
const osg::Camera * getCamera() const
Definition StatsHandler:68
int _statsType
Definition StatsHandler:94
int getKeyEventTogglesOnScreenStats() const
Definition StatsHandler:58
double getBlockMultiplier() const
Definition StatsHandler:63
virtual bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
osg::Geometry * createFrameMarkers(const osg::Vec3 &pos, float height, const osg::Vec4 &colour, unsigned int numBlocks)
Definition GUIActionAdapter:62
Definition GUIEventAdapter:82
Definition GUIEventHandler:50
Definition ApplicationUsage:26
#define OSGANIMATION_EXPORT
Definition osgAnimation/Export:40