|
Blender V5.3
|
Functions | |
| int | vert_id_get (const SculptSession &ss, const int vert) |
| void | invalidate (SculptSession &ss) |
| static SculptTopologyIslandCache | vert_disjoint_set_to_islands (const AtomicDisjointSet &vert_sets, const int verts_num) |
| static SculptTopologyIslandCache | calc_topology_islands_mesh (const Mesh &mesh) |
| static SculptTopologyIslandCache | calc_topology_islands_grids (const Object &object) |
| static SculptTopologyIslandCache | calc_topology_islands_bmesh (const Object &object) |
| static SculptTopologyIslandCache | calculate_cache (const Object &object) |
| void | ensure_cache (Object &object) |
|
static |
Definition at line 6403 of file sculpt.cc.
References blender::bke::pbvh::all_leaf_nodes(), blender::BKE_pbvh_bmesh_node_faces(), blender::bm, blender::SculptSession::bm, BM_elem_flag_test, blender::BM_ELEM_HIDDEN, BM_elem_index_get, calc_topology_islands_bmesh(), blender::index_mask::IndexMask::foreach_index(), blender::exec_mode::grain_size(), blender::AtomicDisjointSet::join(), blender::bke::object::pbvh_get(), blender::BMesh::totvert, vert_disjoint_set_to_islands(), and blender::ed::sculpt_paint::vert_random_access_ensure().
Referenced by calc_topology_islands_bmesh(), and calculate_cache().
|
static |
Definition at line 6378 of file sculpt.cc.
References blender::BKE_subdiv_ccg_key_top_level(), calc_topology_islands_grids(), blender::SubdivCCG::grids_num, blender::threading::parallel_for(), blender::SubdivCCG::positions, blender::Array< T, InlineBufferCapacity, Allocator >::size(), and blender::SculptSession::subdiv_ccg.
Referenced by calc_topology_islands_grids(), and calculate_cache().
|
static |
Definition at line 6351 of file sculpt.cc.
References calc_topology_islands_mesh(), blender::IndexRange::drop_front(), blender::bke::Face, blender::Span< T >::first(), blender::index_mask::IndexMask::foreach_index(), blender::IndexMask::from_bools_inverse(), blender::exec_mode::grain_size(), blender::offset_indices::OffsetIndices< T >::index_range(), blender::Span< T >::index_range(), blender::blender::Span< T >::is_empty(), blender::AtomicDisjointSet::join(), blender::bke::AttributeAccessor::lookup(), blender::offset_indices::OffsetIndices< T >::size(), blender::Span< T >::slice(), and vert_disjoint_set_to_islands().
Referenced by calc_topology_islands_mesh(), and calculate_cache().
|
static |
Definition at line 6433 of file sculpt.cc.
References BLI_assert_unreachable, blender::bke::pbvh::BMesh, calc_topology_islands_bmesh(), calc_topology_islands_grids(), calc_topology_islands_mesh(), calculate_cache(), blender::data, blender::Editor, blender::bke::pbvh::Grids, blender::bke::pbvh::Mesh, blender::bke::object::pbvh_get(), and PRF_scope.
Referenced by calculate_cache(), and ensure_cache().
| void blender::ed::sculpt_paint::islands::ensure_cache | ( | Object & | object | ) |
Definition at line 6448 of file sculpt.cc.
References calculate_cache(), ensure_cache(), and blender::SculptSession::topology_island_cache.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_init(), blender::ed::sculpt_paint::expand::check_topology_islands(), ensure_cache(), blender::ed::sculpt_paint::expand::ensure_sculptsession_data(), blender::ed::sculpt_paint::fake_neighbors_ensure(), and blender::ed::sculpt_paint::mask::sculpt_mask_init_exec().
| void blender::ed::sculpt_paint::islands::invalidate | ( | SculptSession & | ss | ) |
Mark vertex island keys as invalid. Call when adding or hiding geometry.
Definition at line 6325 of file sculpt.cc.
References invalidate(), and blender::SculptSession::topology_island_cache.
Referenced by blender::ed::sculpt_paint::face_set::change_visibility_exec(), blender::ed::sculpt_paint::trim::gesture_begin(), blender::ed::sculpt_paint::hide::hide_show_all_exec(), blender::ed::sculpt_paint::hide::hide_show_end(), blender::ed::sculpt_paint::hide::hide_show_masked_exec(), invalidate(), blender::ed::sculpt_paint::hide::sync_all_from_faces(), blender::ed::sculpt_paint::hide::visibility_filter_exec(), and blender::ed::sculpt_paint::hide::visibility_invert_exec().
|
static |
Definition at line 6330 of file sculpt.cc.
References blender::AtomicDisjointSet::calc_reduced_ids(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::threading::parallel_for(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), and vert_disjoint_set_to_islands().
Referenced by calc_topology_islands_bmesh(), calc_topology_islands_mesh(), and vert_disjoint_set_to_islands().
| int blender::ed::sculpt_paint::islands::vert_id_get | ( | const SculptSession & | ss, |
| int | vert ) |
Get vertex island key.
Definition at line 6310 of file sculpt.cc.
References blender::BLI_assert(), blender::Array< T, InlineBufferCapacity, Allocator >::is_empty(), blender::SculptSession::topology_island_cache, vert_id_get(), and blender::SculptTopologyIslandCache::vert_island_ids.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_init(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_interpolated_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::fake_neighbor_search(), blender::ed::sculpt_paint::fake_neighbor_search_bmesh(), blender::ed::sculpt_paint::fake_neighbor_search_grids(), blender::ed::sculpt_paint::fake_neighbor_search_mesh(), blender::ed::sculpt_paint::expand::find_active_connected_components_from_vert(), blender::ed::sculpt_paint::expand::is_vert_in_active_component(), blender::ed::sculpt_paint::mask::sculpt_mask_init_exec(), and vert_id_get().