64     inline void setFont(
const std::string& font)
    97         const std::string& str = std::string(
""),
    98         const std::string& fontName = std::string(
"sans"),
    99         const float scale = 1.0,
   101         const double text_spacing = 1.5, 
const double text_kerning = 0.1);
 double setTextKerning() const
 
TOpenGLFontStyle m_text_style
 
CText3D(const std::string &str=std::string(""), const std::string &fontName=std::string("sans"), const float scale=1.0, const mrpt::opengl::TOpenGLFontStyle text_style=mrpt::opengl::NICE, const double text_spacing=1.5, const double text_kerning=0.1)
 
void notifyChange() const
Call to enable calling renderUpdateBuffers() before the next render() rendering iteration. 
 
void setString(const std::string &s)
Sets the displayed string. 
 
void setFont(const std::string &font)
Changes the font name, among accepted values: "sans", "mono", "serif". 
 
void onUpdateBuffers_Text() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
 
const std::string & getFont() const
Returns the text font. 
 
const std::string & getString() const
Returns the currently text associated to this object. 
 
TOpenGLFontStyle
Different style for vectorized font rendering. 
 
void setTextKerning(const double text_kerning)
 
void setTextStyle(const mrpt::opengl::TOpenGLFontStyle text_style)
Change drawing style: FILL, OUTLINE, NICE. 
 
Renderizable generic renderer for objects using the "text shader". 
 
This was "renders glyphs filled with antialiased outlines", but since antialiased is not properly imp...
 
A 3D text (rendered with OpenGL primitives), with selectable font face and drawing style...
 
The namespace for 3D scene representation and rendering. 
 
double setTextSpacing() const
 
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...
 
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
 
mrpt::opengl::TOpenGLFontStyle getTextStyle() const
Gets the current drawing style. 
 
void setTextSpacing(const double text_spacing)