libmove3d  3.13.0
/home/slemaign/softs-local/BioMove3D-git/include/g3d_window.h
00001 #ifndef _G3D_WIN_H
00002 #define _G3D_WIN_H
00003 
00004 typedef struct g3d_win G3D_Window;
00005 
00006 struct g3d_win {
00007   char       name[256];
00008   void       *form;
00009   void       *canvas;
00010   void       *mcamera_but;
00011   void       (*fct_draw)(int);
00012   pp3d_matrix4 cam_frame;
00013   pp3d_matrix4 (*fct_mobcam)(void);
00014 
00015   G3D_Window *next;
00016 
00017   g3d_states vs; 
00018 
00020   void (*fct_draw2) ();
00021 
00023   void (*fct_key1) ();
00025   void (*fct_key2) ();
00026 
00027 // TODO: Because of the removal of hri_planner from BioMove3D (to libhri), this flag is problematic:
00028 // - libmove3d p3d_rob struct is compiled without this part
00029 // - libhri/move3d-studio use this part, resulting in structs that have different sizes.
00030 //#ifdef HRI_PLANNER_GUI
00031 //
00032   int point_of_view;                    /* Boolean for  another perspective */ 
00033   int win_perspective;                  /* Boolean to know if it is a perspective window */    
00034   g3d_window_draw_mode draw_mode;       /* Boolean to know if we'll draw only the objective or in a different color from obstacles */
00035 //#endif
00036 
00037 };
00038 
00039 // Funtion when not drawing, to be assigned to 
00040 // all function pointers that are defined outside libmove3d
00041 void dummy_void();
00042 
00043 // Function pointers 
00044 // to external drawing functionalities
00045 extern void (*ext_g3d_export_cpp_graph)();
00046 extern void (*ext_g3d_draw_cost_features)();
00047 extern void (*ext_g3d_draw_allwin_active)();
00048 extern void (*ext_g3d_draw_hri_features)();
00049 
00050 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines