Blender
V3.3
|
Classes | |
struct | OrderedEdge |
union | OrigEdgeOrIndex |
Typedefs | |
using | EdgeMap = Map< OrderedEdge, OrigEdgeOrIndex > |
Functions | |
static void | reserve_hash_maps (const Mesh *mesh, const bool keep_existing_edges, MutableSpan< EdgeMap > edge_maps) |
static void | add_existing_edges_to_hash_maps (Mesh *mesh, MutableSpan< EdgeMap > edge_maps, uint32_t parallel_mask) |
static void | add_polygon_edges_to_hash_maps (Mesh *mesh, MutableSpan< EdgeMap > edge_maps, uint32_t parallel_mask) |
static void | serialize_and_initialize_deduplicated_edges (MutableSpan< EdgeMap > edge_maps, MutableSpan< MEdge > new_edges, short new_edge_flag) |
static void | update_edge_indices_in_poly_loops (Mesh *mesh, Span< EdgeMap > edge_maps, uint32_t parallel_mask) |
static int | get_parallel_maps_count (const Mesh *mesh) |
static void | clear_hash_tables (MutableSpan< EdgeMap > edge_maps) |
using blender::bke::calc_edges::EdgeMap = typedef Map<OrderedEdge, OrigEdgeOrIndex> |
Definition at line 67 of file mesh_calc_edges.cc.
|
static |
Definition at line 78 of file mesh_calc_edges.cc.
References blender::MutableSpan< T >::data(), if(), Mesh::medge, mesh, blender::threading::parallel_for_each(), and Mesh::totedge.
Referenced by BKE_mesh_calc_edges().
|
static |
Definition at line 95 of file mesh_calc_edges.cc.
References blender::MutableSpan< T >::data(), mesh, Mesh::mloop, Mesh::mpoly, blender::threading::parallel_for_each(), Mesh::totloop, and Mesh::totpoly.
Referenced by BKE_mesh_calc_edges().
|
static |
Definition at line 200 of file mesh_calc_edges.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), and blender::threading::parallel_for_each().
Referenced by BKE_mesh_calc_edges().
|
static |
Definition at line 188 of file mesh_calc_edges.cc.
References BLI_system_thread_count(), mesh, min, power_of_2_min_i(), and Mesh::totpoly.
Referenced by BKE_mesh_calc_edges().
|
static |
Definition at line 69 of file mesh_calc_edges.cc.
References max, mesh, blender::threading::parallel_for_each(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::reserve(), blender::MutableSpan< T >::size(), Mesh::totedge, and Mesh::totpoly.
Referenced by BKE_mesh_calc_edges().
|
static |
Definition at line 120 of file mesh_calc_edges.cc.
References blender::MutableSpan< T >::data(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::threading::parallel_for_each(), and blender::MutableSpan< T >::size().
Referenced by BKE_mesh_calc_edges().
|
static |
Definition at line 156 of file mesh_calc_edges.cc.
References mesh, Mesh::mloop, blender::threading::parallel_for(), Mesh::totloop, and Mesh::totpoly.
Referenced by BKE_mesh_calc_edges().