00001 // Copyright (C) 2004 University of Louisiana at Lafayette 00002 // Authors: Suresh Golconda, Nitin, Arun Pratap 00003 00004 #ifndef CAJUN_DRAW_WAYPOINTS_H 00005 #define CAJUN_DRAW_WAYPOINTS_H 00006 00007 #include "data_queue.H" 00008 #include "cbviz_util.H" 00009 #include "conf.H" 00010 #include "component_interface.H" 00011 00012 #define MAX_CBLN_WP 20 00013 00014 namespace cajun 00015 { 00017 class draw_cbln_wp_t : public component_interface_t 00018 { 00019 public: 00020 draw_cbln_wp_t (double cbviz_origin[3], conf_t &conf, 00021 world_state_t *ws_); 00022 virtual ~draw_cbln_wp_t () {;}; 00023 void toggle_display (); 00024 void update_data (double bot_pos_[3]); 00025 void display (double bot_pos[3]); 00026 private: 00028 cbln_data_t m_cbln_wp; 00030 double m_flag_posy; 00032 bool m_display_wp_number; 00033 bool read_cbln_wp (); 00034 }; 00035 } 00036 #endif