OpenSceneGraph  3.4.0
Public Types | Public Member Functions | Public Attributes
osgText::Text::GlyphQuads Struct Reference

List of all members.

Public Types

typedef std::vector< Glyph * > Glyphs
typedef std::vector< unsigned int > LineNumbers
typedef osg::ref_ptr
< osg::Vec2Array > 
Coords2
typedef osg::ref_ptr
< osg::Vec3Array > 
Coords3
typedef osg::ref_ptr
< osg::Vec2Array > 
TexCoords
typedef osg::ref_ptr
< osg::Vec4Array > 
ColorCoords

Public Member Functions

void updateQuadIndices ()
 GlyphQuads ()
 GlyphQuads (const GlyphQuads &gq)
void initGlyphQuads ()
void initGPUBufferObjects ()
Glyphs & getGlyphs ()
const Glyphs & getGlyphs () const
Coords2 & getCoords ()
const Coords2 & getCoords () const
Coords3 & getTransformedCoords (unsigned int contexID)
const Coords3 & getTransformedCoords (unsigned int contexID) const
TexCoords & getTexCoords ()
const TexCoords & getTexCoords () const
LineNumbers & getLineNumbers ()
const LineNumbers & getLineNumbers () const
void resizeGLObjectBuffers (unsigned int maxSize)
 Resize any per context GLObject buffers to specified size.
void releaseGLObjects (osg::State *state=0) const
 If State is non-zero, this function releases OpenGL objects for the specified graphics context.

Public Attributes

Glyphs _glyphs
Coords2 _coords
osg::buffered_object< Coords3 > _transformedCoords
TexCoords _texcoords
LineNumbers _lineNumbers
osg::buffered_object< Coords3 > _transformedBackdropCoords [8]
ColorCoords _colorCoords
osg::ref_ptr
< osg::DrawElementsUInt > 
_quadIndices

Member Typedef Documentation

typedef std::vector<unsigned int> osgText::Text::GlyphQuads::LineNumbers

Constructor & Destructor Documentation


Member Function Documentation

const Coords2& osgText::Text::GlyphQuads::getCoords ( ) const [inline]
const Glyphs& osgText::Text::GlyphQuads::getGlyphs ( ) const [inline]
Coords3& osgText::Text::GlyphQuads::getTransformedCoords ( unsigned int  contexID) [inline]
const Coords3& osgText::Text::GlyphQuads::getTransformedCoords ( unsigned int  contexID) const [inline]

If State is non-zero, this function releases OpenGL objects for the specified graphics context.

Otherwise, releases OpenGL objexts for all graphics contexts.

void osgText::Text::GlyphQuads::resizeGLObjectBuffers ( unsigned int  maxSize)

Resize any per context GLObject buffers to specified size.


Member Data Documentation


The documentation for this struct was generated from the following file:

osg logo
Generated at Tue Dec 8 2015 00:16:50 for the OpenSceneGraph by doxygen 1.7.6.1.