|
Blender V4.3
|
#include <BKE_pbvh_api.hh>
Public Member Functions | |
| Tree (const Tree &other)=delete | |
| Tree (Tree &&other)=default | |
| Tree & | operator= (const Tree &other)=delete |
| Tree & | operator= (Tree &&other)=default |
| ~Tree () | |
| int | nodes_num () const |
| template<typename NodeT > | |
| Span< NodeT > | nodes () const |
| template<typename NodeT > | |
| MutableSpan< NodeT > | nodes () |
| Type | type () const |
| void | tag_positions_changed (const IndexMask &node_mask) |
| void | tag_visibility_changed (const IndexMask &node_mask) |
| void | tag_topology_changed (const IndexMask &node_mask) |
| void | tag_face_sets_changed (const IndexMask &node_mask) |
| void | tag_masks_changed (const IndexMask &node_mask) |
| void | tag_attribute_changed (const IndexMask &node_mask, StringRef attribute_name) |
| template<> | |
| Span< MeshNode > | nodes () const |
| template<> | |
| Span< GridsNode > | nodes () const |
| template<> | |
| Span< BMeshNode > | nodes () const |
| template<> | |
| MutableSpan< MeshNode > | nodes () |
| template<> | |
| MutableSpan< GridsNode > | nodes () |
| template<> | |
| MutableSpan< BMeshNode > | nodes () |
Static Public Member Functions | |
| static Tree | from_mesh (const Mesh &mesh) |
| static Tree | from_grids (const Mesh &base_mesh, const SubdivCCG &subdiv_ccg) |
| static Tree | from_bmesh (BMesh &bm) |
Public Attributes | |
| std::variant< Vector< MeshNode >, Vector< GridsNode >, Vector< BMeshNode > > | nodes_ |
| BitVector | bounds_dirty_ |
| BitVector | normals_dirty_ |
| BitVector | visibility_dirty_ |
| float | planes_ [6][4] |
| int | num_planes_ |
| pixels::PBVHData * | pixels_ = nullptr |
| std::unique_ptr< DrawCache > | draw_data |
bke::pbvh API. Definition at line 207 of file BKE_pbvh_api.hh.
|
delete |
|
default |
| blender::bke::pbvh::Tree::~Tree | ( | ) |
Definition at line 534 of file pbvh.cc.
References blender::bke::pbvh::node_pixels_free(), nodes(), nodes_, PBVH_Leaf, PBVH_TexLeaf, and blender::bke::pbvh::pixels_free().
Build a BVH tree from a triangle BMesh.
Definition at line 2208 of file pbvh_bmesh.cc.
References BLI_memarena_new(), BLI_MEMARENA_STD_BUFSIZE, bm, BM_ELEM_CD_SET_INT, BM_elem_index_set, BM_FACE, BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_ITER_MESH, BM_ITER_MESH_INDEX, BM_VERTS_OF_MESH, blender::bke::pbvh::BMesh, CD_PROP_INT32, BMVert::co, CustomData_get_offset_named(), DYNTOPO_NODE_NONE, BMesh::elem_index_dirty, blender::math::min_max(), blender::bke::pbvh::negative_bounds(), BMLoop::next, nodes_, blender::threading::parallel_for(), blender::bke::pbvh::pbvh_bmesh_create_nodes_fast_recursive(), blender::bke::pbvh::pbvh_bmesh_node_limit_ensure_fast(), BMesh::pdata, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::bke::pbvh::store_bounds_orig(), tag_positions_changed(), blender::bke::pbvh::FastNodeBuildInfo::totface, BMesh::totface, blender::bke::pbvh::update_bounds_bmesh(), BMLoop::v, v, and BMesh::vdata.
Referenced by blender::bke::build_pbvh_for_dynamic_topology().
|
static |
Build a BVH tree from grids geometry.
Definition at line 389 of file pbvh.cc.
References Geometry::attributes, BKE_subdiv_ccg_key_top_level(), bounds(), blender::bke::pbvh::build_nodes_recursive_grids(), blender::bke::pbvh::calc_face_grid_bounds(), CCGKey::grid_area, init(), blender::bke::pbvh::leaf_limit, blender::bke::pbvh::merge_bounds(), blender::bke::pbvh::negative_bounds(), nodes_, SubdivCCG::positions, range, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), and SCOPED_TIMER_AVERAGED.
Referenced by blender::bke::build_pbvh_from_ccg().
Build a BVH tree from base mesh triangles.
Definition at line 234 of file pbvh.cc.
References bounds(), blender::bke::pbvh::build_mesh_leaf_nodes(), blender::bke::pbvh::build_nodes_recursive_mesh(), blender::bke::pbvh::calc_face_bounds(), init(), blender::Span< T >::is_empty(), blender::bke::pbvh::leaf_limit, blender::bke::pbvh::merge_bounds(), blender::bke::pbvh::negative_bounds(), nodes_, range, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), SCOPED_TIMER_AVERAGED, blender::Span< T >::slice(), blender::bke::pbvh::store_bounds_orig(), tag_positions_changed(), and blender::bke::pbvh::update_bounds_mesh().
Referenced by blender::bke::build_pbvh_from_regular_mesh().
| MutableSpan< NodeT > blender::bke::pbvh::Tree::nodes | ( | ) |
| MutableSpan< MeshNode > blender::bke::pbvh::Tree::nodes | ( | ) |
| MutableSpan< GridsNode > blender::bke::pbvh::Tree::nodes | ( | ) |
| MutableSpan< BMeshNode > blender::bke::pbvh::Tree::nodes | ( | ) |
| Span< NodeT > blender::bke::pbvh::Tree::nodes | ( | ) | const |
Referenced by blender::ed::sculpt_paint::mask::apply_mask_from_settings(), blender::ed::sculpt_paint::mask::apply_new_mask_bmesh(), blender::ed::sculpt_paint::mask::apply_new_mask_grids(), blender::ed::sculpt_paint::mask::apply_new_mask_mesh(), blender::bke::pbvh::pixels::apply_watertight_check(), blender::ed::sculpt_paint::average_mask_border_position(), blender::ed::sculpt_paint::average_unmasked_position(), BKE_sculpt_update_object_before_eval(), blender::ed::sculpt_paint::smooth::blur_geometry_data_array(), blender::bke::pbvh::bmesh_normals_update(), blender::bke::pbvh::bmesh_update_topology(), blender::ed::sculpt_paint::calc_area_center(), blender::ed::sculpt_paint::calc_area_normal(), blender::ed::sculpt_paint::calc_area_normal_and_center(), blender::ed::sculpt_paint::cloth::calc_constraint_factors(), blender::ed::sculpt_paint::filter::calc_enhance_details_filter(), blender::ed::sculpt_paint::filter::calc_erase_displacement_filter(), blender::ed::sculpt_paint::filter::calc_inflate_filter(), blender::draw::pbvh::calc_material_indices(), blender::ed::sculpt_paint::filter::calc_random_filter(), blender::ed::sculpt_paint::filter::calc_relax_face_sets_filter(), blender::ed::sculpt_paint::filter::calc_relax_filter(), blender::ed::sculpt_paint::filter::calc_scale_filter(), blender::ed::sculpt_paint::filter::calc_sharpen_filter(), blender::ed::sculpt_paint::filter::calc_smooth_filter(), blender::ed::sculpt_paint::calc_smooth_translations(), blender::ed::sculpt_paint::filter::calc_sphere_filter(), blender::ed::sculpt_paint::filter::calc_surface_smooth_filter(), blender::ed::sculpt_paint::islands::calc_topology_islands_bmesh(), blender::draw::pbvh::calc_use_flat_layout(), calculate_average_weight(), blender::ed::sculpt_paint::face_set::clear_face_sets(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_foces(), blender::ed::sculpt_paint::cloth::cloth_sim_initialize_default_node_state(), blender::bke::pbvh::pixels::count_nodes_to_update(), blender::ed::sculpt_paint::boundary::do_bend_brush(), blender::ed::sculpt_paint::do_bmesh_topology_rake_brush(), blender::ed::sculpt_paint::do_clay_brush(), blender::ed::sculpt_paint::do_clay_strips_brush(), blender::ed::sculpt_paint::do_clay_thumb_brush(), blender::ed::sculpt_paint::do_displacement_eraser_brush(), blender::ed::sculpt_paint::do_displacement_smear_brush(), blender::ed::sculpt_paint::do_draw_vector_displacement_brush(), blender::ed::sculpt_paint::do_elastic_deform_brush(), blender::ed::sculpt_paint::do_enhance_details_brush(), blender::ed::sculpt_paint::boundary::do_grab_brush(), blender::ed::sculpt_paint::do_grab_brush(), blender::ed::sculpt_paint::boundary::do_inflate_brush(), blender::ed::sculpt_paint::do_inflate_brush(), blender::ed::sculpt_paint::do_layer_brush(), blender::ed::sculpt_paint::do_mask_brush(), blender::ed::sculpt_paint::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::do_pinch_brush(), blender::ed::sculpt_paint::pose::do_pose_brush(), blender::ed::sculpt_paint::do_rotate_brush(), blender::ed::sculpt_paint::cloth::do_simulation_step(), blender::ed::sculpt_paint::boundary::do_slide_brush(), blender::ed::sculpt_paint::color::do_smear_brush(), blender::ed::sculpt_paint::boundary::do_smooth_brush(), blender::ed::sculpt_paint::do_smooth_brush(), blender::ed::sculpt_paint::do_smooth_mask_brush(), blender::ed::sculpt_paint::do_snake_hook_brush(), blender::ed::sculpt_paint::do_thumb_brush(), blender::ed::sculpt_paint::do_topology_slide_brush(), blender::ed::sculpt_paint::boundary::do_twist_brush(), do_wpaint_brush_blur(), do_wpaint_brush_draw(), do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::face_set::edit_fairing(), blender::ed::sculpt_paint::cloth::ensure_nodes_constraints(), blender::draw::pbvh::ensure_vbos_allocated_bmesh(), blender::draw::pbvh::ensure_vbos_allocated_grids(), blender::draw::pbvh::ensure_vbos_allocated_mesh(), blender::ed::sculpt_paint::face_set::face_hide_update(), blender::ed::sculpt_paint::face_set::face_sets_update(), blender::ed::sculpt_paint::fake_neighbor_search(), blender::ed::sculpt_paint::mask::fill_mask_bmesh(), blender::ed::sculpt_paint::mask::fill_mask_grids(), blender::ed::sculpt_paint::mask::fill_mask_mesh(), blender::draw::pbvh::fill_vbos_bmesh(), blender::draw::pbvh::fill_vbos_grids(), blender::draw::pbvh::fill_vbos_mesh(), blender::bke::pbvh::pixels::find_nodes_to_update(), blender::ed::sculpt_paint::hide::flush_face_changes_node(), blender::ed::sculpt_paint::face_set::gesture_apply_bmesh(), blender::ed::sculpt_paint::mask::gesture_apply_for_symmetry_pass(), blender::ed::sculpt_paint::project::gesture_apply_for_symmetry_pass(), blender::ed::sculpt_paint::face_set::gesture_apply_mesh(), blender::ed::sculpt_paint::hide::grid_hide_update(), blender::ed::sculpt_paint::hide::grids_show_all(), blender::ed::sculpt_paint::pose::grow_pose_factor(), blender::ed::sculpt_paint::hide::grow_shrink_visibility_grid(), blender::ed::sculpt_paint::mask::init_mask_grids(), blender::ed::sculpt_paint::mask::invert_mask_bmesh(), blender::ed::sculpt_paint::mask::invert_mask_grids(), blender::ed::sculpt_paint::hide::invert_visibility_bmesh(), blender::ed::sculpt_paint::hide::invert_visibility_grids(), blender::ed::sculpt_paint::hide::invert_visibility_mesh(), blender::ed::sculpt_paint::filter::mesh_filter_sharpen_init(), blender::ed::sculpt_paint::hide::mesh_show_all(), blender::ed::sculpt_paint::nearest_vert_calc_bmesh(), blender::ed::sculpt_paint::nearest_vert_calc_grids(), blender::ed::sculpt_paint::nearest_vert_calc_mesh(), blender::ed::sculpt_paint::offset_positions(), blender::ed::sculpt_paint::hide::partialvis_update_bmesh_nodes(), blender::ed::sculpt_paint::undo::push_nodes(), blender::ed::sculpt_paint::expand::restore_color_data(), blender::ed::sculpt_paint::undo::restore_color_from_undo_step(), blender::ed::sculpt_paint::undo::restore_face_set_from_undo_step(), blender::ed::sculpt_paint::undo::restore_list(), blender::ed::sculpt_paint::undo::restore_mask_from_undo_step(), blender::ed::sculpt_paint::undo::restore_position_from_undo_step(), blender::ed::sculpt_paint::sample_surface(), blender::ed::sculpt_paint::cloth::sculpt_cloth_filter_modal(), blender::ed::sculpt_paint::color::sculpt_color_filter_apply(), blender::ed::sculpt_paint::color::sculpt_color_presmooth_init(), blender::ed::sculpt_paint::dyntopo::sculpt_detail_flood_fill_exec(), SCULPT_do_paint_brush_image(), blender::ed::sculpt_paint::mask::sculpt_mask_filter_exec(), blender::ed::sculpt_paint::mask::sculpt_mask_init_exec(), blender::ed::sculpt_paint::sculpt_transform_all_vertices(), blender::ed::sculpt_paint::cloth::sim_activate_nodes(), blender::ed::sculpt_paint::transform_radius_elastic(), blender::ed::sculpt_paint::mask::try_remove_mask_mesh(), blender::bke::pbvh::update_bounds_bmesh(), blender::bke::pbvh::update_bounds_grids(), blender::bke::pbvh::update_bounds_mesh(), blender::ed::sculpt_paint::expand::update_for_vert(), blender::bke::pbvh::update_mask_bmesh(), blender::bke::pbvh::update_mask_grids(), blender::bke::pbvh::update_mask_mesh(), blender::ed::sculpt_paint::mask::update_mask_mesh(), blender::bke::pbvh::update_normals(), blender::ed::sculpt_paint::hide::update_undo_state(), blender::bke::pbvh::update_visibility(), blender::ed::sculpt_paint::hide::vert_hide_update(), vpaint_do_paint(), blender::ed::sculpt_paint::mask::write_mask_mesh(), and ~Tree().
| int blender::bke::pbvh::Tree::nodes_num | ( | ) | const |
Definition at line 504 of file pbvh.cc.
References nodes_.
Referenced by BKE_pbvh_vert_coords_apply(), blender::ed::sculpt_paint::face_set::clear_face_sets(), blender::ed::sculpt_paint::cloth::cloth_sim_initialize_default_node_state(), blender::draw::pbvh::DrawCacheImpl::ensure_lines_batches(), blender::draw::pbvh::DrawCacheImpl::ensure_material_indices(), blender::draw::pbvh::DrawCacheImpl::ensure_tris_batches(), blender::ed::sculpt_paint::face_set::face_sets_update(), and blender::ed::sculpt_paint::face_set::gesture_apply_mesh().
| void blender::bke::pbvh::Tree::tag_attribute_changed | ( | const IndexMask & | node_mask, |
| StringRef | attribute_name ) |
Tag nodes where generic attribute data has changed (not positions, masks, or face sets).
Definition at line 593 of file pbvh.cc.
References draw_data.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::expand::restore_color_data(), blender::ed::sculpt_paint::undo::restore_color_from_undo_step(), blender::ed::sculpt_paint::undo::restore_list(), blender::ed::sculpt_paint::color::sculpt_color_filter_apply(), transform_active_color(), blender::ed::sculpt_paint::expand::update_for_vert(), and vertex_color_set_exec().
| void blender::bke::pbvh::Tree::tag_face_sets_changed | ( | const IndexMask & | node_mask | ) |
Tag nodes where face sets have changed, causing refresh of derived data.
Definition at line 579 of file pbvh.cc.
References draw_data.
Referenced by blender::ed::sculpt_paint::face_set::clear_face_sets(), blender::ed::sculpt_paint::expand::face_sets_update(), blender::ed::sculpt_paint::face_set::face_sets_update(), blender::ed::sculpt_paint::face_set::gesture_apply_bmesh(), blender::ed::sculpt_paint::face_set::gesture_apply_mesh(), blender::ed::sculpt_paint::face_set::init_op_exec(), blender::ed::sculpt_paint::face_set::randomize_colors_exec(), blender::ed::sculpt_paint::expand::restore_face_set_data(), blender::ed::sculpt_paint::undo::restore_face_set_from_undo_step(), and blender::ed::sculpt_paint::undo::restore_list().
| void blender::bke::pbvh::Tree::tag_masks_changed | ( | const IndexMask & | node_mask | ) |
Tag nodes where mask values have changed, causing refresh of derived data.
Definition at line 586 of file pbvh.cc.
References draw_data.
Referenced by blender::ed::sculpt_paint::mask::apply_new_mask_bmesh(), blender::ed::sculpt_paint::mask::apply_new_mask_grids(), blender::ed::sculpt_paint::mask::apply_new_mask_mesh(), blender::ed::sculpt_paint::undo::bmesh_restore_generic(), blender::ed::sculpt_paint::do_mask_brush(), blender::ed::sculpt_paint::do_smooth_mask_brush(), blender::ed::sculpt_paint::mask::fill_mask_bmesh(), blender::ed::sculpt_paint::mask::fill_mask_mesh(), blender::ed::sculpt_paint::mask::gesture_apply_for_symmetry_pass(), blender::ed::sculpt_paint::mask::init_mask_grids(), blender::ed::sculpt_paint::mask::invert_mask_bmesh(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), blender::ed::sculpt_paint::mask::mask_from_cavity_exec(), blender::ed::sculpt_paint::undo::restore_list(), blender::ed::sculpt_paint::undo::restore_mask_from_undo_step(), blender::ed::sculpt_paint::mask::sculpt_mask_filter_exec(), blender::ed::sculpt_paint::mask::sculpt_mask_init_exec(), blender::ed::sculpt_paint::expand::update_for_vert(), blender::ed::sculpt_paint::mask::update_mask_mesh(), blender::ed::sculpt_paint::expand::write_mask_data(), and blender::ed::sculpt_paint::mask::write_mask_mesh().
| void blender::bke::pbvh::Tree::tag_positions_changed | ( | const IndexMask & | node_mask | ) |
Mark data based on positions for specific BVH nodes dirty. In particular: bounds, normals, and GPU data buffers. That data is recomputed later on in functions like update_bounds.
Definition at line 549 of file pbvh.cc.
References bounds_dirty_, draw_data, blender::index_mask::IndexMask::min_array_size(), normals_dirty_, blender::bits::BitVector< InlineBufferCapacity, Allocator >::resize(), blender::index_mask::IndexMask::set_bits(), and blender::bits::BitVector< InlineBufferCapacity, Allocator >::size().
Referenced by BKE_pbvh_bmesh_after_stroke(), BKE_pbvh_vert_coords_apply(), BKE_sculpt_update_object_before_eval(), blender::bke::pbvh::bmesh_update_topology(), blender::ed::sculpt_paint::boundary::do_bend_brush(), blender::ed::sculpt_paint::do_bmesh_topology_rake_brush(), blender::ed::sculpt_paint::do_clay_brush(), blender::ed::sculpt_paint::do_clay_strips_brush(), blender::ed::sculpt_paint::do_clay_thumb_brush(), blender::ed::sculpt_paint::do_displacement_eraser_brush(), blender::ed::sculpt_paint::do_displacement_smear_brush(), blender::ed::sculpt_paint::do_draw_vector_displacement_brush(), blender::ed::sculpt_paint::do_elastic_deform_brush(), blender::ed::sculpt_paint::do_enhance_details_brush(), blender::ed::sculpt_paint::boundary::do_grab_brush(), blender::ed::sculpt_paint::do_grab_brush(), blender::ed::sculpt_paint::boundary::do_inflate_brush(), blender::ed::sculpt_paint::do_inflate_brush(), blender::ed::sculpt_paint::do_layer_brush(), blender::ed::sculpt_paint::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::do_pinch_brush(), blender::ed::sculpt_paint::pose::do_pose_brush(), blender::ed::sculpt_paint::do_rotate_brush(), blender::ed::sculpt_paint::cloth::do_simulation_step(), blender::ed::sculpt_paint::boundary::do_slide_brush(), blender::ed::sculpt_paint::boundary::do_smooth_brush(), blender::ed::sculpt_paint::do_smooth_brush(), blender::ed::sculpt_paint::do_snake_hook_brush(), blender::ed::sculpt_paint::do_surface_smooth_brush(), blender::ed::sculpt_paint::do_thumb_brush(), blender::ed::sculpt_paint::do_topology_slide_brush(), blender::ed::sculpt_paint::boundary::do_twist_brush(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::face_set::edit_modify_coordinates(), from_bmesh(), from_mesh(), blender::ed::sculpt_paint::project::gesture_apply_for_symmetry_pass(), blender::ed::sculpt_paint::offset_positions(), blender::ed::sculpt_paint::undo::restore_list(), blender::ed::sculpt_paint::undo::restore_position_from_undo_step(), blender::ed::sculpt_paint::cloth::sculpt_cloth_filter_modal(), blender::ed::sculpt_paint::filter::sculpt_mesh_filter_apply(), blender::ed::sculpt_paint::sculpt_transform_all_vertices(), and blender::ed::sculpt_paint::transform_radius_elastic().
| void blender::bke::pbvh::Tree::tag_topology_changed | ( | const IndexMask & | node_mask | ) |
Tag nodes that have a different number of vertices or faces (currently just for Type::BMesh).
Definition at line 572 of file pbvh.cc.
References draw_data.
Referenced by BKE_pbvh_bmesh_after_stroke(), blender::bke::pbvh::bmesh_update_topology(), and blender::ed::sculpt_paint::dynamic_topology_update().
| void blender::bke::pbvh::Tree::tag_visibility_changed | ( | const IndexMask & | node_mask | ) |
Tag nodes where face or vertex visibility has changed.
Definition at line 562 of file pbvh.cc.
References bounds_dirty_, draw_data, blender::index_mask::IndexMask::min_array_size(), blender::bits::BitVector< InlineBufferCapacity, Allocator >::resize(), blender::index_mask::IndexMask::set_bits(), blender::bits::BitVector< InlineBufferCapacity, Allocator >::size(), and visibility_dirty_.
Referenced by blender::ed::sculpt_paint::face_set::face_hide_update(), blender::ed::sculpt_paint::hide::flush_face_changes_node(), blender::ed::sculpt_paint::hide::grid_hide_update(), blender::ed::sculpt_paint::hide::grids_show_all(), blender::ed::sculpt_paint::hide::grow_shrink_visibility_grid(), blender::ed::sculpt_paint::hide::invert_visibility_bmesh(), blender::ed::sculpt_paint::hide::invert_visibility_grids(), blender::ed::sculpt_paint::hide::invert_visibility_mesh(), blender::ed::sculpt_paint::hide::mesh_show_all(), blender::ed::sculpt_paint::hide::partialvis_update_bmesh_nodes(), and blender::ed::sculpt_paint::undo::restore_list().
|
inline |
Definition at line 264 of file BKE_pbvh_api.hh.
Referenced by blender::ed::sculpt_paint::mask::apply_mask_from_settings(), blender::ed::sculpt_paint::average_mask_border_position(), blender::ed::sculpt_paint::average_unmasked_position(), BKE_sculpt_update_object_before_eval(), BKE_sculptsession_use_pbvh_draw(), blender::ed::sculpt_paint::smooth::blur_geometry_data_array(), blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::calc_area_center(), blender::ed::sculpt_paint::calc_area_normal(), blender::ed::sculpt_paint::calc_area_normal_and_center(), blender::ed::sculpt_paint::cloth::calc_constraint_factors(), blender::ed::sculpt_paint::filter::calc_enhance_details_filter(), blender::ed::sculpt_paint::expand::calc_falloff_from_vert_and_symmetry(), blender::ed::sculpt_paint::filter::calc_inflate_filter(), blender::draw::pbvh::calc_material_indices(), blender::ed::sculpt_paint::filter::calc_random_filter(), blender::ed::sculpt_paint::filter::calc_relax_face_sets_filter(), blender::ed::sculpt_paint::filter::calc_relax_filter(), blender::ed::sculpt_paint::filter::calc_scale_filter(), blender::ed::sculpt_paint::filter::calc_sharpen_filter(), blender::ed::sculpt_paint::filter::calc_smooth_filter(), blender::ed::sculpt_paint::calc_smooth_translations(), blender::ed::sculpt_paint::filter::calc_sphere_filter(), blender::ed::sculpt_paint::filter::calc_surface_smooth_filter(), blender::ed::sculpt_paint::expand::calc_topology_falloff_from_verts(), blender::draw::pbvh::calc_use_flat_layout(), blender::ed::sculpt_paint::trim::can_exec(), blender::ed::sculpt_paint::face_set::change_visibility_exec(), blender::ed::sculpt_paint::face_set::clear_face_sets(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_foces(), blender::ed::sculpt_paint::cloth::cloth_sim_initialize_default_node_state(), blender::ed::sculpt_paint::cloth::copy_normals_to_array(), blender::ed::sculpt_paint::cloth::copy_positions_to_array(), blender::ed::sculpt_paint::face_set::create_op_exec(), blender::ed::sculpt_paint::boundary::data_init(), blender::ed::sculpt_paint::expand::diagonals_falloff_create(), blender::ed::sculpt_paint::boundary::do_bend_brush(), blender::ed::sculpt_paint::boundary::do_boundary_brush(), blender::ed::sculpt_paint::do_clay_brush(), blender::ed::sculpt_paint::do_clay_strips_brush(), blender::ed::sculpt_paint::do_clay_thumb_brush(), blender::ed::sculpt_paint::do_draw_vector_displacement_brush(), blender::ed::sculpt_paint::do_elastic_deform_brush(), blender::ed::sculpt_paint::do_enhance_details_brush(), blender::ed::sculpt_paint::boundary::do_grab_brush(), blender::ed::sculpt_paint::do_grab_brush(), blender::ed::sculpt_paint::boundary::do_inflate_brush(), blender::ed::sculpt_paint::do_inflate_brush(), blender::ed::sculpt_paint::do_layer_brush(), blender::ed::sculpt_paint::do_mask_brush(), blender::ed::sculpt_paint::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::do_pinch_brush(), blender::ed::sculpt_paint::pose::do_pose_brush(), blender::ed::sculpt_paint::do_relax_face_sets_brush(), blender::ed::sculpt_paint::do_rotate_brush(), blender::ed::sculpt_paint::cloth::do_simulation_step(), blender::ed::sculpt_paint::boundary::do_slide_brush(), blender::ed::sculpt_paint::boundary::do_smooth_brush(), blender::ed::sculpt_paint::do_smooth_brush(), blender::ed::sculpt_paint::do_smooth_mask_brush(), blender::ed::sculpt_paint::do_snake_hook_brush(), blender::ed::sculpt_paint::do_surface_smooth_brush(), blender::ed::sculpt_paint::do_thumb_brush(), blender::ed::sculpt_paint::do_topology_slide_brush(), blender::ed::sculpt_paint::boundary::do_twist_brush(), blender::ed::sculpt_paint::face_set::edit_is_operation_valid(), blender::ed::sculpt_paint::cloth::ensure_nodes_constraints(), blender::ed::sculpt_paint::face_set::face_hide_update(), blender::ed::sculpt_paint::face_set::face_sets_update(), blender::ed::sculpt_paint::fake_neighbor_search(), blender::ed::sculpt_paint::mask::fill_mask(), blender::bke::pbvh::find_nearest_to_ray_node(), blender::ed::sculpt_paint::find_symm_verts(), blender::ed::sculpt_paint::flush_update_done(), blender::ed::sculpt_paint::flush_update_step(), blender::ed::sculpt_paint::geometry_preview_lines_update(), blender::ed::sculpt_paint::project::gesture_apply_for_symmetry_pass(), blender::ed::sculpt_paint::face_set::gesture_apply_mesh(), blender::ed::sculpt_paint::trim::gesture_begin(), blender::ed::sculpt_paint::pose::grow_pose_factor(), blender::ed::sculpt_paint::hide::hide_show_all_exec(), blender::ed::sculpt_paint::hide::hide_show_masked_exec(), blender::ed::sculpt_paint::pose::ik_chain_init_topology(), blender::ed::sculpt_paint::expand::init_from_face_set_boundary(), blender::ed::sculpt_paint::face_set::init_op_exec(), blender::ed::sculpt_paint::filter::mesh_filter_sharpen_init(), blender::draw::overlay::Sculpts::mesh_sync(), multires_flush_sculpt_updates(), blender::ed::sculpt_paint::no_multires_poll(), blender::ed::sculpt_paint::expand::normals_falloff_create(), blender::workbench::ObjectState::ObjectState(), blender::ed::sculpt_paint::offset_positions(), OVERLAY_sculpt_cache_populate(), blender::ed::sculpt_paint::boundary::preview_data_init(), blender::ed::sculpt_paint::undo::push_begin_ex(), blender::ed::sculpt_paint::undo::push_node(), blender::ed::sculpt_paint::undo::push_nodes(), blender::ed::sculpt_paint::face_set::randomize_colors_exec(), blender::ed::sculpt_paint::undo::restore_color_from_undo_step(), blender::ed::sculpt_paint::undo::restore_face_set_from_undo_step(), blender::ed::sculpt_paint::undo::restore_mask_from_undo_step(), blender::ed::sculpt_paint::undo::restore_position_from_undo_step(), blender::ed::sculpt_paint::expand::resursion_step_add(), blender::ed::sculpt_paint::dyntopo::sample_detail(), blender::ed::sculpt_paint::sample_surface(), blender::ed::sculpt_paint::sculpt_brush_stroke_invoke(), blender::ed::sculpt_paint::cloth::sculpt_cloth_filter_modal(), SCULPT_cursor_geometry_info_update(), blender::ed::sculpt_paint::expand::sculpt_expand_invoke(), sculpt_find_nearest_to_ray_cb(), blender::ed::sculpt_paint::mask::sculpt_mask_filter_exec(), blender::ed::sculpt_paint::mask::sculpt_mask_init_exec(), blender::ed::sculpt_paint::filter::sculpt_mesh_filter_start(), sculpt_raycast_cb(), SCULPT_stroke_get_location_ex(), blender::ed::sculpt_paint::sculpt_transform_all_vertices(), SCULPT_vertex_is_occluded(), blender::ed::sculpt_paint::cloth::sim_activate_nodes(), blender::ed::sculpt_paint::expand::snap_init_from_enabled(), blender::ed::sculpt_paint::expand::spherical_falloff_create(), stats_object_sculpt(), blender::ed::sculpt_paint::dyntopo::stroke_is_dyntopo(), blender::ed::sculpt_paint::symmetrize_exec(), blender::ed::sculpt_paint::transform_radius_elastic(), blender::bke::pbvh::update_bounds(), blender::ed::sculpt_paint::expand::update_for_vert(), blender::bke::pbvh::update_normals(), blender::bke::pbvh::update_visibility(), blender::ed::sculpt_paint::expand::vert_to_face_falloff(), blender::ed::sculpt_paint::hide::visibility_filter_exec(), blender::ed::sculpt_paint::hide::visibility_invert_exec(), and blender::ed::sculpt_paint::expand::write_mask_data().
| BitVector blender::bke::pbvh::Tree::bounds_dirty_ |
If true, the bounds for the corresponding node index is out of date.
Definition at line 222 of file BKE_pbvh_api.hh.
Referenced by blender::bke::pbvh::flush_bounds_to_parents(), tag_positions_changed(), tag_visibility_changed(), blender::bke::pbvh::update_bounds_bmesh(), blender::bke::pbvh::update_bounds_grids(), and blender::bke::pbvh::update_bounds_mesh().
| std::unique_ptr<DrawCache> blender::bke::pbvh::Tree::draw_data |
Definition at line 244 of file BKE_pbvh_api.hh.
Referenced by drw_sculpt_generate_calls(), blender::draw::sculpt_batches_get_ex(), tag_attribute_changed(), tag_face_sets_changed(), tag_masks_changed(), tag_positions_changed(), tag_topology_changed(), and tag_visibility_changed().
| std::variant<Vector<MeshNode>, Vector<GridsNode>, Vector<BMeshNode> > blender::bke::pbvh::Tree::nodes_ |
Definition at line 215 of file BKE_pbvh_api.hh.
Referenced by blender::bke::pbvh::all_leaf_nodes(), BKE_pbvh_bmesh_after_stroke(), BKE_pbvh_draw_debug_cb(), BKE_pbvh_mark_rebuild_pixels(), blender::bke::pbvh::bounds_get(), blender::bke::pbvh::first_node(), blender::bke::pbvh::flush_bounds_to_parents(), from_bmesh(), from_grids(), from_mesh(), nodes(), nodes(), nodes_num(), blender::bke::pbvh::pbvh_iter_next(), blender::bke::pbvh::pbvh_iter_next_occluded(), blender::bke::pbvh::pixels::PixelNodesTileData::PixelNodesTileData(), blender::bke::pbvh::search_nodes(), blender::bke::pbvh::tree_is_empty(), and ~Tree().
| BitVector blender::bke::pbvh::Tree::normals_dirty_ |
If true, the normals for the corresponding node index are out of date.
Definition at line 229 of file BKE_pbvh_api.hh.
Referenced by tag_positions_changed(), and blender::bke::pbvh::update_normals().
| int blender::bke::pbvh::Tree::num_planes_ |
Definition at line 240 of file BKE_pbvh_api.hh.
Referenced by blender::bke::pbvh::get_frustum_planes(), and blender::bke::pbvh::set_frustum_planes().
| pixels::PBVHData* blender::bke::pbvh::Tree::pixels_ = nullptr |
Definition at line 242 of file BKE_pbvh_api.hh.
Referenced by blender::bke::pbvh::pixels::data_get(), blender::bke::pbvh::pixels::find_nodes_to_update(), and blender::bke::pbvh::pixels_free().
| float blender::bke::pbvh::Tree::planes_[6][4] |
Definition at line 239 of file BKE_pbvh_api.hh.
Referenced by blender::bke::pbvh::get_frustum_planes(), and blender::bke::pbvh::set_frustum_planes().
| BitVector blender::bke::pbvh::Tree::visibility_dirty_ |
If true, the visibility status for the corresponding node indices are out of date.
Definition at line 236 of file BKE_pbvh_api.hh.
Referenced by tag_visibility_changed(), and blender::bke::pbvh::update_visibility().