![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtOsgFontManager caches ttf fonts for it clients. More...

Public Member Functions | |
| virtual osgText::Font * | getFont (const std::string &fontName) |
| Create a DtOsgFontManager. | |
Static Public Member Functions | |
| static DtOsgFontManager & | instance (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 | |
| DtDe & | myDe |
| FontMap | myFontMap |
The DtOsgFontManager caches ttf fonts for it clients.
typedef std::map<std::string, osg::ref_ptr<osgText::Font> > makVrv::DtOsgFontManager::FontMap [protected] |
| makVrv::DtOsgFontManager::DtOsgFontManager | ( | DtDe & | de | ) | [protected] |
| static DtOsgFontManager& makVrv::DtOsgFontManager::instance | ( | DtDe & | de | ) | [static] |
Get the creator.
| DtCorruptedState | if no instance is found. |
| virtual osgText::Font* makVrv::DtOsgFontManager::getFont | ( | const std::string & | fontName | ) | [virtual] |
Create a DtOsgFontManager.
DtDe& makVrv::DtOsgFontManager::myDe [protected] |
FontMap makVrv::DtOsgFontManager::myFontMap [protected] |