VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgFontManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgFontManager.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtOsgFontManager_H_
14 #define DtOsgFontManager_H_
15 
16 #include <vrvOsg/vrvOsg.h>
17 
19 
20 #include <osg/ref_ptr>
21 
22 #include <string>
23 #include <map>
24 
25 namespace osgText
26 {
27  class Font;
28 }
29 
30 namespace makVrv
31 {
32  class DtDe;
33 
37  {
38 
39  public:
40 
41 
44  static DtOsgFontManager& instance(DtDe& de);
45 
47  virtual osgText::Font* getFont( const std::string& fontName );
48 
49  protected:
50 
52 
53  protected:
54  typedef std::map<std::string, osg::ref_ptr<osgText::Font> > FontMap;
55 
58 
59  };
60 }
61 
62 #endif
63 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)