![]() |
Prusa Slicer 2.6.0
|
#include <src/libigl/igl/opengl/ViewerData.h>
Collaboration diagram for igl::opengl::ViewerData:| IGL_INLINE igl::opengl::ViewerData::ViewerData | ( | ) |
References clear().
Here is the call graph for this function:| IGL_INLINE void igl::opengl::ViewerData::add_edges | ( | const Eigen::MatrixXd & | P1, |
| const Eigen::MatrixXd & | P2, | ||
| const Eigen::MatrixXd & | C | ||
| ) |
References igl::opengl::MeshGL::DIRTY_OVERLAY_LINES.
| IGL_INLINE void igl::opengl::ViewerData::add_label | ( | const Eigen::VectorXd & | P, |
| const std::string & | str | ||
| ) |
| IGL_INLINE void igl::opengl::ViewerData::add_points | ( | const Eigen::MatrixXd & | P, |
| const Eigen::MatrixXd & | C | ||
| ) |
References igl::opengl::MeshGL::DIRTY_OVERLAY_POINTS.
| IGL_INLINE void igl::opengl::ViewerData::clear | ( | ) |
Referenced by ViewerData(), and igl::opengl::glfw::Viewer::load_mesh_from_file().
Here is the caller graph for this function:| IGL_INLINE void igl::opengl::ViewerData::compute_normals | ( | ) |
References igl::opengl::MeshGL::DIRTY_NORMAL, igl::per_face_normals(), and igl::per_vertex_normals().
Referenced by igl::opengl::glfw::Viewer::load_mesh_from_file().
Here is the call graph for this function:
Here is the caller graph for this function:| IGL_INLINE void igl::opengl::ViewerData::grid_texture | ( | ) |
References igl::opengl::MeshGL::DIRTY_TEXTURE.
Referenced by igl::opengl::glfw::Viewer::load_mesh_from_file().
Here is the caller graph for this function:| IGL_INLINE void igl::opengl::ViewerData::set_colors | ( | const Eigen::MatrixXd & | C | ) |
References igl::opengl::MeshGL::DIRTY_DIFFUSE, and igl::parula().
Here is the call graph for this function:| IGL_INLINE void igl::opengl::ViewerData::set_edges | ( | const Eigen::MatrixXd & | P, |
| const Eigen::MatrixXi & | E, | ||
| const Eigen::MatrixXd & | C | ||
| ) |
References igl::opengl::MeshGL::DIRTY_OVERLAY_LINES.
| IGL_INLINE void igl::opengl::ViewerData::set_face_based | ( | bool | newvalue | ) |
References igl::opengl::MeshGL::DIRTY_ALL.
Referenced by igl::opengl::glfw::Viewer::Viewer(), igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu(), and igl::opengl::glfw::Viewer::key_pressed().
Here is the caller graph for this function:| IGL_INLINE void igl::opengl::ViewerData::set_mesh | ( | const Eigen::MatrixXd & | V, |
| const Eigen::MatrixXi & | F | ||
| ) |
References igl::opengl::MeshGL::DIRTY_FACE, igl::opengl::MeshGL::DIRTY_POSITION, igl::GOLD_AMBIENT, igl::GOLD_DIFFUSE, and igl::GOLD_SPECULAR.
Referenced by igl::opengl::glfw::Viewer::load_mesh_from_file().
Here is the caller graph for this function:| IGL_INLINE void igl::opengl::ViewerData::set_normals | ( | const Eigen::MatrixXd & | N | ) |
References igl::opengl::MeshGL::DIRTY_NORMAL.
| IGL_INLINE void igl::opengl::ViewerData::set_points | ( | const Eigen::MatrixXd & | P, |
| const Eigen::MatrixXd & | C | ||
| ) |
| IGL_INLINE void igl::opengl::ViewerData::set_texture | ( | const Eigen::Matrix< unsigned char, Eigen::Dynamic, Eigen::Dynamic > & | R, |
| const Eigen::Matrix< unsigned char, Eigen::Dynamic, Eigen::Dynamic > & | G, | ||
| const Eigen::Matrix< unsigned char, Eigen::Dynamic, Eigen::Dynamic > & | B | ||
| ) |
References Eigen::PlainObjectBase< Derived >::cols(), igl::opengl::MeshGL::DIRTY_TEXTURE, and Eigen::PlainObjectBase< Derived >::rows().
Here is the call graph for this function:| IGL_INLINE void igl::opengl::ViewerData::set_texture | ( | const Eigen::Matrix< unsigned char, Eigen::Dynamic, Eigen::Dynamic > & | R, |
| const Eigen::Matrix< unsigned char, Eigen::Dynamic, Eigen::Dynamic > & | G, | ||
| const Eigen::Matrix< unsigned char, Eigen::Dynamic, Eigen::Dynamic > & | B, | ||
| const Eigen::Matrix< unsigned char, Eigen::Dynamic, Eigen::Dynamic > & | A | ||
| ) |
References igl::opengl::MeshGL::DIRTY_TEXTURE.
| IGL_INLINE void igl::opengl::ViewerData::set_uv | ( | const Eigen::MatrixXd & | UV | ) |
References igl::opengl::MeshGL::DIRTY_UV.
Referenced by igl::opengl::glfw::Viewer::load_mesh_from_file().
Here is the caller graph for this function:| IGL_INLINE void igl::opengl::ViewerData::set_uv | ( | const Eigen::MatrixXd & | UV_V, |
| const Eigen::MatrixXi & | UV_F | ||
| ) |
References igl::opengl::MeshGL::DIRTY_UV.
| IGL_INLINE void igl::opengl::ViewerData::set_vertices | ( | const Eigen::MatrixXd & | V | ) |
References igl::opengl::MeshGL::DIRTY_POSITION.
| IGL_INLINE void igl::opengl::ViewerData::uniform_colors | ( | const Eigen::Vector3d & | diffuse, |
| const Eigen::Vector3d & | ambient, | ||
| const Eigen::Vector3d & | specular | ||
| ) |
Referenced by igl::opengl::glfw::Viewer::load_mesh_from_file().
Here is the caller graph for this function:| IGL_INLINE void igl::opengl::ViewerData::uniform_colors | ( | const Eigen::Vector4d & | ambient, |
| const Eigen::Vector4d & | diffuse, | ||
| const Eigen::Vector4d & | specular | ||
| ) |
References igl::opengl::MeshGL::DIRTY_AMBIENT, igl::opengl::MeshGL::DIRTY_DIFFUSE, and igl::opengl::MeshGL::DIRTY_SPECULAR.
| IGL_INLINE void igl::opengl::ViewerData::updateGL | ( | const igl::opengl::ViewerData & | data, |
| const bool | invert_normals, | ||
| igl::opengl::MeshGL & | meshgl | ||
| ) |
References igl::opengl::MeshGL::dirty, igl::opengl::MeshGL::DIRTY_AMBIENT, igl::opengl::MeshGL::DIRTY_DIFFUSE, igl::opengl::MeshGL::DIRTY_FACE, igl::opengl::MeshGL::DIRTY_NORMAL, igl::opengl::MeshGL::DIRTY_OVERLAY_LINES, igl::opengl::MeshGL::DIRTY_OVERLAY_POINTS, igl::opengl::MeshGL::DIRTY_POSITION, igl::opengl::MeshGL::DIRTY_SPECULAR, igl::opengl::MeshGL::DIRTY_TEXTURE, igl::opengl::MeshGL::DIRTY_UV, igl::opengl::MeshGL::F_vbo, igl::opengl::MeshGL::init(), igl::opengl::MeshGL::is_initialized, igl::opengl::MeshGL::lines_F_vbo, igl::opengl::MeshGL::lines_V_colors_vbo, igl::opengl::MeshGL::lines_V_vbo, igl::per_corner_normals(), igl::opengl::MeshGL::points_F_vbo, igl::opengl::MeshGL::points_V_colors_vbo, igl::opengl::MeshGL::points_V_vbo, Eigen::PlainObjectBase< Derived >::resize(), igl::opengl::MeshGL::tex, igl::opengl::MeshGL::tex_u, igl::opengl::MeshGL::tex_v, igl::opengl::MeshGL::V_ambient_vbo, igl::opengl::MeshGL::V_diffuse_vbo, igl::opengl::MeshGL::V_normals_vbo, igl::opengl::MeshGL::V_specular_vbo, igl::opengl::MeshGL::V_uv_vbo, and igl::opengl::MeshGL::V_vbo.
Here is the call graph for this function:| uint32_t igl::opengl::ViewerData::dirty |
| Eigen::MatrixXi igl::opengl::ViewerData::F |
Referenced by igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu().
| Eigen::MatrixXd igl::opengl::ViewerData::F_material_ambient |
| Eigen::MatrixXd igl::opengl::ViewerData::F_material_diffuse |
| Eigen::MatrixXd igl::opengl::ViewerData::F_material_specular |
| Eigen::MatrixXd igl::opengl::ViewerData::F_normals |
| Eigen::MatrixXi igl::opengl::ViewerData::F_uv |
| bool igl::opengl::ViewerData::face_based |
Referenced by igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu().
| int igl::opengl::ViewerData::id |
| bool igl::opengl::ViewerData::invert_normals |
| Eigen::MatrixXd igl::opengl::ViewerData::labels_positions |
| std::vector<std::string> igl::opengl::ViewerData::labels_strings |
| Eigen::Vector4f igl::opengl::ViewerData::line_color |
Referenced by igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu().
| float igl::opengl::ViewerData::line_width |
| Eigen::MatrixXd igl::opengl::ViewerData::lines |
| igl::opengl::MeshGL igl::opengl::ViewerData::meshgl |
Referenced by igl::opengl::glfw::Viewer::launch_shut().
| float igl::opengl::ViewerData::point_size |
| Eigen::MatrixXd igl::opengl::ViewerData::points |
| float igl::opengl::ViewerData::shininess |
Referenced by igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu().
| bool igl::opengl::ViewerData::show_faceid |
| bool igl::opengl::ViewerData::show_faces |
| bool igl::opengl::ViewerData::show_lines |
| bool igl::opengl::ViewerData::show_overlay |
Referenced by igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu().
| bool igl::opengl::ViewerData::show_overlay_depth |
Referenced by igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu().
| bool igl::opengl::ViewerData::show_texture |
Referenced by igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu().
| bool igl::opengl::ViewerData::show_vertid |
| Eigen::Matrix<unsigned char,Eigen::Dynamic,Eigen::Dynamic> igl::opengl::ViewerData::texture_A |
| Eigen::Matrix<unsigned char,Eigen::Dynamic,Eigen::Dynamic> igl::opengl::ViewerData::texture_B |
| Eigen::Matrix<unsigned char,Eigen::Dynamic,Eigen::Dynamic> igl::opengl::ViewerData::texture_G |
| Eigen::Matrix<unsigned char,Eigen::Dynamic,Eigen::Dynamic> igl::opengl::ViewerData::texture_R |
| Eigen::MatrixXd igl::opengl::ViewerData::V |
| Eigen::MatrixXd igl::opengl::ViewerData::V_material_ambient |
| Eigen::MatrixXd igl::opengl::ViewerData::V_material_diffuse |
| Eigen::MatrixXd igl::opengl::ViewerData::V_material_specular |
| Eigen::MatrixXd igl::opengl::ViewerData::V_normals |
| Eigen::MatrixXd igl::opengl::ViewerData::V_uv |