Defines | |
#define | GLUT_SPACE 32 |
Functions | |
void | setup_opengl (int argc, char *argv[], const cpe::navigator_tool &nav) |
void | keyboard_manager (unsigned char key, int x, int y, cpe::navigator_tool &nav) |
void | motion_manager (int x, int y, cpe::navigator_tool &nav) |
void | mouse_manager (int button, int action, int x, int y, cpe::navigator_tool &nav) |
void | reshape_manager (int width, int height, cpe::navigator_tool &nav) |
void | print_help_start () |
void | display_manager_begin (cpe::navigator_tool &nav) |
void | display_manager_end (cpe::navigator_tool &nav, unsigned int &counter) |
void | draw_pointer (cpe::navigator_tool &nav) |
void | draw_orientation (cpe::navigator_tool &nav) |
void | draw_fps (cpe::navigator_tool &nav) |
#define GLUT_SPACE 32 |
void display_manager_begin | ( | cpe::navigator_tool & | nav | ) |
References cpe::navigator_tool::camera_orientation(), cpe::navigator_tool::camera_translation(), cpe::navigator_tool::dist_cam(), cpe::navigator_tool::projection_param(), cpe::navigator_tool::screen_size_x(), and cpe::navigator_tool::screen_size_y().
Referenced by display_callback().
void display_manager_end | ( | cpe::navigator_tool & | nav, | |
unsigned int & | counter | |||
) |
References cpe::navigator_tool::delta_time(), draw_fps(), draw_orientation(), draw_pointer(), cpe::navigator_tool::increase_frame_number(), cpe::navigator_tool::time(), and cpe::navigator_tool::update_fps().
Referenced by display_callback().
void draw_fps | ( | cpe::navigator_tool & | nav | ) |
References cpe::navigator_tool::fps(), and cpe::string_converter::to_string().
Referenced by display_manager_end().
void draw_orientation | ( | cpe::navigator_tool & | nav | ) |
References cpe::navigator_tool::camera_orientation().
Referenced by display_manager_end().
void draw_pointer | ( | cpe::navigator_tool & | nav | ) |
References cpe::navigator_tool::camera_orientation(), and cpe::navigator_tool::dist_cam().
Referenced by display_manager_end().
void keyboard_manager | ( | unsigned char | key, | |
int | x, | |||
int | y, | |||
cpe::navigator_tool & | nav | |||
) |
References cpe::navigator_tool::dist_cam(), cpe::navigator_tool::go_forward(), cpe::navigator_tool::go_right(), cpe::navigator_tool::go_up(), cpe::navigator_tool::is_grid(), and cpe::navigator_tool::is_texture().
Referenced by keyboard_callback().
void motion_manager | ( | int | x, | |
int | y, | |||
cpe::navigator_tool & | nav | |||
) |
References cpe::navigator_tool::left_button(), cpe::navigator_tool::right_button(), cpe::navigator_tool::trackball_rotate(), and cpe::navigator_tool::trackball_zoom().
Referenced by motion_callback().
void mouse_manager | ( | int | button, | |
int | action, | |||
int | x, | |||
int | y, | |||
cpe::navigator_tool & | nav | |||
) |
References cpe::navigator_tool::left_button(), cpe::navigator_tool::right_button(), cpe::navigator_tool::x_previous(), and cpe::navigator_tool::y_previous().
Referenced by mouse_callback().
void print_help_start | ( | ) |
Referenced by main().
void reshape_manager | ( | int | width, | |
int | height, | |||
cpe::navigator_tool & | nav | |||
) |
References cpe::navigator_tool::screen_size_x(), and cpe::navigator_tool::screen_size_y().
Referenced by reshape_callback().
void setup_opengl | ( | int | argc, | |
char * | argv[], | |||
const cpe::navigator_tool & | nav | |||
) |
References cpe::navigator_tool::screen_size_x(), and cpe::navigator_tool::screen_size_y().
Referenced by main().