VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtOsgFontManager Class Reference

The DtOsgFontManager caches ttf fonts for it clients. More...

Inheritance diagram for makVrv::DtOsgFontManager:
Inheritance graph
[legend]

Public Member Functions

virtual osgText::Font * getFont (const std::string &fontName)
 Create a DtOsgFontManager.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtOsgFontManagerinstance (DtDe &de)
 Get the creator.

Protected Types

typedef std::map< std::string,
osg::ref_ptr< osgText::Font > > 
FontMap

Protected Member Functions

 DtOsgFontManager (DtDe &de)

Protected Attributes

DtDemyDe
FontMap myFontMap

Detailed Description

The DtOsgFontManager caches ttf fonts for it clients.

Member Typedef Documentation

typedef std::map<std::string, osg::ref_ptr<osgText::Font> > makVrv::DtOsgFontManager::FontMap
protected

Constructor & Destructor Documentation

makVrv::DtOsgFontManager::DtOsgFontManager ( DtDe de)
protected

Member Function Documentation

static DtOsgFontManager& makVrv::DtOsgFontManager::instance ( DtDe de)
static

Get the creator.

Exceptions
DtCorruptedStateif no instance is found.
virtual osgText::Font* makVrv::DtOsgFontManager::getFont ( const std::string &  fontName)
virtual

Create a DtOsgFontManager.

Member Data Documentation

DtDe& makVrv::DtOsgFontManager::myDe
protected
FontMap makVrv::DtOsgFontManager::myFontMap
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)