#include "TextureBakeSubdivide.hpp"
#include "libslic3r/Point.hpp"
#include "libslic3r/TextureBake/TextureBakeIndex.hpp"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <math.h>
#include <unordered_map>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include <tbb/parallel_reduce.h>
#include <vector>
#include <utility>
Go to the source code of this file.
|
| double | Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::edge_len_sq (const VertStore &v, int a, int b) |
| void | Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::normalize_store_normals (VertStore &verts) |
| int | Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::get_midpoint (VertStore &verts, QuantizedPointMap &cache, int a, int b, QuantizedPointMap *pos_canon_map) |
| PassResult | Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::subdivide_pass (VertStore &verts, const std::vector< int > &indices, double max_edge_length, int safety_cap, const std::vector< uint8_t > &face_excluded, QuantizedPointMap *pos_canon_map, const std::vector< int > &face_parent_id, const SubdivideWithinFn &within) |
| IndexedMesh | Slic3r::TextureBake::to_indexed_fast (const TriSoup &geometry) |
| IndexedMesh | Slic3r::TextureBake::to_indexed (const TriSoup &geometry) |
| TriSoup | Slic3r::TextureBake::to_non_indexed (const VertStore &verts, const std::vector< int > &indices, const std::vector< uint8_t > &face_excluded) |
| SubdivideResult | Slic3r::TextureBake::subdivide (const TriSoup &geometry, double max_edge_length, const std::vector< uint8_t > &face_excluded, bool fast, int safety_cap, const SubdivideProgressFn &on_progress, const SubdivideWithinFn &within) |
◆ Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::PassResult
| struct Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::PassResult |
| Class Members |
|
bool |
capped = false |
|
|
bool |
changed = false |
|
|
vector< uint8_t > |
face_excluded |
|
|
vector< int > |
face_parent_id |
|
|
vector< int > |
indices |
|