#include "libslic3r/Color.hpp"
#include "objparser.hpp"
#include "libslic3r/Point.hpp"
#include <admesh/stl.h>
#include <array>
#include <functional>
#include <map>
#include <string>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
|
| namespace | Slic3r |
| | |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
|
|
| bool | Slic3r::load_obj (const char *path, TriangleMesh *meshptr, ObjInfo &obj_info, std::string &message, ObjParser::MtlData *out_mtl) |
| bool | Slic3r::load_obj (const char *path, Model *model, ObjInfo &obj_info, std::string &message, const char *object_name_in, ObjParser::MtlData *out_mtl) |
| bool | Slic3r::obj_to_textured_mesh (const ObjInfo &obj_info, const indexed_triangle_set &its, const ObjParser::MtlData &mtl_data, const std::string &obj_directory, TexturedMesh &out) |
| bool | Slic3r::store_obj (const char *path, TriangleMesh *mesh) |
| bool | Slic3r::store_obj (const char *path, ModelObject *model_object) |
| bool | Slic3r::store_obj (const char *path, Model *model) |
◆ Slic3r::ObjInfo
| Class Members |
|
vector< RGBA > |
face_colors |
|
|
bool |
has_uv_png {false} |
|
|
bool |
is_single_mtl {false} |
|
|
string |
lost_material_name {""} |
|
|
string |
obj_dircetory |
|
|
map< string, bool > |
pngs |
|
|
vector< ObjUseMtl > |
usemtls |
|
|
unordered_map< int, string > |
uv_map_pngs |
|
|
vector< array< Vec2f, 3 > > |
uvs |
|
|
vector< RGBA > |
vertex_colors |
|