ContRap-Libraries
|
Class GLText represents text in the three-dimensional space. More...
#include <gltext.h>
Public Member Functions | |
GLText (std::string text="", const GLVertex &position=GLVertex(), double dx=0.0, double dy=0.0, double dz=1.0) | |
Constructor from the coordinates of the point. | |
~GLText () | |
Destructor. | |
void | make_display_list (int flags) const |
Draws the point into an OpenGL display list. | |
GLPrimitiveType | get_type () const |
Type of the primitive. |
Class GLText represents text in the three-dimensional space.
crp::GLText::GLText | ( | std::string | text = "" , |
const GLVertex & | position = GLVertex() , |
||
double | dx = 0.0 , |
||
double | dy = 0.0 , |
||
double | dz = 1.0 |
||
) |
Constructor from the coordinates of the point.
text | String of text |
x | X-coordinate |
y | Y-coordinate |
z | Z-coordinate |
crp::GLText::~GLText | ( | ) |
Destructor.
GLPrimitiveType crp::GLText::get_type | ( | ) | const [inline, virtual] |
void crp::GLText::make_display_list | ( | int | flags | ) | const [virtual] |
Draws the point into an OpenGL display list.
flags | Style flags used to filter out drawing |
Implements crp::GLPrimitive.