osgText::Font3D::Glyph3D Class Reference

Inheritance diagram for osgText::Font3D::Glyph3D:

osg::Referenced

List of all members.

Public Member Functions

 Glyph3D (unsigned int glyphCode)
unsigned int getGlyphCode () const
void setHorizontalBearing (const osg::Vec2 &bearing)
const osg::Vec2getHorizontalBearing () const
void setHorizontalAdvance (float advance)
float getHorizontalAdvance () const
void setVerticalBearing (const osg::Vec2 &bearing)
const osg::Vec2getVerticalBearing () const
void setVerticalAdvance (float advance)
float getVerticalAdvance () const
void setBoundingBox (osg::BoundingBox &bb)
const osg::BoundingBoxgetBoundingBox () const
virtual void setThreadSafeRefUnref (bool threadSafe)
osg::Geometry::PrimitiveSetListgetFrontPrimitiveSetList ()
osg::Geometry::PrimitiveSetListgetWallPrimitiveSetList ()
osg::Geometry::PrimitiveSetListgetBackPrimitiveSetList ()
void setVertexArray (osg::Vec3Array *va)
osg::Vec3ArraygetVertexArray ()
osg::Vec3ArraygetNormalArray ()
float getHorizontalWidth ()
float getHorizontalHeight ()
float getVerticalWidth ()
float getVerticalHeight ()
void setWidth (float width)
float getWidth ()
void setHeight (float height)
float getHeight ()

Protected Member Functions

virtual ~Glyph3D ()

Protected Attributes

unsigned int _glyphCode
osg::Vec2 _horizontalBearing
float _horizontalAdvance
osg::Vec2 _verticalBearing
float _verticalAdvance
osg::BoundingBox _bb
float _width
float _height
osg::ref_ptr< osg::Vec3Array_vertexArray
osg::ref_ptr< osg::Vec3Array_normalArray
osg::Geometry::PrimitiveSetList _frontPrimitiveSetList
osg::Geometry::PrimitiveSetList _wallPrimitiveSetList
osg::Geometry::PrimitiveSetList _backPrimitiveSetList


Constructor & Destructor Documentation

osgText::Font3D::Glyph3D::Glyph3D ( unsigned int  glyphCode  )  [inline]

virtual osgText::Font3D::Glyph3D::~Glyph3D (  )  [inline, protected, virtual]


Member Function Documentation

unsigned int osgText::Font3D::Glyph3D::getGlyphCode (  )  const [inline]

return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

void osgText::Font3D::Glyph3D::setHorizontalBearing ( const osg::Vec2 bearing  )  [inline]

const osg::Vec2& osgText::Font3D::Glyph3D::getHorizontalBearing (  )  const [inline]

void osgText::Font3D::Glyph3D::setHorizontalAdvance ( float  advance  )  [inline]

float osgText::Font3D::Glyph3D::getHorizontalAdvance (  )  const [inline]

void osgText::Font3D::Glyph3D::setVerticalBearing ( const osg::Vec2 bearing  )  [inline]

const osg::Vec2& osgText::Font3D::Glyph3D::getVerticalBearing (  )  const [inline]

void osgText::Font3D::Glyph3D::setVerticalAdvance ( float  advance  )  [inline]

float osgText::Font3D::Glyph3D::getVerticalAdvance (  )  const [inline]

void osgText::Font3D::Glyph3D::setBoundingBox ( osg::BoundingBox bb  )  [inline]

const osg::BoundingBox& osgText::Font3D::Glyph3D::getBoundingBox (  )  const [inline]

virtual void osgText::Font3D::Glyph3D::setThreadSafeRefUnref ( bool  threadSafe  )  [virtual]

Set whether to use a mutex to ensure ref() and unref() are thread safe.

Reimplemented from osg::Referenced.

osg::Geometry::PrimitiveSetList& osgText::Font3D::Glyph3D::getFrontPrimitiveSetList (  )  [inline]

Get the PrimitiveSetList for the front face.

osg::Geometry::PrimitiveSetList& osgText::Font3D::Glyph3D::getWallPrimitiveSetList (  )  [inline]

Get the PrimitiveSetList for the wall face.

osg::Geometry::PrimitiveSetList& osgText::Font3D::Glyph3D::getBackPrimitiveSetList (  )  [inline]

Get et the PrimitiveSetList for the back face.

void osgText::Font3D::Glyph3D::setVertexArray ( osg::Vec3Array va  )  [inline]

Set the VertexArray of the glyph.

osg::Vec3Array* osgText::Font3D::Glyph3D::getVertexArray (  )  [inline]

Get the VertexArray of the glyph.

osg::Vec3Array* osgText::Font3D::Glyph3D::getNormalArray (  )  [inline]

Get the NormalArray for the wall face.

float osgText::Font3D::Glyph3D::getHorizontalWidth (  )  [inline]

float osgText::Font3D::Glyph3D::getHorizontalHeight (  )  [inline]

float osgText::Font3D::Glyph3D::getVerticalWidth (  )  [inline]

float osgText::Font3D::Glyph3D::getVerticalHeight (  )  [inline]

void osgText::Font3D::Glyph3D::setWidth ( float  width  )  [inline]

float osgText::Font3D::Glyph3D::getWidth (  )  [inline]

void osgText::Font3D::Glyph3D::setHeight ( float  height  )  [inline]

float osgText::Font3D::Glyph3D::getHeight (  )  [inline]


Member Data Documentation

unsigned int osgText::Font3D::Glyph3D::_glyphCode [protected]


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

Generated on Wed Aug 13 17:03:41 2008 for openscenegraph by  doxygen 1.5.6