#include <draw_mesh_cell.H>
Public Member Functions | |
draw_mesh_cell_t (double cbviz_origin[3], unsigned qid_, world_state_t *ws_, conf_t &viz_conf_) | |
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 | |
bool | m_cell_display |
std::vector< mesh_cell_data_t > | m_mesh_cells |
unsigned | m_qid |
access_data_t * | m_ad |
double | m_object_rotation [16] |
draw_mesh_cell_t::draw_mesh_cell_t | ( | double | cbviz_origin[3], | |
unsigned | qid_, | |||
world_state_t * | ws_, | |||
conf_t & | viz_conf_ | |||
) |
References m_ad, cajun::component_interface_t::m_cbviz_origin, m_cell_display, cajun::component_interface_t::m_display, m_qid, POSX, POSY, and POSZ.
void draw_mesh_cell_t::display | ( | double | bot_bos_[3] | ) | [virtual] |
Function called during display loop.
Implements cajun::component_interface_t.
References CELL_DEPTH, cajun::draw_cube(), cajun::component_interface_t::m_cbviz_origin, m_cell_display, cajun::component_interface_t::m_display, m_mesh_cells, POSX, POSY, POSZ, and R2D.
void draw_mesh_cell_t::init_data | ( | ) | [virtual] |
Initialization of display lists, etc.
Reimplemented from cajun::component_interface_t.
void draw_mesh_cell_t::toggle_display | ( | ) | [virtual] |
Toggle displaying of the data.
Implements cajun::component_interface_t.
References m_cell_display, and cajun::component_interface_t::m_display.
Referenced by cajun::simulation_draw_t::normalKey_callback().
void draw_mesh_cell_t::update_data | ( | double | bot_pos_[3] | ) | [virtual] |
Function called for idle loop.
Implements cajun::component_interface_t.
References m_ad, m_mesh_cells, and m_qid.
access_data_t* cajun::draw_mesh_cell_t::m_ad [private] |
Referenced by draw_mesh_cell_t(), and update_data().
bool cajun::draw_mesh_cell_t::m_cell_display [private] |
Referenced by display(), draw_mesh_cell_t(), and toggle_display().
std::vector<mesh_cell_data_t> cajun::draw_mesh_cell_t::m_mesh_cells [private] |
Referenced by display(), and update_data().
double cajun::draw_mesh_cell_t::m_object_rotation[16] [private] |
unsigned cajun::draw_mesh_cell_t::m_qid [private] |
Referenced by draw_mesh_cell_t(), and update_data().