#include <movable_text.h>
Public Types | |
enum | HorizontalAlignment { H_LEFT, H_CENTER } |
enum | VerticalAlignment { V_BELOW, V_ABOVE, V_CENTER } |
Public Member Functions | |
Ogre::AxisAlignedBox | GetAABB (void) |
const Ogre::String & | getCaption () const |
Ogre::Real | getCharacterHeight () const |
const Ogre::ColourValue & | getColor () const |
const Ogre::String & | getFontName () const |
Ogre::Vector3 | getGlobalTranslation () const |
Ogre::Vector3 | getLocalTranslation () const |
const Ogre::MaterialPtr & | getMaterial (void) const |
bool | getShowOnTop () const |
Ogre::Real | getSpaceWidth () const |
MovableText (const Ogre::String &caption, const Ogre::String &fontName="Liberation Sans", Ogre::Real charHeight=1.0, const Ogre::ColourValue &color=Ogre::ColourValue::White) | |
void | setCaption (const Ogre::String &caption) |
void | setCharacterHeight (Ogre::Real height) |
void | setColor (const Ogre::ColourValue &color) |
void | setFontName (const Ogre::String &fontName) |
void | setGlobalTranslation (Ogre::Vector3 trans) |
void | setLineSpacing (Ogre::Real height) |
void | setLocalTranslation (Ogre::Vector3 trans) |
void | setSpaceWidth (Ogre::Real width) |
void | setTextAlignment (const HorizontalAlignment &horizontalAlignment, const VerticalAlignment &verticalAlignment) |
void | showOnTop (bool show=true) |
virtual | ~MovableText () |
Protected Member Functions | |
void | _notifyCurrentCamera (Ogre::Camera *cam) |
void | _setupGeometry () |
void | _updateColors () |
void | _updateRenderQueue (Ogre::RenderQueue *queue) |
const Ogre::AxisAlignedBox & | getBoundingBox (void) const |
Ogre::Real | getBoundingRadius (void) const |
const Ogre::LightList & | getLights (void) const |
const Ogre::String & | getMovableType (void) const |
const Ogre::String & | getName (void) const |
void | getRenderOperation (Ogre::RenderOperation &op) |
Ogre::Real | getSquaredViewDepth (const Ogre::Camera *cam) const |
const Ogre::Quaternion & | getWorldOrientation (void) const |
const Ogre::Vector3 & | getWorldPosition (void) const |
void | getWorldTransforms (Ogre::Matrix4 *xform) const |
Protected Attributes | |
Ogre::AxisAlignedBox | mAABB |
Ogre::String | mCaption |
Ogre::Real | mCharHeight |
Ogre::ColourValue | mColor |
Ogre::String | mFontName |
Ogre::Vector3 | mGlobalTranslation |
HorizontalAlignment | mHorizontalAlignment |
Ogre::Real | mLineSpacing |
Ogre::LightList | mLList |
Ogre::Vector3 | mLocalTranslation |
Ogre::String | mName |
bool | mNeedUpdate |
bool | mOnTop |
Ogre::MaterialPtr | mpBackgroundMaterial |
Ogre::Camera * | mpCam |
Ogre::Font * | mpFont |
Ogre::MaterialPtr | mpMaterial |
Ogre::RenderWindow * | mpWin |
Ogre::Real | mRadius |
Ogre::RenderOperation | mRenderOp |
Ogre::Real | mSpaceWidth |
Ogre::Real | mTimeUntilNextToggle |
Ogre::String | mType |
bool | mUpdateColors |
VerticalAlignment | mVerticalAlignment |
Definition at line 62 of file movable_text.h.
Enumerator | |
---|---|
H_LEFT | |
H_CENTER |
Definition at line 66 of file movable_text.h.
Enumerator | |
---|---|
V_BELOW | |
V_ABOVE | |
V_CENTER |
Definition at line 70 of file movable_text.h.
rviz::MovableText::MovableText | ( | const Ogre::String & | caption, |
const Ogre::String & | fontName = "Liberation Sans" , |
||
Ogre::Real | charHeight = 1.0 , |
||
const Ogre::ColourValue & | color = Ogre::ColourValue::White |
||
) |
Definition at line 64 of file movable_text.cpp.
|
virtual |
Definition at line 93 of file movable_text.cpp.
|
protected |
Definition at line 604 of file movable_text.cpp.
|
protected |
Definition at line 219 of file movable_text.cpp.
|
protected |
Definition at line 531 of file movable_text.cpp.
|
protected |
Definition at line 609 of file movable_text.cpp.
|
inline |
Definition at line 168 of file movable_text.h.
|
inlineprotected |
Definition at line 202 of file movable_text.h.
|
inlineprotected |
Definition at line 190 of file movable_text.h.
|
inline |
Definition at line 139 of file movable_text.h.
|
inline |
Definition at line 148 of file movable_text.h.
|
inline |
Definition at line 143 of file movable_text.h.
|
inline |
Definition at line 135 of file movable_text.h.
|
inline |
Definition at line 156 of file movable_text.h.
|
inlineprotected |
Definition at line 224 of file movable_text.h.
|
inline |
Definition at line 160 of file movable_text.h.
|
inline |
Definition at line 173 of file movable_text.h.
|
inlineprotected |
Definition at line 212 of file movable_text.h.
|
inlineprotected |
Definition at line 207 of file movable_text.h.
|
protected |
Definition at line 592 of file movable_text.cpp.
|
inline |
Definition at line 164 of file movable_text.h.
|
inline |
Definition at line 152 of file movable_text.h.
|
inlineprotected |
Definition at line 195 of file movable_text.h.
|
protected |
Definition at line 548 of file movable_text.cpp.
|
protected |
Definition at line 561 of file movable_text.cpp.
|
protected |
Definition at line 567 of file movable_text.cpp.
void rviz::MovableText::setCaption | ( | const Ogre::String & | caption | ) |
Definition at line 137 of file movable_text.cpp.
void rviz::MovableText::setCharacterHeight | ( | Ogre::Real | height | ) |
Definition at line 155 of file movable_text.cpp.
void rviz::MovableText::setColor | ( | const Ogre::ColourValue & | color | ) |
Definition at line 146 of file movable_text.cpp.
void rviz::MovableText::setFontName | ( | const Ogre::String & | fontName | ) |
Definition at line 102 of file movable_text.cpp.
void rviz::MovableText::setGlobalTranslation | ( | Ogre::Vector3 | trans | ) |
Definition at line 198 of file movable_text.cpp.
void rviz::MovableText::setLineSpacing | ( | Ogre::Real | height | ) |
Definition at line 164 of file movable_text.cpp.
void rviz::MovableText::setLocalTranslation | ( | Ogre::Vector3 | trans | ) |
Definition at line 203 of file movable_text.cpp.
void rviz::MovableText::setSpaceWidth | ( | Ogre::Real | width | ) |
Definition at line 173 of file movable_text.cpp.
void rviz::MovableText::setTextAlignment | ( | const HorizontalAlignment & | horizontalAlignment, |
const VerticalAlignment & | verticalAlignment | ||
) |
Definition at line 182 of file movable_text.cpp.
void rviz::MovableText::showOnTop | ( | bool | show = true | ) |
Definition at line 208 of file movable_text.cpp.
|
protected |
Definition at line 85 of file movable_text.h.
|
protected |
Definition at line 79 of file movable_text.h.
|
protected |
Definition at line 88 of file movable_text.h.
|
protected |
Definition at line 83 of file movable_text.h.
|
protected |
Definition at line 76 of file movable_text.h.
|
protected |
Definition at line 99 of file movable_text.h.
|
protected |
Definition at line 80 of file movable_text.h.
|
protected |
Definition at line 89 of file movable_text.h.
|
protected |
Definition at line 86 of file movable_text.h.
|
protected |
Definition at line 100 of file movable_text.h.
|
protected |
Definition at line 78 of file movable_text.h.
|
protected |
Definition at line 92 of file movable_text.h.
|
protected |
Definition at line 94 of file movable_text.h.
|
protected |
Definition at line 106 of file movable_text.h.
|
protected |
Definition at line 102 of file movable_text.h.
|
protected |
Definition at line 104 of file movable_text.h.
|
protected |
Definition at line 105 of file movable_text.h.
|
protected |
Definition at line 103 of file movable_text.h.
|
protected |
Definition at line 97 of file movable_text.h.
|
protected |
Definition at line 84 of file movable_text.h.
|
protected |
Definition at line 90 of file movable_text.h.
|
protected |
Definition at line 96 of file movable_text.h.
|
protected |
Definition at line 77 of file movable_text.h.
|
protected |
Definition at line 93 of file movable_text.h.
|
protected |
Definition at line 81 of file movable_text.h.