Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Search  

/home/mrm/Simex/simulations/hr_bike/pv_gl.h

Go to the documentation of this file.
00001 #ifndef Pv_Gl_Included
00002 #define Pv_Gl_Included
00003 
00004 #include <GL/gl.h>
00005 #include <GL/glu.h>
00006 #include <FL/glut.H>
00007 
00008 class Pv_Gl{
00009   /*fovy for perspective*/
00010   static const double fovy=60.; /*degrees*/
00011 
00012   /*Point size*/
00013   static GLfloat point_sizes[2];
00014   static GLfloat point_step;
00015    
00016   /*Line size*/
00017   static GLfloat line_sizes[2];
00018   static GLfloat line_step;
00019 
00020   /*detail level*/
00021   static int sphere_slices;
00022   static int sphere_stacks;
00023   static int tube_slices;
00024   static int tube_stacks;
00025   static int sphere_point_size;
00026 
00027  public:
00028 
00029   /*quadrics*/
00030   static GLUquadricObj *default_quadric;
00031 
00032   static void init();
00033   static void point_size(int i);
00034   static void line_size(int i);
00035   static int width();
00036   static int height();
00037   static double real_width();
00038   static double real_height();
00039   static double get_fovy();
00040   
00041   static int get_sphere_stacks();
00042   static int get_sphere_slices();
00043   static int get_tube_stacks();
00044   static int get_tube_slices();
00045   static int get_sphere_point_size();
00046 
00047   static void set_sphere_slices(int);
00048   static void set_sphere_stacks(int);
00049   static void set_sphere_point_size(int);
00050 };
00051 
00052 
00053 #endif
00054 
00055 
00056 
00057 
00058 

Generated on Sat Jul 19 04:01:22 2003 for SIMEX by doxygen1.2.18