A 2D text (bitmap rendering): it always "faces the observer" despite it's at some 3D location...
static Ptr Create(Args &&... args)
std::string getFont() const
std::string getString() const
Return the current text associated to this label.
void render() const override
Render.
CText(const std::string &str=std::string(""))
Constructor.
void setFont(const std::string &s, int height)
Sets the font (It has no effect yet!)
virtual ~CText()
Private, virtual destructor: only can be deleted from smart pointers.
void getBoundingBox(mrpt::math::TPoint3D &bb_min, mrpt::math::TPoint3D &bb_max) const override
Evaluates the bounding box of this object (including possible children) in the coordinate frame of th...
void setString(const std::string &s)
Sets the text to display.