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 ()
GlyphsgetGlyphs ()
const GlyphsgetGlyphs () const
Coords2getCoords ()
const Coords2getCoords () const
Coords3getTransformedCoords (unsigned int contexID)
const Coords3getTransformedCoords (unsigned int contexID) const
TexCoordsgetTexCoords ()
const TexCoordsgetTexCoords () const
LineNumbersgetLineNumbers ()
const LineNumbersgetLineNumbers () 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:14:30 for the OpenSceneGraph by doxygen 1.7.6.1.