OpenCOVER
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
opencover::coHud Class Reference

#include <coHud.h>

Public Member Functions

virtual ~coHud ()
 
void show ()
 
void hide ()
 
void redraw ()
 
void hideLater (float time=-1.)
 
bool update ()
 
bool isVisible () const
 
void setText1 (const std::string &text)
 
void setText2 (const std::string &text)
 
void setText3 (const std::string &text)
 

Static Public Member Functions

static coHudinstance ()
 

Protected Attributes

bool visible
 
osg::ref_ptr< osgText::Text > line1
 
osg::ref_ptr< osgText::Text > line2
 
osg::ref_ptr< osgText::Text > line3
 
osg::ref_ptr< osg::Geode > geode
 
osg::ref_ptr< osg::Camera > camera
 
double hudTime
 
double logoTime
 
bool doHide
 

Constructor & Destructor Documentation

◆ ~coHud()

virtual opencover::coHud::~coHud ( )
virtual

Member Function Documentation

◆ hide()

void opencover::coHud::hide ( )

◆ hideLater()

void opencover::coHud::hideLater ( float  time = -1.)

◆ instance()

static coHud * opencover::coHud::instance ( )
static

◆ isVisible()

bool opencover::coHud::isVisible ( ) const

◆ redraw()

void opencover::coHud::redraw ( )

◆ setText1()

void opencover::coHud::setText1 ( const std::string &  text)

◆ setText2()

void opencover::coHud::setText2 ( const std::string &  text)

◆ setText3()

void opencover::coHud::setText3 ( const std::string &  text)

◆ show()

void opencover::coHud::show ( )

◆ update()

bool opencover::coHud::update ( )

Member Data Documentation

◆ camera

osg::ref_ptr<osg::Camera> opencover::coHud::camera
protected

◆ doHide

bool opencover::coHud::doHide
protected

◆ geode

osg::ref_ptr<osg::Geode> opencover::coHud::geode
protected

◆ hudTime

double opencover::coHud::hudTime
protected

◆ line1

osg::ref_ptr<osgText::Text> opencover::coHud::line1
protected

◆ line2

osg::ref_ptr<osgText::Text> opencover::coHud::line2
protected

◆ line3

osg::ref_ptr<osgText::Text> opencover::coHud::line3
protected

◆ logoTime

double opencover::coHud::logoTime
protected

◆ visible

bool opencover::coHud::visible
protected

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