CGFLib - A library for Computer Graphics @ FEUP
 All Classes Files Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
CGFaxis Class Reference

This class implements three axis to show the use of the CGFobject class. More...

#include <CGFaxis.h>

Inheritance diagram for CGFaxis:
CGFobject

Public Member Functions

 CGFaxis ()
 Base constructor. Sets up parameters and creates GLUquadric to use in rendering.
 
 ~CGFaxis ()
 Base destructor.
 
void draw ()
 Drawing function. Renders three cones of different colors, using GLUquadrics, where the colors are matched to the cone direction: Red cone = X, Green = Y, Blue = Z.
 
- Public Member Functions inherited from CGFobject
 CGFobject ()
 Base contructor.
 
virtual ~CGFobject ()
 Base destructor.
 

Protected Attributes

double radius_begin
 
double radius_end
 
double lenght
 
int nslices
 
int nstacks
 
double ball_radius
 
int ball_slices
 
int ball_stacks
 
GLUquadric * glu_quadric
 

Detailed Description

This class implements three axis to show the use of the CGFobject class.