#include <mrpt/math/TPoint3D.h>
#include <mrpt/opengl/TTriangle.h>
#include <mrpt/opengl/opengl_fonts.h>
#include <mrpt/poses/CPose3D.h>
#include <iostream>
#include <map>
#include <string>
#include <utility>
#include <vector>
 
Go to the source code of this file.
 | 
| using  | mrpt::opengl::internal::TEXT_STYLE = TOpenGLFontStyle | 
|   | different style for font rendering  More...
  | 
|   | 
| void  | mrpt::opengl::internal::glSetFont (const std::string &fontname) | 
|   | sets the font to use for future font rendering commands.  More...
  | 
|   | 
| const std::string &  | mrpt::opengl::internal::glGetFont () | 
|   | returns the name of the currently active font  More...
  | 
|   | 
| std::pair< double, double >  | mrpt::opengl::internal::glDrawText (const std::string &text, std::vector< mrpt::opengl::TTriangle > &tris, std::vector< mrpt::math::TPoint3Df > &lines, TEXT_STYLE style=NICE, double spacing=1.5, double kerning=0.1) | 
|   | renders a string in GL using the current settings.  More...
  | 
|   | 
| void  | mrpt::opengl::internal::glDrawTextTransformed (const std::string &text, std::vector< mrpt::opengl::TTriangle > &tris, std::vector< mrpt::math::TPoint3Df > &lines, std::vector< mrpt::img::TColor > &line_colors, const mrpt::poses::CPose3D &text_pose, float text_scale, const mrpt::img::TColor &text_color, TEXT_STYLE style=NICE, double spacing=1.5, double kerning=0.1) | 
|   | Appends to {tris,lines} the entities representing a given text including a pose and scale transformation.  More...
  | 
|   | 
| std::pair< double, double >  | mrpt::opengl::internal::glGetExtends (const std::string &text, double spacing=1.5, double kerning=0.1) | 
|   | returns the size of the bounding box of a text to be rendered, similar to glDrawText but without any visual output  More...
  | 
|   |