Inheritance diagram for osgText::Font::GlyphTexture:

Public Member Functions | |
| GlyphTexture () | |
| const char * | className () const |
| virtual int | compare (const osg::StateAttribute &rhs) const |
| void | setStateSet (osg::StateSet *stateset) |
| osg::StateSet * | getStateSet () |
| const osg::StateSet * | getStateSet () const |
| void | setGlyphImageMargin (unsigned int margin) |
| unsigned int | getGlyphImageMargin () const |
| bool | getSpaceForGlyph (Glyph *glyph, int &posX, int &posY) |
| void | addGlyph (Glyph *glyph, int posX, int posY) |
| virtual void | apply (osg::State &state) const |
Protected Types | |
| typedef std::vector< osg::ref_ptr< Glyph > > | GlyphRefList |
| typedef std::vector< const Glyph * > | GlyphPtrList |
| typedef osg::buffered_object< GlyphPtrList > | GlyphBuffer |
Protected Member Functions | |
| virtual | ~GlyphTexture () |
Protected Attributes | |
| osg::StateSet * | _stateset |
| int | _margin |
| int | _usedY |
| int | _partUsedX |
| int | _partUsedY |
| GlyphRefList | _glyphs |
| GlyphBuffer | _glyphsToSubload |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
Return the name of the attribute's class type. Reimplemented from osg::Texture. |
|
|
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. |
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2