#include <draw_survey_gp.H>
Classes | |
| struct | point_t |
Public Member Functions | |
| draw_survey_gp_t (double cbviz_origin[3], int survey_gp_id, conf_t &conf, world_state_t *ws_) | |
| virtual | ~draw_survey_gp_t () |
| void | dynamic_data () |
| Dynamic changing data. | |
| void | intra_update_data () |
| Function that may be called during draw. | |
| void | update_data (double bot_pos_[3]) |
| Function called for idle loop. | |
| void | display (double bot_pos[3]) |
| Function called during display loop. | |
| void | toggle_display () |
| Toggle displaying of the data. | |
| void | flush_buffer () |
| void | init_data () |
| Initialization of display lists, etc. | |
| void | translate_pts (survey_gp_data_t &survey_gp_) |
Private Attributes | |
| access_data_t * | m_ad |
| bool | m_vbo_support |
| unsigned | m_num_surveys |
| point_t * | m_vertex_data |
| double | m_prev_survey_tstamp |
| std::vector< survey_gp_data_t > | m_survey_gp_list |
| unsigned | m_qid |
| size_t | m_counter |
| size_t | m_buffer_size |
| size_t | m_prev_data_point |
| unsigned | m_vbo_vert_name |
| survey_gp_data_t::coord_t | start_beam |
| survey_gp_data_t::coord_t | end_beam |
| PFNGLGENBUFFERSARBPROC | glGenBuffersARB |
| PFNGLBINDBUFFERARBPROC | glBindBufferARB |
| PFNGLBUFFERDATAARBPROC | glBufferDataARB |
| PFNGLBUFFERSUBDATAARBPROC | glBufferSubDataARB |
| PFNGLDELETEBUFFERSARBPROC | glDeleteBuffersARB |
| draw_survey_gp_t::draw_survey_gp_t | ( | double | cbviz_origin[3], | |
| int | survey_gp_id, | |||
| conf_t & | conf, | |||
| world_state_t * | ws_ | |||
| ) |
| draw_survey_gp_t::~draw_survey_gp_t | ( | ) | [virtual] |
References m_vertex_data.
| void draw_survey_gp_t::display | ( | double | bot_bos_[3] | ) | [virtual] |
Function called during display loop.
Implements cajun::component_interface_t.
References glBindBufferARB, m_buffer_size, cajun::component_interface_t::m_display, m_vbo_support, m_vbo_vert_name, m_vertex_data, and r.
| void draw_survey_gp_t::dynamic_data | ( | ) | [virtual] |
Dynamic changing data.
Reimplemented from cajun::component_interface_t.
References glBindBufferARB, glBufferSubDataARB, m_counter, m_prev_data_point, m_vbo_support, m_vbo_vert_name, and m_vertex_data.
| void draw_survey_gp_t::flush_buffer | ( | ) |
| void draw_survey_gp_t::init_data | ( | ) | [virtual] |
Initialization of display lists, etc.
Reimplemented from cajun::component_interface_t.
References glBindBufferARB, glBufferDataARB, glBufferSubDataARB, glDeleteBuffersARB, glGenBuffersARB, cajun::IsGLExtensionSupported(), m_buffer_size, m_vbo_support, m_vbo_vert_name, m_vertex_data, and cajun::progname.
| void draw_survey_gp_t::intra_update_data | ( | ) | [virtual] |
Function that may be called during draw.
Reimplemented from cajun::component_interface_t.
References cajun::draw_survey_gp_t::point_t::a, cajun::draw_survey_gp_t::point_t::b, cajun::draw_survey_gp_t::point_t::g, m_ad, m_buffer_size, m_counter, m_prev_data_point, m_prev_survey_tstamp, m_qid, m_survey_gp_list, m_vertex_data, cajun::draw_survey_gp_t::point_t::r, translate_pts(), cajun::draw_survey_gp_t::point_t::x, cajun::draw_survey_gp_t::point_t::y, and cajun::draw_survey_gp_t::point_t::z.
| void draw_survey_gp_t::toggle_display | ( | ) | [virtual] |
Toggle displaying of the data.
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_display, and m_vertex_data.
Referenced by cajun::simulation_draw_t::normalKey_callback().
| void draw_survey_gp_t::translate_pts | ( | survey_gp_data_t & | survey_gp_ | ) |
References cajun::component_interface_t::m_cbviz_origin, POSX, POSY, and POSZ.
Referenced by intra_update_data().
| void draw_survey_gp_t::update_data | ( | double | bot_pos_[3] | ) | [virtual] |
Function called for idle loop.
Implements cajun::component_interface_t.
survey_gp_data_t::coord_t cajun::draw_survey_gp_t::end_beam [private] |
PFNGLBINDBUFFERARBPROC cajun::draw_survey_gp_t::glBindBufferARB [private] |
Referenced by display(), dynamic_data(), and init_data().
PFNGLBUFFERDATAARBPROC cajun::draw_survey_gp_t::glBufferDataARB [private] |
Referenced by init_data().
PFNGLBUFFERSUBDATAARBPROC cajun::draw_survey_gp_t::glBufferSubDataARB [private] |
Referenced by dynamic_data(), and init_data().
PFNGLDELETEBUFFERSARBPROC cajun::draw_survey_gp_t::glDeleteBuffersARB [private] |
Referenced by init_data().
PFNGLGENBUFFERSARBPROC cajun::draw_survey_gp_t::glGenBuffersARB [private] |
Referenced by init_data().
access_data_t* cajun::draw_survey_gp_t::m_ad [private] |
Referenced by draw_survey_gp_t(), and intra_update_data().
size_t cajun::draw_survey_gp_t::m_buffer_size [private] |
Referenced by display(), draw_survey_gp_t(), init_data(), and intra_update_data().
size_t cajun::draw_survey_gp_t::m_counter [private] |
Referenced by draw_survey_gp_t(), dynamic_data(), and intra_update_data().
unsigned cajun::draw_survey_gp_t::m_num_surveys [private] |
Referenced by draw_survey_gp_t().
size_t cajun::draw_survey_gp_t::m_prev_data_point [private] |
Referenced by draw_survey_gp_t(), dynamic_data(), and intra_update_data().
double cajun::draw_survey_gp_t::m_prev_survey_tstamp [private] |
Referenced by intra_update_data().
unsigned cajun::draw_survey_gp_t::m_qid [private] |
Referenced by draw_survey_gp_t(), and intra_update_data().
std::vector<survey_gp_data_t> cajun::draw_survey_gp_t::m_survey_gp_list [private] |
Referenced by intra_update_data().
bool cajun::draw_survey_gp_t::m_vbo_support [private] |
Referenced by display(), draw_survey_gp_t(), dynamic_data(), and init_data().
unsigned cajun::draw_survey_gp_t::m_vbo_vert_name [private] |
Referenced by display(), dynamic_data(), and init_data().
point_t* cajun::draw_survey_gp_t::m_vertex_data [private] |
Referenced by display(), draw_survey_gp_t(), dynamic_data(), init_data(), intra_update_data(), toggle_display(), and ~draw_survey_gp_t().
survey_gp_data_t::coord_t cajun::draw_survey_gp_t::start_beam [private] |
1.6.1