VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsg
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
18
#include <
vrvUtil/DtVirtualBaseClass.h
>
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
36
class
DT_DLL_VRVOSG
DtOsgFontManager
:
public
DtVirtualBaseClass
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
51
DtOsgFontManager
(
DtDe
& de);
52
53
protected
:
54
typedef
std::map<std::string, osg::ref_ptr<osgText::Font> >
FontMap
;
55
56
DtDe
&
myDe
;
57
FontMap
myFontMap
;
58
59
};
60
}
61
62
#endif
63
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)