Functions | |
| void | clear_textured_mesh (TexturedMesh &out) |
| void | set_error_message (std::string *error_message, const std::string &message) |
| bool | is_fbx_path (const std::string &path) |
| bool | should_flip_uvs (const std::string &path) |
| unsigned int | assimp_import_flags (const std::string &path) |
| void | configure_importer (Assimp::Importer &importer, const std::string &path, unsigned int flags) |
| bool | read_external_texture_file (const boost::filesystem::path &path, TextureImage &out) |
| bool | read_embedded_texture (const aiTexture &texture, TextureImage &out) |
| bool | get_material_texture (const aiMaterial &material, aiString &texture_path) |
| std::array< float, 4 > | get_material_color (const aiMaterial &material) |
| bool | collect_mesh (const aiMesh &mesh, size_t &vertex_offset, TexturedMesh &out, std::string &error) |
| void | collect_materials (const aiScene &scene, const boost::filesystem::path &base_dir, TexturedMesh &out) |
| std::string | scene_failure_summary (const std::string &path, const char *assimp_error) |
| unsigned int Slic3r::anonymous_namespace{AssimpImport.cpp}::assimp_import_flags | ( | const std::string & | path | ) |
References assimp_import_flags(), and should_flip_uvs().
Referenced by assimp_import_flags().
| void Slic3r::anonymous_namespace{AssimpImport.cpp}::clear_textured_mesh | ( | TexturedMesh & | out | ) |
References clear_textured_mesh(), Slic3r::TexturedMesh::indices, Slic3r::TexturedMesh::material_colors, Slic3r::TexturedMesh::material_ids, Slic3r::TexturedMesh::material_texture_map, Slic3r::TexturedMesh::textures, Slic3r::TexturedMesh::uv_coords, Slic3r::TexturedMesh::uv_indices, Slic3r::TexturedMesh::uvs, and Slic3r::TexturedMesh::vertices.
Referenced by clear_textured_mesh().
| void Slic3r::anonymous_namespace{AssimpImport.cpp}::collect_materials | ( | const aiScene & | scene, |
| const boost::filesystem::path & | base_dir, | ||
| TexturedMesh & | out ) |
References collect_materials(), get_material_color(), get_material_texture(), Slic3r::TexturedMesh::material_colors, Slic3r::TexturedMesh::material_texture_map, read_embedded_texture(), read_external_texture_file(), Slic3r::resource_path::resolve_external_resource_path(), and Slic3r::TexturedMesh::textures.
Referenced by collect_materials().
| bool Slic3r::anonymous_namespace{AssimpImport.cpp}::collect_mesh | ( | const aiMesh & | mesh, |
| size_t & | vertex_offset, | ||
| TexturedMesh & | out, | ||
| std::string & | error ) |
References collect_mesh(), Slic3r::TexturedMesh::indices, Slic3r::TexturedMesh::material_ids, Slic3r::TexturedMesh::uvs, and Slic3r::TexturedMesh::vertices.
Referenced by collect_mesh().
| void Slic3r::anonymous_namespace{AssimpImport.cpp}::configure_importer | ( | Assimp::Importer & | importer, |
| const std::string & | path, | ||
| unsigned int | flags ) |
References configure_importer(), and is_fbx_path().
Referenced by configure_importer().
| std::array< float, 4 > Slic3r::anonymous_namespace{AssimpImport.cpp}::get_material_color | ( | const aiMaterial & | material | ) |
References get_material_color().
Referenced by collect_materials(), and get_material_color().
| bool Slic3r::anonymous_namespace{AssimpImport.cpp}::get_material_texture | ( | const aiMaterial & | material, |
| aiString & | texture_path ) |
References get_material_texture().
Referenced by collect_materials(), and get_material_texture().
| bool Slic3r::anonymous_namespace{AssimpImport.cpp}::is_fbx_path | ( | const std::string & | path | ) |
References is_fbx_path().
Referenced by configure_importer(), and is_fbx_path().
| bool Slic3r::anonymous_namespace{AssimpImport.cpp}::read_embedded_texture | ( | const aiTexture & | texture, |
| TextureImage & | out ) |
References Slic3r::TextureImage::channels, Slic3r::TextureImage::data, Slic3r::TextureImage::height, read_embedded_texture(), and Slic3r::TextureImage::width.
Referenced by collect_materials(), and read_embedded_texture().
| bool Slic3r::anonymous_namespace{AssimpImport.cpp}::read_external_texture_file | ( | const boost::filesystem::path & | path, |
| TextureImage & | out ) |
References Slic3r::TextureImage::channels, Slic3r::TextureImage::data, Slic3r::TextureImage::height, read_external_texture_file(), and Slic3r::TextureImage::width.
Referenced by collect_materials(), and read_external_texture_file().
| std::string Slic3r::anonymous_namespace{AssimpImport.cpp}::scene_failure_summary | ( | const std::string & | path, |
| const char * | assimp_error ) |
References scene_failure_summary().
Referenced by scene_failure_summary().
| void Slic3r::anonymous_namespace{AssimpImport.cpp}::set_error_message | ( | std::string * | error_message, |
| const std::string & | message ) |
References set_error_message().
Referenced by set_error_message().
| bool Slic3r::anonymous_namespace{AssimpImport.cpp}::should_flip_uvs | ( | const std::string & | path | ) |
References should_flip_uvs().
Referenced by assimp_import_flags(), and should_flip_uvs().