vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
vrecko
Vrecko - the Virtual Reality Engine
Dynamic Art module
L-system plant modeler - module for Vrecko
Head Up Display module
Space Partitioning - module for Vrecko
Todo List
Deprecated List
Namespaces
Classes
Files
File List
include
base
AP_base.h
Avatar.h
Display.h
hand.h
Light.h
MouseHand.h
MTMatrixTransform.h
Rotate.h
ShowFDH.h
ShowFDHModel.h
SystemInfo.h
helpers
vrecko
vreckoAP
vreckoDP
vreckoUtils
src
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Display.h
Go to the documentation of this file.
1
#ifndef DISPLAY_H
2
#define DISPLAY_H
3
4
#include <
vrecko/Ability.h
>
5
6
#include <osg/Geode>
7
#include <osgText/Text>
8
#include <osgText/Font>
9
#include <osg/BlendFunc>
10
#include <osg/Material>
11
#include <osg/StateSet>
12
13
#include <vector>
14
15
using namespace
vrecko;
16
17
namespace
base {
18
19
class
Display
:
public
Ability
{
20
public
:
21
Display
();
22
~Display
() {};
23
24
void
initialize
(
void
) {};
25
void
update(
void
);
26
27
// TODO MESSAGE_REVOLUTION - the Display ability seems to be OBSOLETE anyway
28
// std::string getAcceptableMessages(void) {return "Text";}
29
// Message *getMessage(void) {return NULL;}
30
31
protected
:
32
osgText::Text **
_display_line
;
33
std::vector<std::string>
_text_history
;
34
osg::Geode *
_text_geode
;
35
osg::Material *
_text_material
;
36
osg::StateSet *
_text_state
;
37
osgText::Font *
_texture_font
;
38
osgText::Font *
_polygon_font
;
39
int
_font_size
;
40
osg::BlendFunc *
_transp
;
41
42
float
_start_x,
_start_y
;
43
float
_line_height
;
44
int
_line_count
;
45
46
bool
_first
;
47
};
48
49
}
50
51
#endif
include
base
Display.h
Generated on Tue Feb 19 2013 10:23:40 for vrecko by
1.8.3.1