Public Member Functions | |
glwidget (QWidget *parent=0) | |
~glwidget () | |
void | set_wireframe () |
void | set_filled () |
void | draw_text (double x, double y, double z, QString text, QFont font) |
Public Attributes | |
scene | current_scene |
Protected Member Functions | |
void | initializeGL () |
void | paintGL () |
void | resizeGL (int width, int height) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
void | timerEvent (QTimerEvent *event) |
Private Member Functions | |
void | print_help_start () const |
void | draw_pointer (cpe::navigator_tool &nav) const |
void | draw_orientation (cpe::navigator_tool &nav) const |
void | draw_camera_stat () |
void | draw_fps () |
void | draw_decorating_info () |
Private Attributes | |
cpe::navigator_tool | nav |
QTime | t_timer |
glwidget::glwidget | ( | QWidget * | parent = 0 | ) |
glwidget::~glwidget | ( | ) |
|
private |
References cpe::navigator_tool::dist_cam(), and nav.
Referenced by draw_decorating_info().
|
private |
References cpe::navigator_tool::delta_time(), draw_camera_stat(), draw_fps(), draw_orientation(), draw_pointer(), cpe::navigator_tool::increase_frame_number(), nav, t_timer, cpe::navigator_tool::time(), and cpe::navigator_tool::update_fps().
Referenced by paintGL().
|
private |
References cpe::navigator_tool::fps(), and nav.
Referenced by draw_decorating_info().
|
private |
References cpe::navigator_tool::camera_orientation(), and cpe::matrix4::pointer().
Referenced by draw_decorating_info().
|
private |
References cpe::navigator_tool::camera_orientation(), cpe::navigator_tool::dist_cam(), and cpe::matrix4::pointer().
Referenced by draw_decorating_info().
void glwidget::draw_text | ( | double | x, |
double | y, | ||
double | z, | ||
QString | text, | ||
QFont | font | ||
) |
|
protected |
|
protected |
References cpe::navigator_tool::dist_cam(), cpe::navigator_tool::go_forward(), cpe::navigator_tool::go_right(), cpe::navigator_tool::go_up(), and nav.
|
protected |
References cpe::navigator_tool::dist_cam(), cpe::navigator_tool::go_forward(), cpe::navigator_tool::go_right(), cpe::navigator_tool::go_up(), nav, cpe::navigator_tool::trackball_rotate(), cpe::navigator_tool::trackball_zoom(), cpe::navigator_tool::x_previous(), and cpe::navigator_tool::y_previous().
|
protected |
References nav, cpe::navigator_tool::x_previous(), and cpe::navigator_tool::y_previous().
|
protected |
|
protected |
References cpe::navigator_tool::camera_orientation(), cpe::navigator_tool::camera_translation(), current_scene, cpe::navigator_tool::dist_cam(), draw_decorating_info(), scene::draw_scene(), nav, cpe::matrix4::pointer(), cpe::navigator_tool::projection_param(), cpe::navigator_tool::screen_size_x(), and cpe::navigator_tool::screen_size_y().
|
private |
Referenced by glwidget().
|
protected |
References nav, cpe::navigator_tool::screen_size_x(), and cpe::navigator_tool::screen_size_y().
void glwidget::set_filled | ( | ) |
Referenced by Window::set_wireframe().
void glwidget::set_wireframe | ( | ) |
Referenced by Window::set_wireframe().
|
protected |
scene glwidget::current_scene |
|
private |
Referenced by draw_camera_stat(), draw_decorating_info(), draw_fps(), keyPressEvent(), mouseMoveEvent(), mousePressEvent(), paintGL(), and resizeGL().
|
private |
Referenced by draw_decorating_info().