libmove3d  3.13.0
/home/slemaign/softs-local/BioMove3D-git/include/move3d-gui.h
00001 #ifndef MOVE3D_H
00002 #define MOVE3D_H
00003 
00004 #ifndef PROTO
00005 
00006 //#include "glcanvas.h"
00007 #ifdef WITH_XFORMS
00008         #include "forms.h"
00009         #include "g3d_states.h"
00010         #include "g3d_window.h"
00011 #else
00012         #include "../graphic/proto/g3d_newWindow.hpp"
00013 #endif
00014 
00015 #endif
00016 
00017 /* taille fenetre graphique definie dans FORMmain.c */
00018 #define G3D_WINSIZE 600
00019 #define G3D_WINSIZE_WIDTH 800
00020 #define G3D_WINSIZE_HEIGHT 600
00021 
00022 /* la fenetre graphique move3d initialisee dans FORMmain.c*/
00023 extern G3D_Window *G3D_WIN;
00024 
00025 /* col checking actif ou non pour les visualisations , initialise dans FORMmain.c */
00026 extern int        G3D_ACTIVE_CC;
00027 
00028 /* Structure des menu forms */
00029 #define MAX_DDLS 3600      // < modif Juan
00030 #define MAX_NJNTS_IN_ROBOTFORM 300  // < modif Juan
00031 #ifdef WITH_XFORMS
00032 typedef struct {
00033   FL_FORM *ROBOT_FORM;
00034   FL_OBJECT  *GOTO_OBJ;
00035   FL_OBJECT  *POSITION_OBJ[MAX_DDLS];
00036   FL_OBJECT  *RADIUS_OBJ;
00037   FL_OBJECT  *DMAX_OBJ;
00038   FL_OBJECT  *DMAX_BUTTON_OBJ;
00039   FL_OBJECT *g3d_trajnum_obj;
00040   FL_OBJECT *g3d_trajmove_obj[4];
00041   int       g3d_trajnum;       /* number of trajectories of this robot */
00042     /*  int g3d_trajnum_npt;  */
00043   double pos_on_traj; /* current position on path */
00044   int PLANNER_CHOICE;
00045   FL_OBJECT  *BEGTRAJ_OBJ;
00046   FL_OBJECT  *ENDTRAJ_OBJ;
00047   FL_OBJECT  *ADDTRAJ_OBJ;
00048   FL_OBJECT  *SHOWTRAJ_OBJ;
00049   FL_OBJECT  *MOVIETRAJ_OBJ;
00050   FL_OBJECT  *WRITEPATH_OBJ;
00051   /* Debut Modification Thibaut */
00052   FL_OBJECT  *PRINT_CONFIGURATION_OBJ;
00053   /* Fin Modification Thibaut */
00054   /* Debut Modification Fabien */
00055   FL_OBJECT  *CONFIG_OBJ;
00056   FL_OBJECT  *NEW_CONFIG_OBJ;
00057   FL_OBJECT  *DEL_CONFIG_OBJ;
00058   FL_OBJECT  *SET_CONFIG_OBJ;
00059   /* Fin Modification Fabien */
00060   FL_OBJECT  *DISPLAY_FILTERBOX_OBJ;
00061   FL_OBJECT  *ADAPT_FILTERBOX_OBJ;
00062   FL_OBJECT  *KINE_CONSTRAINTS_OBJ;
00063   FL_OBJECT  *LOAD_PATH_OBJ;
00064   FL_OBJECT  *COMPUTE_OBJ;
00065   FL_OBJECT  *TRACK_OBJ;
00066   FL_OBJECT  *SAVE_JOINTMAP_OBJ;
00067   int        TRACK_TRAJ;
00068 } MENU_ROBOT;
00069 
00070 typedef struct {
00071         FL_FORM     *ROBOT_FORM;
00072         FL_OBJECT  *BOUNDS_OBJ[MAX_DDLS];
00073         FL_OBJECT  *CANCEL_OBJ;
00074         FL_OBJECT  *OK_OBJ;
00075 } MENU_FILTER;
00076 
00077 #define MAX_CNTRT_TP 50
00078 
00079 typedef struct {
00080         FL_FORM    *CNTRT_FORM;
00081         FL_OBJECT  *LIST_OBJ[MAX_CNTRT_TP];
00082         FL_OBJECT  *ARROWS_OBJ[MAX_CNTRT_TP];
00083         FL_OBJECT  *NEW_OBJ;
00084         FL_OBJECT  *OK_OBJ;
00085         FL_OBJECT  *RLG_OBJ;
00086 } MENU_CONSTRAINTS;
00087 
00088 typedef struct {
00089         FL_FORM    *CNTRT_SET_FORM;
00090         FL_OBJECT  *LIST_OBJ[MAX_CNTRT_TP];
00091         FL_OBJECT  *DONE_OBJ;
00092 } MENU_CONSTRAINTS_SETTING;
00093 #endif
00094 
00095 
00096 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines