|
openscenegraph
|
Classes | |
| struct | GlyphRenderInfo |
Protected Types | |
| typedef std::vector < GlyphRenderInfo > | LineRenderInfo |
| typedef std::vector < LineRenderInfo > | TextRenderInfo |
Protected Types inherited from osg::Drawable | |
| typedef osg::buffered_value < GLuint > | GLObjectList |
Protected Member Functions | |
| virtual | ~Text3D () |
| void | renderPerGlyph (osg::State &state) const |
| void | renderPerFace (osg::State &state) const |
| String::iterator | computeLastCharacterOnLine (osg::Vec2 &cursor, String::iterator first, String::iterator last) |
| void | computeGlyphRepresentation () |
| void | computePositions (unsigned int contextID) const |
Protected Member Functions inherited from osgText::TextBase | |
| virtual | ~TextBase () |
| void | positionCursor (const osg::Vec2 &endOfLine_coords, osg::Vec2 &cursor, unsigned int linelength) |
| void | computePositions () |
| String::iterator | computeLastCharacterOnLine (osg::Vec2 &cursor, String::iterator first, String::iterator last) |
Protected Member Functions inherited from osg::Drawable | |
| Drawable & | operator= (const Drawable &) |
| virtual | ~Drawable () |
| void | setBound (const BoundingBox &bb) const |
| void | addParent (osg::Node *node) |
| void | removeParent (osg::Node *node) |
| void | setNumChildrenRequiringUpdateTraversal (unsigned int num) |
| unsigned int | getNumChildrenRequiringUpdateTraversal () const |
| void | setNumChildrenRequiringEventTraversal (unsigned int num) |
| unsigned int | getNumChildrenRequiringEventTraversal () const |
Protected Member Functions inherited from osg::Object | |
| virtual | ~Object () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Friends | |
| class | Font |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Drawable | |
| static GLuint | generateDisplayList (unsigned int contextID, unsigned int sizeHint=0) |
| static void | setMinimumNumberOfDisplayListsToRetainInCache (unsigned int minimum) |
| static unsigned int | getMinimumNumberOfDisplayListsToRetainInCache () |
| static void | deleteDisplayList (unsigned int contextID, GLuint globj, unsigned int sizeHint=0) |
| static void | flushAllDeletedDisplayLists (unsigned int contextID) |
| static void | discardAllDeletedDisplayLists (unsigned int contextID) |
| static void | flushDeletedDisplayLists (unsigned int contextID, double &availableTime) |
| static Extensions * | getExtensions (unsigned int contextID, bool createIfNotInitalized) |
| static void | setExtensions (unsigned int contextID, Extensions *extensions) |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Static Public Attributes inherited from osg::Drawable | |
| static unsigned int | s_numberDrawablesReusedLastInLastFrame |
| static unsigned int | s_numberNewDrawablesInLastFrame |
| static unsigned int | s_numberDeletedDrawablesInLastFrame |
|
protected |
|
protected |
Reder mode used to render the Text. PER_FACE : render all front face with the default StateSet all wall face with the wall StateSet all back face with the back StateSet (back face of the character, no the OpenGL back face)
PER_GLYPH : render all Charactere with the default StateSet
| Enumerator | |
|---|---|
| PER_FACE | |
| PER_GLYPH | |
| osgText::Text3D::Text3D | ( | ) |
| osgText::Text3D::Text3D | ( | const Text3D & | text, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
|
inlineprotectedvirtual |
|
virtual |
accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has.
Reimplemented from osg::Drawable.
|
virtual |
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has.
Reimplemented from osg::Drawable.
|
virtual |
Compute the bounding box around Drawables's geometry.
Reimplemented from osgText::TextBase.
|
protectedvirtual |
Implements osgText::TextBase.
|
protected |
|
protectedvirtual |
Implements osgText::TextBase.
|
virtual |
Draw the text.
Implements osg::Drawable.
|
inline |
Get the back StateSet
|
inline |
Get the back StateSet
| float osgText::Text3D::getCharacterDepth | ( | ) | const |
Get the Charactere Depth of text.
|
inline |
Get or create the back StateSet
|
inline |
Get or create the wall StateSet
|
inline |
Get the render mode used to render the text.
|
inline |
Get the wall StateSet
|
inline |
Get the wall StateSet
|
virtual |
If State is non-zero, this function releases OpenGL objects for the specified graphics context. Otherwise, releases OpenGL objexts for all graphics contexts.
Reimplemented from osgText::TextBase.
|
protected |
|
protected |
|
virtual |
Resize any per context GLObject buffers to specified size.
Reimplemented from osgText::TextBase.
|
inline |
Set the back StateSet
| void osgText::Text3D::setCharacterDepth | ( | float | characterDepth | ) |
Set the Charactere Depth of text.
|
inline |
Set the render mode used to render the text.
|
virtual |
Set whether to use a mutex to ensure ref() and unref() are thread safe.
Reimplemented from osgText::TextBase.
|
inline |
Set the wall StateSet
|
inlinevirtual |
return false, osgText::Text does not support accept(AttributeFunctor&).
Reimplemented from osg::Drawable.
|
inlinevirtual |
return true, osgText::Text does support accept(ConstAttributeFunctor&).
Reimplemented from osg::Drawable.
|
inlinevirtual |
return true, osgText::Text does support accept(PrimitiveFunctor&) .
Reimplemented from osg::Drawable.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.5