#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/TextureBake/TextureBakeIndex.hpp>
Classes | |
| struct | Cell |
Public Member Functions | |
| QuantizedPointMap (double quant, size_t expected=256) | |
| size_t | size () const |
| bool | inserted () const |
| int | get (float x, float y, float z) |
| int | get (const Vec3f &p) |
| int | get_or_set (float x, float y, float z, int value) |
| int | get_or_set (const Vec3f &p, int value) |
| int | get_key (int64_t a, int64_t b, int64_t c) |
| int | get_or_set_key (int64_t a, int64_t b, int64_t c, int value) |
Private Member Functions | |
| void | alloc (size_t cap) |
| size_t | slot (int64_t qx, int64_t qy, int64_t qz) const |
| void | grow () |
Private Attributes | |
| double | m_quant |
| size_t | m_cap = 0 |
| size_t | m_mask = 0 |
| size_t | m_size = 0 |
| bool | m_inserted = false |
| std::vector< Cell > | m_cells |
| struct Slic3r::TextureBake::QuantizedPointMap::Cell |
|
inlineexplicit |
References alloc(), and m_quant.
|
inlineprivate |
|
inline |
|
inline |
References Slic3r::TextureBake::grid_round(), m_cells, m_quant, and slot().
|
inline |
References m_cells, and slot().
Referenced by Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::get_midpoint(), and Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::subdivide_pass().
|
inline |
References get_or_set().
Referenced by get_or_set().
|
inline |
References get_or_set_key(), Slic3r::TextureBake::grid_round(), and m_quant.
Referenced by Slic3r::TextureBake::apply_displacement(), Slic3r::BakeStageRecorder::capture(), Slic3r::TextureBake::count_edge_defects(), Slic3r::TextureBake::decimate(), Slic3r::TextureBake::flip_edges_to_height(), Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::get_midpoint(), Slic3r::TextureBake::regularize_mesh(), Slic3r::TextureBake::relocate_to_contours(), Slic3r::TextureBake::resolve_t_junctions(), Slic3r::TextureBake::snap_bottom_to_flat(), Slic3r::TextureBake::to_indexed(), Slic3r::TextureBake::to_indexed_fast(), Slic3r::TextureBake::to_indexed_triangle_set(), and Slic3r::TextureBake::weld_vertices().
|
inline |
References grow(), m_cap, m_cells, m_inserted, m_size, Slic3r::TextureBake::QuantizedPointMap::Cell::qx, Slic3r::TextureBake::QuantizedPointMap::Cell::qy, Slic3r::TextureBake::QuantizedPointMap::Cell::qz, slot(), and Slic3r::TextureBake::QuantizedPointMap::Cell::val.
Referenced by Slic3r::TextureBake::decimate(), Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::get_midpoint(), get_or_set(), Slic3r::TextureBake::regularize_mesh(), and Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::subdivide_pass().
|
inlineprivate |
|
inline |
References m_inserted.
Referenced by Slic3r::TextureBake::apply_displacement(), Slic3r::BakeStageRecorder::capture(), Slic3r::TextureBake::count_edge_defects(), Slic3r::TextureBake::decimate(), Slic3r::TextureBake::flip_edges_to_height(), Slic3r::TextureBake::regularize_mesh(), Slic3r::TextureBake::relocate_to_contours(), Slic3r::TextureBake::resolve_t_junctions(), Slic3r::TextureBake::snap_bottom_to_flat(), Slic3r::TextureBake::to_indexed(), Slic3r::TextureBake::to_indexed_fast(), Slic3r::TextureBake::to_indexed_triangle_set(), and Slic3r::TextureBake::weld_vertices().
|
inline |
References m_size.
Referenced by Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::subdivide_pass().
|
inlineprivate |
References m_cells, m_mask, Slic3r::TextureBake::QuantizedPointMap::Cell::qx, Slic3r::TextureBake::QuantizedPointMap::Cell::qy, and Slic3r::TextureBake::QuantizedPointMap::Cell::qz.
Referenced by get(), get_key(), get_or_set_key(), and grow().
|
private |
Referenced by alloc(), get_or_set_key(), and grow().
|
private |
|
private |
Referenced by get_or_set_key(), and inserted().
|
private |
|
private |
Referenced by QuantizedPointMap(), get(), and get_or_set().
|
private |
Referenced by get_or_set_key(), and size().