#include <draw_static_scangp.H>
Classes | |
struct | point_t |
Public Member Functions | |
draw_static_scangp_t (conf_t &conf, char const *static_file) | |
virtual | ~draw_static_scangp_t () |
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 | get_origin (double origin_[3]) |
Private Attributes | |
std::vector< point_t > | vertices |
GLuint | scangp_listname |
char | m_static_file [200] |
unsigned | m_num_dl |
unsigned * | m_dl_indices |
draw_static_scangp_t::draw_static_scangp_t | ( | conf_t & | conf, | |
char const * | static_file | |||
) |
References cajun::draw_static_scangp_t::point_t::b, cajun::color_gradient(), cajun::draw_static_scangp_t::point_t::g, cajun::component_interface_t::m_cbviz_origin, cajun::component_interface_t::m_display, m_dl_indices, m_num_dl, m_static_file, cajun::progname, cajun::draw_static_scangp_t::point_t::r, vertices, cajun::draw_static_scangp_t::point_t::x, cajun::draw_static_scangp_t::point_t::y, and cajun::draw_static_scangp_t::point_t::z.
draw_static_scangp_t::~draw_static_scangp_t | ( | ) | [virtual] |
void draw_static_scangp_t::display | ( | double | bot_bos_[3] | ) | [virtual] |
Function called during display loop.
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_display, m_dl_indices, and m_num_dl.
void cajun::draw_static_scangp_t::flush_buffer | ( | ) |
void draw_static_scangp_t::get_origin | ( | double | origin_[3] | ) |
References cajun::component_interface_t::m_cbviz_origin, and vertices.
void draw_static_scangp_t::init_data | ( | ) | [virtual] |
Initialization of display lists, etc.
Reimplemented from cajun::component_interface_t.
References b, DL_MAX_SIZE, g, m_dl_indices, m_num_dl, r, scangp_listname, and vertices.
void draw_static_scangp_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_static_scangp_t::update_data | ( | double | bot_pos_[3] | ) | [virtual] |
Function called for idle loop.
Implements cajun::component_interface_t.
unsigned* cajun::draw_static_scangp_t::m_dl_indices [private] |
Referenced by display(), draw_static_scangp_t(), and init_data().
unsigned cajun::draw_static_scangp_t::m_num_dl [private] |
Referenced by display(), draw_static_scangp_t(), and init_data().
char cajun::draw_static_scangp_t::m_static_file[200] [private] |
Referenced by draw_static_scangp_t().
GLuint cajun::draw_static_scangp_t::scangp_listname [private] |
Referenced by init_data().
std::vector<point_t> cajun::draw_static_scangp_t::vertices [private] |
Referenced by draw_static_scangp_t(), get_origin(), and init_data().