Go to the documentation of this file.
18 #ifndef GZ_RENDERING_OGRE_OGRETEXT_HH_
19 #define GZ_RENDERING_OGRE_OGRETEXT_HH_
24 #include <gz/math/AxisAlignedBox.hh>
25 #include <gz/math/Color.hh>
30 #include "gz/rendering/ogre/Export.hh"
36 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
38 class OgreMovableText;
39 class OgreTextPrivate;
52 public:
virtual void Init()
override;
55 public:
virtual void PreRender()
override;
58 public:
virtual Ogre::MovableObject *
OgreObject()
const override;
64 public:
virtual void SetMaterial(
MaterialPtr _material,
bool _unique)
68 public:
virtual void SetFontName(
const std::string &_font)
override;
71 public:
virtual void SetTextString(
const std::string &_text)
override;
74 public:
virtual void SetColor(
const gz::math::Color &_color)
78 public:
virtual void SetCharHeight(
const float _height)
override;
81 public:
virtual void SetSpaceWidth(
const float _width)
override;
84 public:
virtual void SetTextAlignment(
88 public:
virtual void SetBaseline(
const float _baseline)
override;
91 public:
virtual void SetShowOnTop(
const bool _onTop)
override;
94 public:
virtual gz::math::AxisAlignedBox AABB()
const override;
Definition: gz/rendering/ogre/OgreScene.hh:39
TextVerticalAlign
Text vertical alignment.
Definition: gz/rendering/Text.hh:49
Definition: gz/rendering/ogre/OgreObject.hh:32
Base implementation of a text geometry.
Definition: gz/rendering/base/BaseText.hh:32
Ogre implementation of text geometry.
Definition: gz/rendering/ogre/OgreText.hh:42
Represents a surface material of a Geometry.
Definition: gz/rendering/Material.hh:47
TextHorizontalAlign
Text Horizontal alignment.
Definition: gz/rendering/Text.hh:37