Main MRPT website > C++ reference
MRPT logo
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 100 of file opengl_fonts.h.

#include <mrpt/opengl/opengl_fonts.h>

Inheritance diagram for mrpt::opengl::T2DTextData:
Inheritance graph
[legend]

Public Member Functions

 T2DTextData ()
 

Public Attributes

std::string text
 
double x
 
double y
 
mrpt::utils::TColorf 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")
 
double vfont_scale
 Size of characters.
 
TOpenGLFontStyle vfont_style
 (default: NICE) See TOpenGLFontStyle.
 
double vfont_spacing
 (default: 1.5) Refer to mrpt::opengl::gl_utils::glDrawText
 
double vfont_kerning
 (default: 0.1) Refer to mrpt::opengl::gl_utils::glDrawText
 

Constructor & Destructor Documentation

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

Definition at line 102 of file opengl_fonts.h.

Member Data Documentation

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

Definition at line 78 of file opengl_fonts.h.

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

Definition at line 82 of file opengl_fonts.h.

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

Definition at line 104 of file opengl_fonts.h.

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

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

Definition at line 91 of file opengl_fonts.h.

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

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

Definition at line 87 of file opengl_fonts.h.

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

Size of characters.

Definition at line 88 of file opengl_fonts.h.

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

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

Definition at line 90 of file opengl_fonts.h.

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

(default: NICE) See TOpenGLFontStyle.

Definition at line 89 of file opengl_fonts.h.

double mrpt::opengl::T2DTextData::x

Definition at line 105 of file opengl_fonts.h.

double mrpt::opengl::T2DTextData::y

Definition at line 105 of file opengl_fonts.h.




Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013