#include <draw_rndf_lane.H>
Public Member Functions | |
draw_rndf_lane_t (double cbviz_origin[3], conf_t &conf, world_state_t *ws_, rndf_t const *rndf_) | |
virtual | ~draw_rndf_lane_t () |
void | toggle_display () |
Toggle displaying of the data. | |
void | update_data (double bot_pos_[3]) |
Function called for idle loop. | |
void | display (double bot_pos[3]) |
Function called during display loop. | |
Private Member Functions | |
void | display_lb (rndf_lane_data_t &lb_) |
Private Attributes | |
std::vector< rndf_lane_data_t > | m_lane_list |
rndf_t const * | m_rndf |
double | m_flag_posy |
cajun::draw_rndf_lane_t::draw_rndf_lane_t | ( | double | cbviz_origin[3], | |
conf_t & | conf, | |||
world_state_t * | ws_, | |||
rndf_t const * | rndf_ | |||
) |
draw_rndf_lane_t::~draw_rndf_lane_t | ( | ) | [virtual] |
void draw_rndf_lane_t::display | ( | double | bot_bos_[3] | ) | [virtual] |
Function called during display loop.
Implements cajun::component_interface_t.
References display_lb(), cajun::component_interface_t::m_data_ok, cajun::component_interface_t::m_display, and m_lane_list.
void draw_rndf_lane_t::display_lb | ( | rndf_lane_data_t & | lb_ | ) | [private] |
References cajun::draw_line(), cajun::draw_square(), cajun::component_interface_t::m_cbviz_origin, m_flag_posy, POSX, and POSY.
Referenced by display().
void draw_rndf_lane_t::toggle_display | ( | ) | [virtual] |
Toggle displaying of the data.
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_display.
Referenced by cajun::simulation_draw_t::normalKey_callback().
void draw_rndf_lane_t::update_data | ( | double | bot_pos_[3] | ) | [virtual] |
Function called for idle loop.
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_data_ok, m_lane_list, m_rndf, and cajun::component_interface_t::m_world_state.
double cajun::draw_rndf_lane_t::m_flag_posy [private] |
Referenced by display_lb(), and draw_rndf_lane_t().
std::vector<rndf_lane_data_t> cajun::draw_rndf_lane_t::m_lane_list [private] |
Referenced by display(), and update_data().
rndf_t const* cajun::draw_rndf_lane_t::m_rndf [private] |
Referenced by draw_rndf_lane_t(), and update_data().