VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)