Go to the documentation of this file.
42 #ifndef OGRE_TOOLS_MOVABLE_TEXT_H
43 #define OGRE_TOOLS_MOVABLE_TEXT_H
46 #include <OgrePrerequisites.h>
47 #include <OgreMovableObject.h>
48 #include <OgreRenderable.h>
59 class MovableText :
public Ogre::MovableObject,
public Ogre::Renderable
112 const Ogre::String& fontName =
"Liberation Sans",
113 Ogre::Real charHeight = 1.0,
114 const Ogre::ColourValue& color = Ogre::ColourValue::White);
117 void visitRenderables(Ogre::Renderable::Visitor* visitor,
bool debugRenderables =
false)
override;
122 void setColor(
const Ogre::ColourValue& color);
203 #if OGRE_VERSION >= OGRE_VERSION_CHECK(1, 10, 4)
206 const Ogre::String&
getName() const override
214 static Ogre::String movType =
"MovableText";
void setTextAlignment(const HorizontalAlignment &horizontalAlignment, const VerticalAlignment &verticalAlignment)
Ogre::Real getSpaceWidth() const
void setFontName(const Ogre::String &fontName)
void getRenderOperation(Ogre::RenderOperation &op) override
const Ogre::ColourValue & getColor() const
const Ogre::String & getName() const
void setCaption(const Ogre::String &caption)
const Ogre::LightList & getLights() const override
void setCharacterHeight(Ogre::Real height)
void getWorldTransforms(Ogre::Matrix4 *xform) const override
Ogre::Vector3 mLocalTranslation
void showOnTop(bool show=true)
const Ogre::String & getMovableType() const override
MovableText(const Ogre::String &caption, const Ogre::String &fontName="Liberation Sans", Ogre::Real charHeight=1.0, const Ogre::ColourValue &color=Ogre::ColourValue::White)
Ogre::Vector3 getGlobalTranslation() const
const Ogre::Quaternion & getWorldOrientation() const
void _updateRenderQueue(Ogre::RenderQueue *queue) override
void setLineSpacing(Ogre::Real height)
Ogre::Real getSquaredViewDepth(const Ogre::Camera *) const override
Ogre::Vector3 getLocalTranslation() const
Ogre::RenderOperation mRenderOp
Ogre::RenderWindow * mpWin
Ogre::AxisAlignedBox mCamFacingAABB
const Ogre::MaterialPtr & getMaterial() const override
bool getShowOnTop() const
Ogre::Real mTimeUntilNextToggle
void setGlobalTranslation(Ogre::Vector3 trans)
void _notifyCurrentCamera(Ogre::Camera *cam) override
Ogre::Real getBoundingRadius() const override
HorizontalAlignment mHorizontalAlignment
Ogre::AxisAlignedBox mAABB
void visitRenderables(Ogre::Renderable::Visitor *visitor, bool debugRenderables=false) override
Ogre::Real getCharacterHeight() const
Ogre::AxisAlignedBox GetAABB()
const Ogre::String & getCaption() const
void setLocalTranslation(Ogre::Vector3 trans)
Ogre::MaterialPtr mpBackgroundMaterial
const Ogre::String & getFontName() const
const Ogre::AxisAlignedBox & getBoundingBox() const override
void setSpaceWidth(Ogre::Real width)
Ogre::MaterialPtr mpMaterial
void setColor(const Ogre::ColourValue &color)
VerticalAlignment mVerticalAlignment
Ogre::Vector3 mGlobalTranslation
const Ogre::Vector3 & getWorldPosition() const
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02