osgText::Font::Glyph Class Reference

Inheritance diagram for osgText::Font::Glyph:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Glyph ()
unsigned int getGlyphCode () const
void setHorizontalBearing (const osg::Vec2 &bearing)
const osg::Vec2getHorizontalBearing () const
void setHorizontalAdvance (float advance)
float getHorizontalAdvance () const
void setVerticalBearing (const osg::Vec2 &bearing)
const osg::Vec2getVerticalBearing () const
void setVerticalAdvance (float advance)
float getVerticalAdvance () const
void setTexture (GlyphTexture *texture)
GlyphTexturegetTexture ()
const GlyphTexturegetTexture () const
void setTexturePosition (int posX, int posY)
int getTexturePositionX () const
int getTexturePositionY () const
void setMinTexCoord (const osg::Vec2 &coord)
const osg::Vec2getMinTexCoord () const
void setMaxTexCoord (const osg::Vec2 &coord)
const osg::Vec2getMaxTexCoord () const
void subload () const
void draw (osg::State &state) const

Protected Types

typedef
osg::buffered_value
< GLuint > 
GLObjectList

Protected Member Functions

virtual ~Glyph ()

Protected Attributes

Font_font
unsigned int _glyphCode
osg::Vec2 _horizontalBearing
float _horizontalAdvance
osg::Vec2 _verticalBearing
float _verticalAdvance
GlyphTexture_texture
int _texturePosX
int _texturePosY
osg::Vec2 _minTexCoord
osg::Vec2 _maxTexCoord
GLObjectList _globjList


Member Typedef Documentation

typedef osg::buffered_value<GLuint> osgText::Font::Glyph::GLObjectList [protected]


Constructor & Destructor Documentation

osgText::Font::Glyph::Glyph (  ) 

virtual osgText::Font::Glyph::~Glyph (  )  [protected, virtual]


Member Function Documentation

unsigned int osgText::Font::Glyph::getGlyphCode (  )  const

void osgText::Font::Glyph::setHorizontalBearing ( const osg::Vec2 bearing  ) 

const osg::Vec2& osgText::Font::Glyph::getHorizontalBearing (  )  const

void osgText::Font::Glyph::setHorizontalAdvance ( float  advance  ) 

float osgText::Font::Glyph::getHorizontalAdvance (  )  const

void osgText::Font::Glyph::setVerticalBearing ( const osg::Vec2 bearing  ) 

const osg::Vec2& osgText::Font::Glyph::getVerticalBearing (  )  const

void osgText::Font::Glyph::setVerticalAdvance ( float  advance  ) 

float osgText::Font::Glyph::getVerticalAdvance (  )  const

void osgText::Font::Glyph::setTexture ( GlyphTexture texture  ) 

GlyphTexture* osgText::Font::Glyph::getTexture (  ) 

const GlyphTexture* osgText::Font::Glyph::getTexture (  )  const

void osgText::Font::Glyph::setTexturePosition ( int  posX,
int  posY 
)

int osgText::Font::Glyph::getTexturePositionX (  )  const

int osgText::Font::Glyph::getTexturePositionY (  )  const

void osgText::Font::Glyph::setMinTexCoord ( const osg::Vec2 coord  ) 

const osg::Vec2& osgText::Font::Glyph::getMinTexCoord (  )  const

void osgText::Font::Glyph::setMaxTexCoord ( const osg::Vec2 coord  ) 

const osg::Vec2& osgText::Font::Glyph::getMaxTexCoord (  )  const

void osgText::Font::Glyph::subload (  )  const

void osgText::Font::Glyph::draw ( osg::State state  )  const


Member Data Documentation

Font* osgText::Font::Glyph::_font [protected]

unsigned int osgText::Font::Glyph::_glyphCode [protected]

osg::Vec2 osgText::Font::Glyph::_horizontalBearing [protected]

float osgText::Font::Glyph::_horizontalAdvance [protected]

osg::Vec2 osgText::Font::Glyph::_verticalBearing [protected]

float osgText::Font::Glyph::_verticalAdvance [protected]

GlyphTexture* osgText::Font::Glyph::_texture [protected]

int osgText::Font::Glyph::_texturePosX [protected]

int osgText::Font::Glyph::_texturePosY [protected]

osg::Vec2 osgText::Font::Glyph::_minTexCoord [protected]

osg::Vec2 osgText::Font::Glyph::_maxTexCoord [protected]

GLObjectList osgText::Font::Glyph::_globjList [mutable, protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:48 2007 for the OpenSceneGraph by doxygen 1.5.3.