libmove3d  3.13.0
/home/slemaign/softs-local/BioMove3D-git/include/Graphic-pkg.h
00001 /* 
00002  *  This file includes the prototypes of the functions defined in the
00003  *  directory graphic and the files defining the structure appearing in 
00004  *  these prototypes.
00005  */
00006 
00007 #ifndef GRAPHIC_PKG_H
00008 #define GRAPHIC_PKG_H
00009 
00010 #ifdef UNIX
00011 #endif
00012 
00013 /* struct */
00014 #include "p3d_sys.h"
00015 #include "p3d_type.h"
00016 #include "p3d_matrix.h"
00017 #include "polyhedre.h"
00018 #include "p3d_poly.h"
00019 #include "p3d.h"
00020 
00021 #include "traj.h"
00022 #include "localpath.h"
00023 #include "device.h"
00024 
00025 #include "g3d_states.h"
00026 #include "g3d_window.h"
00027 
00028 #if defined( QT_LIBRARY )
00029 #include "../graphic/proto/g3d_newWindow.hpp"
00030 #include <iostream>
00031 #endif
00032 
00033 /* QT OpenGL*/
00034 extern void g3d_draw_env(int opengl_context);
00035 extern void g3d_draw_object_moved(p3d_obj *o, int coll, G3D_Window* win, int opengl_context);
00036 
00037 
00038 /* globals */
00039 
00040 extern int G3D_DRAW_TRACE;
00041 extern int G3D_DRAW_OCUR_SPECIAL;
00042 extern int boxlist;     /* liste opengl pour la boite materialisant
00043                            l'environnment */
00044 extern int p3d_numcoll; /* Variables externes pour le CC */
00045 extern std::vector<p3d_matrix4*> global_FramesToDraw;
00046 
00047 #if defined( QT_GL ) && defined( CXX_PLANNER )
00048 #include "../qtWindow/qtOpenGL/Widget.hpp"
00049 #endif
00050 
00051 /* proto */
00052 #include "../graphic/proto/graphic_proto.h"
00053 
00054 
00055 #ifdef USE_SHADERS
00056  #include "../graphic/proto/g3d_extensions_proto.h"
00057 
00059  extern GLuint G3D_PROGRAMS[100];
00060 
00062  extern unsigned int G3D_NB_PROGRAMS;
00063 
00065  extern unsigned int G3D_CURRENT_PROGRAM;
00066 #endif
00067 
00068 
00069 #endif /* #ifndef GRAPHIC_PKG_H */
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines