|
Blender V4.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 5971 of file sculpt.cc.
References blender::bke::pbvh::all_leaf_nodes(), BKE_pbvh_bmesh_node_faces(), bm, SculptSession::bm, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_elem_index_get, BM_mesh_elem_index_ensure(), BM_VERT, calc_topology_islands_bmesh(), blender::index_mask::IndexMask::foreach_index(), blender::AtomicDisjointSet::join(), blender::bke::pbvh::Tree::nodes(), blender::bke::object::pbvh_get(), BMesh::totvert, and vert_disjoint_set_to_islands().
Referenced by calc_topology_islands_bmesh(), and calculate_cache().
|
static |
Definition at line 5946 of file sculpt.cc.
References BKE_subdiv_ccg_key_top_level(), calc_topology_islands_grids(), SubdivCCG::grids_num, blender::threading::parallel_for(), SubdivCCG::positions, and SculptSession::subdiv_ccg.
Referenced by calc_topology_islands_grids(), and calculate_cache().
|
static |
Definition at line 5921 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::index_mask::IndexMask::from_bools_inverse(), blender::Span< T >::index_range(), blender::Span< T >::is_empty(), blender::AtomicDisjointSet::join(), blender::Span< T >::slice(), and vert_disjoint_set_to_islands().
Referenced by calc_topology_islands_mesh(), and calculate_cache().
|
static |
Definition at line 5999 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::bke::pbvh::Grids, blender::bke::pbvh::Mesh, and blender::bke::object::pbvh_get().
Referenced by calculate_cache(), and ensure_cache().
| void blender::ed::sculpt_paint::islands::ensure_cache | ( | Object & | object | ) |
Definition at line 6013 of file sculpt.cc.
References calculate_cache(), ensure_cache(), and SculptSession::topology_island_cache.
Referenced by blender::ed::sculpt_paint::expand::check_topology_islands(), ensure_cache(), 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 5895 of file sculpt.cc.
References SculptSession::topology_island_cache.
Referenced by blender::ed::sculpt_paint::trim::gesture_begin(), blender::ed::sculpt_paint::hide::hide_show_all_exec(), blender::ed::sculpt_paint::hide::hide_show_masked_exec(), blender::ed::sculpt_paint::hide::sync_all_from_faces(), and blender::ed::sculpt_paint::hide::visibility_invert_exec().
|
static |
Definition at line 5900 of file sculpt.cc.
References blender::AtomicDisjointSet::calc_reduced_ids(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), 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 5880 of file sculpt.cc.
References BLI_assert, blender::Array< T, InlineBufferCapacity, Allocator >::is_empty(), SculptSession::topology_island_cache, vert_id_get(), and SculptTopologyIslandCache::vert_island_ids.
Referenced by blender::ed::sculpt_paint::auto_mask::calc_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::expand::is_vert_in_active_component(), blender::ed::sculpt_paint::mask::sculpt_mask_init_exec(), and vert_id_get().