00001
00002
00003
00004
00005
00006
00007
00008 #ifndef Expert_Interface_Included
00009 #define Expert_Interface_Included
00010
00011 #include "se_interface.h"
00012
00013
00014 #include "pv_scene.h"
00015 #include "FL/Fl_Button.H"
00016
00017 using namespace Se;
00018
00019 class Expert_Interface:public Se::Interface{
00020 public:
00021
00022
00023
00024
00025
00026 void define_data();
00027
00028 void order_start(bool *pause_simulation,
00029 Fl_Button *play_button,
00030 Fl_Button *step_button);
00031
00032 void order_step(Pv_Scene *my_scene,bool display);
00033
00034 void order_stop(bool *pause_simulation,
00035 Fl_Button *play_button,
00036 Fl_Button *step_button);
00037
00038 void order_reset(void (*restart_button_callback)
00039 (Fl_Widget *,void *));
00040
00041 void order_show(bool *display,Fl_Window *window,Pv_Scene *scene);
00042
00043 void order_hide(bool *display,Fl_Window *window);
00044
00045 void send_spline_x(Pv_Point_Vector *the_spline);
00046
00047 void send_spline_y(Pv_Point_Vector *the_spline);
00048
00049
00050
00051
00052 void notify_can_start(bool *pause_run_simulation,
00053 Fl_Button *play_button,
00054 Fl_Button *step_button);
00055
00056 void notify_can_stop(bool *pause_run_simulation,
00057 Fl_Button *play_button,
00058 Fl_Button *step_button);
00059
00060 void notify_can_step(Pv_Scene *my_scene, bool *display);
00061
00062 void notify_can_reset(void (*restart_button_callback)
00063 (Fl_Widget *,void *));
00064
00065 void notify_can_show(bool *display,Fl_Window *window,Pv_Scene *scene);
00066
00067 void notify_can_hide(bool *display,Fl_Window *window);
00068
00069 };
00070
00071 #endif