Represents a text primitive for rendering in 3D space.
Definition text.hpp:39
~Text(void) override=default
Destroy the Text object.
void setPosition(const Point &position)
Sets the text position.
Definition text.hpp:119
const std::string & getContent(void) const
Gets the text content.
Definition text.hpp:98
float getScale(void) const
Gets the text scale.
Definition text.hpp:140
Text(void)
Default constructor - initializes empty text at origin with no rotation and unit scale.
Definition text.hpp:51
Text(const std::string &content, const Point &position)
Constructor with text content and 3D position.
Definition text.hpp:70
void setRotation(const Point &rotation)
Sets the text rotation.
Definition text.hpp:133
const Point & getRotation(void) const
Gets the text rotation.
Definition text.hpp:126
const Point & getPosition(void) const
Gets the text position.
Definition text.hpp:112
Text(const std::string &content)
Constructor with text content.
Definition text.hpp:60
void setScale(float scale)
Sets the text scale.
Definition text.hpp:147
void setContent(const std::string &content)
Sets the text content.
Definition text.hpp:105
Text(const std::string &content, const Point &position, const Point &rotation, float scale)
Constructor with text content, position, rotation, and scale for full 3D control.
Definition text.hpp:83