#include <MovableText.h>
Public Member Functions | |
| MovableText (const String &name, const String &caption, const String &fontName="TrebuchetMSBold", int charHeight=16, const ColourValue &color=ColourValue::White) | |
| virtual | ~MovableText () |
| void | setFontName (const String &fontName) |
| void | setCaption (const String &caption) |
| void | setColor (const ColourValue &color) |
| void | setCharacterHeight (uint height) |
| void | setSpaceWidth (uint width) |
| void | showOnTop (bool show) |
| const String & | getCaption () const |
| const String & | getFontName () const |
| uint | getCharacterHeight () const |
| uint | getSpaceWidth () const |
| const ColourValue & | getColor () const |
| bool | getShowOnTop () const |
Private Member Functions | |
| Vector3 | _translate3Dto2D (Camera *pCam, const Vector3 vertex) |
| void | _translate3Dto2DPixels (Camera *pCam, const Vector3 vertex, int *x, int *y) |
| void | _setupGeometry () |
| void | _updateColors () |
| void | getWorldTransforms (Matrix4 *xform) const |
| const Quaternion & | getWorldOrientation (void) const |
| const Vector3 & | getWorldPosition (void) const |
| void | _notifyCurrentCamera (Camera *cam) |
| void | _updateRenderQueue (RenderQueue *queue) |
| const AxisAlignedBox & | getBoundingBox (void) const |
| const String & | getName (void) const |
| const String & | getMovableType (void) const |
| Real | getBoundingRadius (void) const |
| Real | getSquaredViewDepth (const Camera *cam) const |
| void | getRenderOperation (RenderOperation &op) |
| const MaterialPtr & | getMaterial (void) const |
| const LightList & | getLights (void) const |
Private Attributes | |
| String | mFontName |
| String | mType |
| String | mName |
| String | mCaption |
| ColourValue | mColor |
| RenderOperation | mRenderOp |
| AxisAlignedBox | mAABB |
| LightList | mLList |
| uint | mCharHeight |
| uint | mSpaceWidth |
| bool | mNeedUpdate |
| bool | mUpdateColors |
| bool | mOnTop |
| Real | mTimeUntilNextToggle |
| Real | mRadius |
| Camera * | mpCam |
| RenderWindow * | mpWin |
| Font * | mpFont |
| MaterialPtr | mpMaterial |
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6-NO