#include <billboard_text.h>
Classes | |
class | MyMovableText |
Public Member Functions | |
BillboardText (const rve_common::UUID &id, Ogre::SceneManager *scene_manager) | |
void | setAlignment (const rve_msgs::TextAlignment &align) |
void | setCharacterHeight (float height) |
void | setColor (const rve_msgs::ColorRGB &color) |
void | setPosition (const rve_msgs::Vector3 &position) |
void | setText (const std::string &text) |
~BillboardText () | |
Private Attributes | |
rve_common::UUID | id_ |
MyMovableText * | movable_text_ |
Ogre::SceneManager * | scene_manager_ |
Ogre::SceneNode * | scene_node_ |
Definition at line 47 of file billboard_text.h.
rve_render_server::BillboardText::BillboardText | ( | const rve_common::UUID & | id, |
Ogre::SceneManager * | scene_manager | ||
) |
Definition at line 53 of file billboard_text.cpp.
Definition at line 75 of file billboard_text.cpp.
void rve_render_server::BillboardText::setAlignment | ( | const rve_msgs::TextAlignment & | align | ) |
Set the horizontal and vertical alignment.
Definition at line 99 of file billboard_text.cpp.
void rve_render_server::BillboardText::setCharacterHeight | ( | float | height | ) |
Set the height, in meters, of a single line of text. Similar to setting a font size.
Definition at line 93 of file billboard_text.cpp.
void rve_render_server::BillboardText::setColor | ( | const rve_msgs::ColorRGB & | color | ) |
Set the text color. Background color is not yet implemented, so background is transparent.
Definition at line 122 of file billboard_text.cpp.
void rve_render_server::BillboardText::setPosition | ( | const rve_msgs::Vector3 & | position | ) |
Set the position of the anchor point. Actual text position depends on the alignment and size.
Definition at line 86 of file billboard_text.cpp.
void rve_render_server::BillboardText::setText | ( | const std::string & | text | ) |
Set the text. Can contain newline characters, which make a multiline result.
Definition at line 81 of file billboard_text.cpp.
Definition at line 73 of file billboard_text.h.
Definition at line 75 of file billboard_text.h.
Ogre::SceneManager* rve_render_server::BillboardText::scene_manager_ [private] |
Definition at line 79 of file billboard_text.h.
Ogre::SceneNode* rve_render_server::BillboardText::scene_node_ [private] |
Definition at line 78 of file billboard_text.h.