MRPT  2.0.3
List of all members | Public Attributes
mrpt::opengl::CTextMessageCapable::DataPerText Struct Reference

Detailed Description

Definition at line 59 of file CTextMessageCapable.h.

#include <mrpt/opengl/CTextMessageCapable.h>

Inheritance diagram for mrpt::opengl::CTextMessageCapable::DataPerText:

Public Attributes

mrpt::opengl::CText::Ptr gl_text
 
mrpt::opengl::CText::Ptr gl_text_shadow
 
bool gl_text_outdated = true
 
std::string text
 
double x {0}
 
double y {0}
 
std::string vfont_name = "mono"
 Vectorized font name ("sans","mono","serif") More...
 
float vfont_scale = 10.0f
 Size of characters [pixels]. More...
 
mrpt::img::TColorf color = {1.0f, 1.0f, 1.0f, 1.0f}
 
bool draw_shadow = false
 
mrpt::img::TColorf shadow_color = {0.0f, 0.0f, 0.0f, 1.0f}
 
TOpenGLFontStyle vfont_style = opengl::FILL
 (default: FILL) See TOpenGLFontStyle. More...
 
double vfont_spacing = 1.5
 (default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText More...
 
double vfont_kerning = 0.1
 (default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText More...
 

Member Data Documentation

◆ color

mrpt::img::TColorf mrpt::opengl::TFontParams::color = {1.0f, 1.0f, 1.0f, 1.0f}
inherited

Definition at line 46 of file opengl_fonts.h.

Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().

◆ draw_shadow

bool mrpt::opengl::TFontParams::draw_shadow = false
inherited

◆ gl_text

mrpt::opengl::CText::Ptr mrpt::opengl::CTextMessageCapable::DataPerText::gl_text
mutable

◆ gl_text_outdated

bool mrpt::opengl::CTextMessageCapable::DataPerText::gl_text_outdated = true
mutable

◆ gl_text_shadow

mrpt::opengl::CText::Ptr mrpt::opengl::CTextMessageCapable::DataPerText::gl_text_shadow
mutable

◆ shadow_color

mrpt::img::TColorf mrpt::opengl::TFontParams::shadow_color = {0.0f, 0.0f, 0.0f, 1.0f}
inherited

Definition at line 49 of file opengl_fonts.h.

Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().

◆ text

std::string mrpt::opengl::T2DTextData::text
inherited

◆ vfont_kerning

double mrpt::opengl::TFontParams::vfont_kerning = 0.1
inherited

(default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText

Definition at line 58 of file opengl_fonts.h.

◆ vfont_name

std::string mrpt::opengl::TFontParams::vfont_name = "mono"
inherited

Vectorized font name ("sans","mono","serif")

Definition at line 41 of file opengl_fonts.h.

Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().

◆ vfont_scale

float mrpt::opengl::TFontParams::vfont_scale = 10.0f
inherited

Size of characters [pixels].

Definition at line 44 of file opengl_fonts.h.

Referenced by mrpt::opengl::COpenGLViewport::renderTextMessages().

◆ vfont_spacing

double mrpt::opengl::TFontParams::vfont_spacing = 1.5
inherited

(default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText

Definition at line 55 of file opengl_fonts.h.

◆ vfont_style

TOpenGLFontStyle mrpt::opengl::TFontParams::vfont_style = opengl::FILL
inherited

(default: FILL) See TOpenGLFontStyle.

Definition at line 52 of file opengl_fonts.h.

◆ x

double mrpt::opengl::T2DTextData::x {0}
inherited

◆ y

double mrpt::opengl::T2DTextData::y {0}
inherited



Page generated by Doxygen 1.8.14 for MRPT 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020