#include <draw_obstacle_points.H>
Public Member Functions | |
draw_obstacle_points_t (double cbviz_origin[3], unsigned qid_, world_state_t *ws_, conf_t &conf_, int viz_mode) | |
void | init_data () |
Initialization of display lists, etc. | |
void | update_data (double bot_pos_[3]) |
Function called for idle loop. | |
void | display (double cbviz_origin_[3]) |
Function called during display loop. | |
void | toggle_display () |
Toggle displaying of the data. | |
Private Attributes | |
std::vector < obstacle_points_data_t > | m_obstacle_list |
unsigned | m_list_counter |
int | m_viz_mode |
double | m_object_rotation [16] |
bool | m_display_obstacle_points_info |
world_state_t * | m_ws |
unsigned | m_qid |
draw_obstacle_points_t::draw_obstacle_points_t | ( | double | cbviz_origin[3], | |
unsigned | qid_, | |||
world_state_t * | ws_, | |||
conf_t & | conf_, | |||
int | viz_mode | |||
) |
void draw_obstacle_points_t::display | ( | double | bot_bos_[3] | ) | [virtual] |
Function called during display loop.
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_cbviz_origin, cajun::component_interface_t::m_data_ok, cajun::component_interface_t::m_display, m_obstacle_list, cajun::output_int_number(), POSX, POSY, and POSZ.
void draw_obstacle_points_t::init_data | ( | ) | [virtual] |
Initialization of display lists, etc.
Reimplemented from cajun::component_interface_t.
void cajun::draw_obstacle_points_t::toggle_display | ( | ) | [inline, virtual] |
Toggle displaying of the data.
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_display.
void draw_obstacle_points_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_obstacle_list, m_qid, and m_ws.
Referenced by draw_obstacle_points_t().
unsigned cajun::draw_obstacle_points_t::m_list_counter [private] |
double cajun::draw_obstacle_points_t::m_object_rotation[16] [private] |
std::vector<obstacle_points_data_t> cajun::draw_obstacle_points_t::m_obstacle_list [private] |
Referenced by display(), and update_data().
unsigned cajun::draw_obstacle_points_t::m_qid [private] |
Referenced by draw_obstacle_points_t(), and update_data().
int cajun::draw_obstacle_points_t::m_viz_mode [private] |
world_state_t* cajun::draw_obstacle_points_t::m_ws [private] |
Referenced by draw_obstacle_points_t(), and update_data().