openscenegraph
Classes | Typedefs | Enumerations | Functions
osgText Namespace Reference

Classes

class  Bevel
 
class  FadeText
 
class  Font
 
class  Glyph
 
class  Glyph3D
 
class  GlyphGeometry
 
class  GlyphTexture
 
class  String
 
class  Style
 
class  Text
 
class  Text3D
 
class  TextBase
 
class  VectorUInt
 

Typedefs

typedef Font Font3D
 
typedef std::pair< unsigned int, unsigned int > FontResolution
 

Enumerations

enum  ShaderTechnique { NO_TEXT_SHADER = 0x0 , GREYSCALE = 0x1 , SIGNED_DISTANCE_FIELD = 0x2 , ALL_FEATURES = GREYSCALE | SIGNED_DISTANCE_FIELD }
 
enum  KerningType { KERNING_DEFAULT , KERNING_UNFITTED , KERNING_NONE }
 

Functions

OSGTEXT_EXPORT osg::ref_ptr< FontreadRefFontFile (const std::string &filename, const osgDB::Options *userOptions=0)
 
OSGTEXT_EXPORT osg::ref_ptr< FontreadRefFontStream (std::istream &stream, const osgDB::Options *userOptions=0)
 
OSGTEXT_EXPORT std::string findFontFile (const std::string &str)
 
osg::ref_ptr< FontreadRefFont3DFile (const std::string &filename, const osgDB::ReaderWriter::Options *userOptions=0)
 
osg::ref_ptr< FontreadRefFont3DStream (std::istream &stream, const osgDB::ReaderWriter::Options *userOptions=0)
 
std::string findFont3DFile (const std::string &str)
 

Detailed Description

The osgText library is a NodeKit that extends the core scene graph to support high quality text.

Typedef Documentation

◆ Font3D

◆ FontResolution

typedef std::pair< unsigned int, unsigned int > osgText::FontResolution

Enumeration Type Documentation

◆ KerningType

Enumerator
KERNING_DEFAULT 
KERNING_UNFITTED 
KERNING_NONE 

◆ ShaderTechnique

Enumerator
NO_TEXT_SHADER 
GREYSCALE 
SIGNED_DISTANCE_FIELD 
ALL_FEATURES 

Function Documentation

◆ findFont3DFile()

std::string osgText::findFont3DFile ( const std::string &  str)
inline

deprecated, use findFontFile() instead.

◆ findFontFile()

OSGTEXT_EXPORT std::string osgText::findFontFile ( const std::string &  str)
extern

◆ readRefFont3DFile()

osg::ref_ptr< Font > osgText::readRefFont3DFile ( const std::string &  filename,
const osgDB::ReaderWriter::Options userOptions = 0 
)
inline

deprecated, use readRefFontFile() instead.

◆ readRefFont3DStream()

osg::ref_ptr< Font > osgText::readRefFont3DStream ( std::istream &  stream,
const osgDB::ReaderWriter::Options userOptions = 0 
)
inline

deprecated, use readRefFontStream() instead.

◆ readRefFontFile()

OSGTEXT_EXPORT osg::ref_ptr< Font > osgText::readRefFontFile ( const std::string &  filename,
const osgDB::Options userOptions = 0 
)
extern

◆ readRefFontStream()

OSGTEXT_EXPORT osg::ref_ptr< Font > osgText::readRefFontStream ( std::istream &  stream,
const osgDB::Options userOptions = 0 
)
extern