
| scene::scene | ( | ) |
| void scene::affichage_damier | ( | ) | [private] |
References mesh_plan, and mesh_plan_normal.
Referenced by draw_scene().
| void scene::creation_damier | ( | ) | [private] |
References mesh_plan, mesh_plan_normal, cpe::mesh::normal_vertex(), cpe::mesh::scale(), and cpe::mesh::scale_unity().
Referenced by load_model().

| void scene::draw_debug | ( | cpe::mesh | mesh_current | ) |
Draw mesh in debug mode (draw indices).
References draw_index(), draw_index_face(), cpe::mesh::get_vertex(), is_debug_draw_vertex, is_debug_inverted_normal, is_debug_mode, cpe::mesh::normal_polygon(), cpe::mesh::normal_vertex(), cpe::mesh::triangle_number(), cpe::mesh::vertex_number(), cpe::v3::x(), cpe::v3::y(), and cpe::v3::z().
| void scene::draw_index | ( | const std::vector< cpe::v3 > & | x | ) | [private] |
References glwidget::draw_text(), is_debug_vertex_index, p_widget, and cpe::string_converter::to_string().
Referenced by draw_debug().

| void scene::draw_index_face | ( | const cpe::mesh & | mesh, | |
| const std::vector< cpe::v3 > & | translate | |||
| ) | [private] |
References glwidget::draw_text(), cpe::mesh::get_vertex(), is_debug_face_index, p_widget, and cpe::mesh::triangle_number().
Referenced by draw_debug().

| void scene::draw_scene | ( | ) |
Method called at every frame.
References affichage_damier(), cpe::opengl_drawer::draw(), mesh_0, mesh_0_normal, mesh_1, and mesh_1_normal.
Referenced by glwidget::paintGL().

| void scene::load_model | ( | ) |
Method called only once at the beginning (load off files ...).
References cpe::mesh::apply(), creation_damier(), cpe::mesh::load_off_file(), mesh_0, mesh_0_normal, mesh_1, mesh_1_normal, cpe::mesh::normal_vertex(), cpe::mesh::scale(), cpe::mesh::scale_unity(), and cpe::mesh::translate().
Referenced by glwidget::initializeGL().

| void scene::set_glwidget | ( | glwidget * | p_widget | ) |
References p_widget.
Referenced by glwidget::glwidget().
| void scene::set_is_debug_face_index | ( | bool | value | ) |
References is_debug_face_index.
Referenced by window_mesh_debug::face_index_button_clicked().
| void scene::set_is_debug_inverted_normal | ( | bool | value | ) |
References is_debug_inverted_normal.
Referenced by window_mesh_debug::inverted_normal_button_clicked().
| void scene::set_is_debug_mode | ( | bool | value | ) |
References is_debug_mode.
Referenced by window_mesh_debug::debug_mode_button_clicked().
| void scene::set_is_debug_vertex_index | ( | bool | value | ) |
References is_debug_vertex_index.
Referenced by window_mesh_debug::vertex_index_button_clicked().
| void scene::set_is_debug_vertex_point | ( | bool | value | ) |
References is_debug_draw_vertex.
Referenced by window_mesh_debug::vertex_show_button_clicked().
bool scene::is_debug_draw_vertex [private] |
Referenced by draw_debug(), scene(), and set_is_debug_vertex_point().
bool scene::is_debug_face_index [private] |
Referenced by draw_index_face(), scene(), and set_is_debug_face_index().
bool scene::is_debug_inverted_normal [private] |
Referenced by draw_debug(), scene(), and set_is_debug_inverted_normal().
bool scene::is_debug_mode [private] |
Referenced by draw_debug(), scene(), and set_is_debug_mode().
bool scene::is_debug_vertex_index [private] |
Referenced by draw_index(), scene(), and set_is_debug_vertex_index().
cpe::mesh scene::mesh_0 [private] |
Referenced by draw_scene(), and load_model().
std::vector<cpe::v3> scene::mesh_0_normal [private] |
Referenced by draw_scene(), and load_model().
cpe::mesh scene::mesh_1 [private] |
Referenced by draw_scene(), and load_model().
std::vector<cpe::v3> scene::mesh_1_normal [private] |
Referenced by draw_scene(), and load_model().
cpe::mesh scene::mesh_plan [private] |
Referenced by affichage_damier(), and creation_damier().
std::vector<cpe::v3> scene::mesh_plan_normal [private] |
Referenced by affichage_damier(), and creation_damier().
cpe::mesh scene::my_mesh [private] |
std::vector<cpe::v3> scene::my_mesh_normal [private] |
glwidget* scene::p_widget [private] |
Referenced by draw_index(), draw_index_face(), and set_glwidget().
1.6.3