00001 #ifndef CAJUN_DRAW_CAMERA_SPLINES_H 00002 #define CAJUN_DRAW_CAMERA_SPLINES_H 00003 00004 #include "data_queue.H" 00005 #include "conf.H" 00006 #include "component_interface.H" 00007 #include "cbviz_util.H" 00008 #include <vector> 00009 00010 using namespace std; 00011 00012 namespace cajun 00013 { 00015 static vector<double> camera_eye_spline_vertices; 00017 static vector<double> camera_lookat_spline_vertices; 00018 00020 class draw_camera_splines_t : public component_interface_t 00021 { 00022 public: 00023 draw_camera_splines_t (conf_t &conf); 00024 virtual ~draw_camera_splines_t (); 00025 void update_data (double bot_pos_[3]); 00026 void display (double bot_pos[3]); 00027 void toggle_display (); 00028 void init_data (); 00029 static void add_eye (double x, double y, double z); 00030 static void add_lookat (double x, double y, double z); 00031 }; 00032 } 00033 #endif