ContRap-Libraries
Public Member Functions

crp::GLCSystem Class Reference

Class GLCSystem represents an orthogonal coordinate system in the three-dimensional space. More...

#include <glcsystem.h>

Inheritance diagram for crp::GLCSystem:
crp::GLPrimitive

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.

Detailed Description

Class GLCSystem represents an orthogonal coordinate system in the three-dimensional space.


Constructor & Destructor Documentation

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.

Parameters:
positionPosition of the primitive.
yawYaw angle.
pitchPitch angle.
rollRoll angle.
scaleScale of the primitive.
crp::GLCSystem::~GLCSystem ( )

Destructor.


Member Function Documentation

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

Type of the primitive.

Returns:
Type name of the primitive

Implements crp::GLPrimitive.

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

Draws the coordinate system 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: