ContRap-Libraries
|
Class GLCSystem represents an orthogonal coordinate system in the three-dimensional space. More...
#include <glcsystem.h>
Public Member Functions | |
GLCSystem (const GLVertex &position=GLVertex(), double yaw=0.0, double pitch=0.0, double roll=0.0, double scale=1.0) | |
Constructor from the coordinates of the center point and rotation. | |
~GLCSystem () | |
Destructor. | |
void | make_display_list (int flags) const |
Draws the coordinate system into an OpenGL display list. | |
GLPrimitiveType | get_type () const |
Type of the primitive. |
Class GLCSystem represents an orthogonal coordinate system in the three-dimensional space.
crp::GLCSystem::GLCSystem | ( | const GLVertex & | position = GLVertex() , |
double | yaw = 0.0 , |
||
double | pitch = 0.0 , |
||
double | roll = 0.0 , |
||
double | scale = 1.0 |
||
) |
Constructor from the coordinates of the center point and rotation.
position | Position of the primitive. |
yaw | Yaw angle. |
pitch | Pitch angle. |
roll | Roll angle. |
scale | Scale of the primitive. |
crp::GLCSystem::~GLCSystem | ( | ) |
Destructor.
GLPrimitiveType crp::GLCSystem::get_type | ( | ) | const [inline, virtual] |
void crp::GLCSystem::make_display_list | ( | int | flags | ) | const [virtual] |
Draws the coordinate system into an OpenGL display list.
flags | Style flags used to filter out drawing. |
Implements crp::GLPrimitive.