OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
osgText::Text::GlyphQuads Struct Reference

#include <Text.h>

Collaboration diagram for osgText::Text::GlyphQuads:
Collaboration graph
[legend]

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)
 
void releaseGLObjects (osg::State *state=0) const
 

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
 

Detailed Description

Definition at line 298 of file Text.h.

Member Typedef Documentation

Definition at line 305 of file Text.h.

Definition at line 302 of file Text.h.

Definition at line 303 of file Text.h.

Definition at line 300 of file Text.h.

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

Definition at line 301 of file Text.h.

Definition at line 304 of file Text.h.

Constructor & Destructor Documentation

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

Member Function Documentation

Coords2& osgText::Text::GlyphQuads::getCoords ( )
inline

Definition at line 328 of file Text.h.

const Coords2& osgText::Text::GlyphQuads::getCoords ( ) const
inline

Definition at line 329 of file Text.h.

Glyphs& osgText::Text::GlyphQuads::getGlyphs ( )
inline

Definition at line 325 of file Text.h.

const Glyphs& osgText::Text::GlyphQuads::getGlyphs ( ) const
inline

Definition at line 326 of file Text.h.

LineNumbers& osgText::Text::GlyphQuads::getLineNumbers ( )
inline

Definition at line 337 of file Text.h.

const LineNumbers& osgText::Text::GlyphQuads::getLineNumbers ( ) const
inline

Definition at line 338 of file Text.h.

TexCoords& osgText::Text::GlyphQuads::getTexCoords ( )
inline

Definition at line 334 of file Text.h.

const TexCoords& osgText::Text::GlyphQuads::getTexCoords ( ) const
inline

Definition at line 335 of file Text.h.

Coords3& osgText::Text::GlyphQuads::getTransformedCoords ( unsigned int  contexID)
inline

Definition at line 331 of file Text.h.

const Coords3& osgText::Text::GlyphQuads::getTransformedCoords ( unsigned int  contexID) const
inline

Definition at line 332 of file Text.h.

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

Definition at line 314 of file Text.h.

Coords2 osgText::Text::GlyphQuads::_coords

Definition at line 308 of file Text.h.

Glyphs osgText::Text::GlyphQuads::_glyphs

Definition at line 307 of file Text.h.

LineNumbers osgText::Text::GlyphQuads::_lineNumbers

Definition at line 311 of file Text.h.

osg::ref_ptr<osg::DrawElementsUInt> osgText::Text::GlyphQuads::_quadIndices

Definition at line 316 of file Text.h.

TexCoords osgText::Text::GlyphQuads::_texcoords

Definition at line 310 of file Text.h.

osg::buffered_object<Coords3> osgText::Text::GlyphQuads::_transformedBackdropCoords[8]

Definition at line 313 of file Text.h.

osg::buffered_object<Coords3> osgText::Text::GlyphQuads::_transformedCoords

Definition at line 309 of file Text.h.


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