#include <sglTexturedTextSet.hpp>
Inheritance diagram for sglTexturedTextSet::

Public Methods | |
| sglTexturedTextSet (sglTextureFont *font) | |
| virtual | ~sglTexturedTextSet () |
| void | setString (const string &str) |
| const string& | getString () const |
| void | setFont (sglTextureFont *font) |
| sglTextureFont* | getFont () const |
| void | setColor (const sglVec4f &color) |
| void | setColor (float r, float g, float b, float a) |
| void | getColor (sglVec4f &color) const |
| void | setPosition (const sglVec3f &pos) |
| void | setPosition (float x, float y, float z) |
| const sglVec3f& | getPosition () const |
| void | setCharHeight (float height) |
| float | getHeight () const |
| float | getWidth () const |
| void | setVertical (bool on) |
| bool | getVertical () const |
| virtual void | addStats (sglStats &stats) const |
| virtual void | drawGeometry (const vector< sglTexCoords > &tex_coords) const |
| virtual sglBound::IntersectResultEnum | intersectPrim (sglIntersectf &segset) |
| virtual sglBound::IntersectResultEnum | intersectPrim (sglIntersectd &segset) |
| virtual void | printInfo (ostream &ostrm, const char *indent_string) const |
Protected Methods | |
| void | updateArrays () |
| virtual bool | computeBounds () |
Definition at line 43 of file sglTexturedTextSet.hpp.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Set the string to render.
|
|
|
Get the string to render.
Definition at line 62 of file sglTexturedTextSet.hpp. |
|
|
Set the font to use.
|
|
|
Get the font to use.
Definition at line 72 of file sglTexturedTextSet.hpp. |
|
|
Set the text color.
|
|
|
Set the text color (default is white opaque).
|
|
|
Get the text color.
|
|
|
Set the offset vector.
|
|
|
Set the offset vector.
|
|
|
Get the current offset vector.
Definition at line 107 of file sglTexturedTextSet.hpp. |
|
|
Set the height (in world space) of each character in the string.
|
|
|
Get the height of the text string in world space.
|
|
|
Gets the width of the text string in world space.
|
|
|
Controls whether the string flows left to right or top to bottom.
|
|
|
Gets the direction of text.
Definition at line 132 of file sglTexturedTextSet.hpp. |
|
|
Add this drawable's stats to the given sglStats.
Reimplemented from sglDrawable. |
|
|
default behaviour for unimplemented versions.
Reimplemented from sglDrawable. |
|
|
Output the state of this node to the specified stream. See sglObject::printInfo() for details. Reimplemented from sglDrawable. |
|
|
Compute the bounding box for this geometry and fill in the member variable, m_bbox, in this class.
Reimplemented from sglDrawable. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001