![]() |
Prusa Slicer 2.6.0
|
#include <stdlib.h>#include <string.h>#include <vector>#include <boost/log/trivial.hpp>#include <boost/nowide/cstdio.hpp>#include "stl.h"#include "libslic3r/LocalesUtils.hpp"
Include dependency graph for shared.cpp:Go to the source code of this file.
Functions | |
| void | stl_generate_shared_vertices (stl_file *stl, indexed_triangle_set &its) |
| bool | its_write_off (const indexed_triangle_set &its, const char *file) |
| bool | its_write_vrml (const indexed_triangle_set &its, const char *file) |
| bool | its_write_obj (const indexed_triangle_set &its, const char *file) |
| bool | its_write_obj (const indexed_triangle_set &its, const std::vector< obj_color > &color, const char *file) |
| write idexed triangle set into obj file with color | |
| bool | stl_validate (const stl_file *stl, const indexed_triangle_set &its) |
| bool | stl_validate (const stl_file *stl) |
| bool its_write_obj | ( | const indexed_triangle_set & | its, |
| const char * | file | ||
| ) |
References error, indexed_triangle_set::indices, and indexed_triangle_set::vertices.
Referenced by Slic3r::its_store_triangle_to_obj(), Slic3r::its_store_triangles_to_obj(), Slic3r::mmu_segmentation_top_and_bottom_layers(), and Slic3r::TriangleMesh::WriteOBJFile().
Here is the caller graph for this function:| bool its_write_obj | ( | const indexed_triangle_set & | its, |
| const std::vector< obj_color > & | color, | ||
| const char * | file | ||
| ) |
write idexed triangle set into obj file with color
| its | input model |
| color | color of stored model |
| file | define place to store |
References error, indexed_triangle_set::indices, and indexed_triangle_set::vertices.
| bool its_write_off | ( | const indexed_triangle_set & | its, |
| const char * | file | ||
| ) |
References error, indexed_triangle_set::indices, and indexed_triangle_set::vertices.
| bool its_write_vrml | ( | const indexed_triangle_set & | its, |
| const char * | file | ||
| ) |
References error, indexed_triangle_set::indices, and indexed_triangle_set::vertices.
| void stl_generate_shared_vertices | ( | stl_file * | stl, |
| indexed_triangle_set & | its | ||
| ) |
References stl_file::facet_start, indexed_triangle_set::indices, stl_file::neighbors_start, stl_stats::number_of_facets, stl_file::stats, and indexed_triangle_set::vertices.
Referenced by Slic3r::TriangleMesh::ReadSTLFile().
Here is the caller graph for this function:References stl_validate().
Here is the call graph for this function:| bool stl_validate | ( | const stl_file * | stl, |
| const indexed_triangle_set & | its | ||
| ) |
References stl_file::facet_start, indexed_triangle_set::indices, stl_file::neighbors_start, stl_stats::number_of_facets, stl_file::stats, indexed_triangle_set::vertices, and stl_neighbors::which_vertex_not.
Referenced by stl_remove_unconnected_facets(), stl_validate(), and Slic3r::trianglemesh_repair_on_import().
Here is the caller graph for this function: