ContRap-Libraries
Public Member Functions

crp::GLText Class Reference

Class GLText represents text in the three-dimensional space. More...

#include <gltext.h>

Inheritance diagram for crp::GLText:
crp::GLPrimitive

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.

Detailed Description

Class GLText represents text in the three-dimensional space.


Constructor & Destructor Documentation

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.

Parameters:
textString of text
xX-coordinate
yY-coordinate
zZ-coordinate
crp::GLText::~GLText ( )

Destructor.


Member Function Documentation

GLPrimitiveType crp::GLText::get_type ( ) const [inline, virtual]

Type of the primitive.

Returns:
Type name of the primitive

Implements crp::GLPrimitive.

void crp::GLText::make_display_list ( int  flags) const [virtual]

Draws the point into an OpenGL display list.

Parameters:
flagsStyle flags used to filter out drawing

Implements crp::GLPrimitive.


The documentation for this class was generated from the following file: