OpenSceneGraph  3.5.1
Public Types | Public Member Functions | Public Attributes | List of all members
osgText::Text::GlyphQuads Struct Reference

Public Types

typedef std::vector< Glyph * > Glyphs
 
typedef std::vector< unsigned int > LineNumbers
 
typedef osg::ref_ptr< osg::Vec2ArrayCoords2
 
typedef osg::ref_ptr< osg::Vec3ArrayCoords3
 
typedef osg::ref_ptr< osg::Vec2ArrayTexCoords
 
typedef osg::ref_ptr< osg::Vec4ArrayColorCoords
 

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. More...
 
void releaseGLObjects (osg::State *state=0) const
 If State is non-zero, this function releases OpenGL objects for the specified graphics context. More...
 

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

osgText::Text::GlyphQuads::GlyphQuads ( )
osgText::Text::GlyphQuads::GlyphQuads ( const GlyphQuads gq)

Member Function Documentation

Coords2& osgText::Text::GlyphQuads::getCoords ( )
inline
const Coords2& osgText::Text::GlyphQuads::getCoords ( ) const
inline
Glyphs& osgText::Text::GlyphQuads::getGlyphs ( )
inline
const Glyphs& osgText::Text::GlyphQuads::getGlyphs ( ) const
inline
LineNumbers& osgText::Text::GlyphQuads::getLineNumbers ( )
inline
const LineNumbers& osgText::Text::GlyphQuads::getLineNumbers ( ) const
inline
TexCoords& osgText::Text::GlyphQuads::getTexCoords ( )
inline
const TexCoords& osgText::Text::GlyphQuads::getTexCoords ( ) const
inline
Coords3& osgText::Text::GlyphQuads::getTransformedCoords ( unsigned int  contexID)
inline
const Coords3& osgText::Text::GlyphQuads::getTransformedCoords ( unsigned int  contexID) const
inline
void osgText::Text::GlyphQuads::initGlyphQuads ( )
void osgText::Text::GlyphQuads::initGPUBufferObjects ( )
void osgText::Text::GlyphQuads::releaseGLObjects ( osg::State state = 0) const

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.

void osgText::Text::GlyphQuads::updateQuadIndices ( )

Member Data Documentation

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

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

osg logo
Generated at Wed Nov 11 2015 22:15:13 for the OpenSceneGraph by doxygen 1.8.10.