Namespaces | Defines | Functions | Variables

_src_hud_hud_text.cc File Reference

HUD text objects. More...

#include "base/module.hh"
#include "base/conf.hh"
#include "base/timer.hh"
#include "math/module.hh"
#include "math/types_trig.hh"
#include "math/defs_trig.hh"
#include "math/funcs.hh"
#include "math/quaternion.hh"
#include "gfx/module.hh"
#include "gfx/osg.hh"
#include "graph/module.hh"
#include "view/module.hh"
#include "view/view.hh"
#include "hud/module.hh"
#include "hud/hud_text.hh"
#include "hud/font.hh"

Namespaces

namespace  hud
 

HUD module.


Defines

#define HUD_HUD_TEXT_CC   1

Functions

INTERN const osg::Vec4f hud::HUD_TEXT_COLOR (0.8f, 1.0f, 0.8f, HUD_TEXT_COLOR_ALPHA)
INTERN const Milliseconds hud::HUD_TEXT_ANIMATION_FLIP_MILLISECONDS (2000)

Variables

INTERN const fp hud::HUD_TEXT_COLOR_ALPHA = 1.0f

Detailed Description

HUD text objects.

LastChangedDate:
2011-08-20 12:07:38 -0400 (Sat, 20 Aug 2011)
Author:
Jim E. Brooks http://www.palomino3d.org
Remarks:
  • In OSG, multiple lines of text is drawn by attaching nodes of osg::Text objects, contained in Geodes, that define different 2D positions and strings. These are abstracted by the HudText class.
  • HudText is auto-drawn by OSG since the HUD is comprised of a camera with a 2D projection matrix and osg::Text objects which define a line of text.

Define Documentation

#define HUD_HUD_TEXT_CC   1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10