Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Member Functions | Public Attributes
mrpt::opengl::T2DTextData Struct Reference

Detailed Description

An auxiliary struct for holding a list of text messages in some mrpt::opengl & mrpt::gui classes The font can be either a bitmapped or a vectorized font.

See Also
mrpt::opengl::CTextMessageCapable

Definition at line 86 of file opengl_fonts.h.

#include <mrpt/opengl/opengl_fonts.h>

Inheritance diagram for mrpt::opengl::T2DTextData:
Inheritance graph

Public Member Functions

 T2DTextData ()
 

Public Attributes

std::string text
 
double x
 
double y
 
mrpt::utils::TColorf color
 
bool draw_shadow
 
mrpt::utils::TColorf shadow_color
 
Bitmapped font params
mrpt::opengl::TOpenGLFont font
 
Vectorized font params - Applicable only if font==MRPT_GLUT_BITMAP_NONE
std::string vfont_name
 Vectorized font name ("sans","mono","serif") More...
 
double vfont_scale
 Size of characters. More...
 
TOpenGLFontStyle vfont_style
 (default: NICE) See TOpenGLFontStyle. More...
 
double vfont_spacing
 (default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText More...
 
double vfont_kerning
 (default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText More...
 

Constructor & Destructor Documentation

mrpt::opengl::T2DTextData::T2DTextData ( )
inline

Definition at line 88 of file opengl_fonts.h.

Member Data Documentation

mrpt::utils::TColorf mrpt::opengl::TFontParams::color
inherited

Definition at line 61 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

bool mrpt::opengl::TFontParams::draw_shadow
inherited

Definition at line 63 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

mrpt::opengl::TOpenGLFont mrpt::opengl::TFontParams::font
inherited

Definition at line 68 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

mrpt::utils::TColorf mrpt::opengl::TFontParams::shadow_color
inherited

Definition at line 64 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

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

Definition at line 90 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

double mrpt::opengl::TFontParams::vfont_kerning
inherited

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

Definition at line 77 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

std::string mrpt::opengl::TFontParams::vfont_name
inherited

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

Definition at line 73 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

double mrpt::opengl::TFontParams::vfont_scale
inherited

Size of characters.

Definition at line 74 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

double mrpt::opengl::TFontParams::vfont_spacing
inherited

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

Definition at line 76 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

TOpenGLFontStyle mrpt::opengl::TFontParams::vfont_style
inherited

(default: NICE) See TOpenGLFontStyle.

Definition at line 75 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

double mrpt::opengl::T2DTextData::x

Definition at line 91 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().

double mrpt::opengl::T2DTextData::y

Definition at line 91 of file opengl_fonts.h.

Referenced by mrpt::opengl::CTextMessageCapable::addTextMessage().




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018