VR-Forces Developer's Guide
 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.

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

Public Member Functions

virtual osgText::Font * getFont (const std::string &fontName)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtOsgFontManagerinstance (DtDe &de)
 

Protected Types

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

Protected Member Functions

 DtOsgFontManager (DtDe &de)
 

Protected Attributes

DtDemyDe
 
FontMap myFontMap
 

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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)