|
| static Bounds< float3 > | blender::bke::pbvh::negative_bounds () |
| static Bounds< float3 > | blender::bke::pbvh::merge_bounds (const Bounds< float3 > &a, const Bounds< float3 > &b) |
| int | blender::bke::pbvh::partition_along_axis (const Span< float3 > face_centers, MutableSpan< int > faces, const int axis, const float middle) |
| int | blender::bke::pbvh::partition_material_indices (const Span< int > material_indices, MutableSpan< int > faces) |
| static BLI_NOINLINE void | blender::bke::pbvh::build_mesh_leaf_nodes (const int verts_num, const OffsetIndices< int > faces, const Span< int > corner_verts, MutableSpan< MeshNode > nodes) |
| bool | blender::bke::pbvh::leaf_needs_material_split (const Span< int > faces, const Span< int > material_indices) |
| static void | blender::bke::pbvh::build_nodes_recursive_mesh (const Span< int > material_indices, const int leaf_limit, const int node_index, const int parent_index, const std::optional< Bounds< float3 > > &bounds_precalc, const Span< float3 > face_centers, const int depth, MutableSpan< int > faces, Vector< MeshNode > &nodes) |
| static void | blender::bke::pbvh::build_nodes_recursive_grids (const Span< int > material_indices, const int leaf_limit, const int node_index, const int parent_index, const std::optional< Bounds< float3 > > &bounds_precalc, const Span< float3 > face_centers, const int depth, MutableSpan< int > faces, Vector< GridsNode > &nodes) |
| static Bounds< float3 > | blender::bke::pbvh::calc_face_grid_bounds (const OffsetIndices< int > faces, const Span< float3 > positions, const CCGKey &key, const int face) |
| static bool | blender::bke::pbvh::tree_is_empty (const Tree &pbvh) |
| static Node & | blender::bke::pbvh::first_node (Tree &pbvh) |
| static void | blender::bke::pbvh::pbvh_iter_begin (PBVHIter *iter, Tree &pbvh, FunctionRef< bool(Node &)> scb) |
| static Node * | blender::bke::pbvh::pbvh_iter_next (PBVHIter *iter, Node::Flags leaf_flag) |
| static void | blender::bke::pbvh::search_callback_occluded (Tree &pbvh, const FunctionRef< std::optional< float >(const Node &)> scb, const FunctionRef< void(Node &node, float *distance)> hit_fn) |
| static bool | blender::bke::pbvh::mesh_topology_count_matches (const Mesh &a, const Mesh &b) |
| static PositionSourceResult | blender::bke::pbvh::cache_source_get (const Object &object_orig, const Object &object_eval) |
| static const SharedCache< Vector< float3 > > & | blender::bke::pbvh::vert_normals_cache_eval (const Object &object_orig, const Object &object_eval) |
| static SharedCache< Vector< float3 > > & | blender::bke::pbvh::vert_normals_cache_eval_for_write (Object &object_orig, Object &object_eval) |
| static const SharedCache< Vector< float3 > > & | blender::bke::pbvh::face_normals_cache_eval (const Object &object_orig, const Object &object_eval) |
| static SharedCache< Vector< float3 > > & | blender::bke::pbvh::face_normals_cache_eval_for_write (Object &object_orig, Object &object_eval) |
| static Span< float3 > | blender::bke::pbvh::vert_positions_eval (const Object &object_orig, const Object &object_eval) |
| static MutableSpan< float3 > | blender::bke::pbvh::vert_positions_eval_for_write (Object &object_orig, Object &object_eval) |
| Span< float3 > | blender::bke::pbvh::vert_positions_eval (const Depsgraph &depsgraph, const Object &object_orig) |
| Span< float3 > | blender::bke::pbvh::vert_positions_eval_from_eval (const Object &object_eval) |
| MutableSpan< float3 > | blender::bke::pbvh::vert_positions_eval_for_write (const Depsgraph &depsgraph, Object &object_orig) |
| Span< float3 > | blender::bke::pbvh::vert_normals_eval (const Depsgraph &depsgraph, const Object &object_orig) |
| Span< float3 > | blender::bke::pbvh::vert_normals_eval_from_eval (const Object &object_eval) |
| Span< float3 > | blender::bke::pbvh::face_normals_eval_from_eval (const Object &object_eval) |
| static void | blender::bke::pbvh::normals_calc_faces (const Span< float3 > positions, const OffsetIndices< int > faces, const Span< int > corner_verts, const Span< int > face_indices, MutableSpan< float3 > face_normals) |
| static void | blender::bke::pbvh::calc_node_face_normals (const Span< float3 > positions, const OffsetIndices< int > faces, const Span< int > corner_verts, const Span< MeshNode > nodes, const IndexMask &nodes_to_update, MutableSpan< float3 > face_normals) |
| static void | blender::bke::pbvh::normals_calc_verts_simple (const GroupedSpan< int > vert_to_face_map, const Span< float3 > face_normals, const Span< int > verts, MutableSpan< float3 > vert_normals) |
| static void | blender::bke::pbvh::calc_shared_vert_normals (const GroupedSpan< int > vert_to_face_map, const Span< float3 > face_normals, const Span< int > verts, MutableSpan< float3 > vert_normals) |
| static void | blender::bke::pbvh::calc_node_vert_normals (const GroupedSpan< int > vert_to_face_map, const Span< float3 > face_normals, const Span< MeshNode > nodes, const IndexMask &nodes_to_update, MutableSpan< float3 > vert_normals) |
| static Vector< int > | blender::bke::pbvh::gather_shared_verts (const Span< MeshNode > nodes, const IndexMask &nodes_to_update, const int verts_num) |
| static void | blender::bke::pbvh::update_normals_mesh (Object &object_orig, Object &object_eval, const Span< MeshNode > nodes, const IndexMask &nodes_to_update) |
| void | blender::bke::pbvh::update_normals (const Depsgraph &depsgraph, Object &object_orig, Tree &pbvh) |
| void | blender::bke::pbvh::update_normals_from_eval (Object &object_eval, Tree &pbvh) |
| void | blender::bke::pbvh::update_node_bounds_mesh (Span< float3 > positions, MeshNode &node) |
| void | blender::bke::pbvh::update_node_bounds_grids (int grid_area, Span< float3 > positions, GridsNode &node) |
| void | blender::bke::pbvh::update_node_bounds_bmesh (BMeshNode &node) |
| void | blender::bke::pbvh::store_bounds_orig (Tree &pbvh) |
| void | blender::bke::pbvh::node_update_mask_mesh (Span< float > mask, MeshNode &node) |
| void | blender::bke::pbvh::update_mask_mesh (const Mesh &mesh, const IndexMask &node_mask, Tree &pbvh) |
| void | blender::bke::pbvh::node_update_mask_grids (const CCGKey &key, Span< float > masks, GridsNode &node) |
| void | blender::bke::pbvh::update_mask_grids (const SubdivCCG &subdiv_ccg, const IndexMask &node_mask, Tree &pbvh) |
| void | blender::bke::pbvh::node_update_mask_bmesh (int mask_offset, BMeshNode &node) |
| void | blender::bke::pbvh::update_mask_bmesh (const BMesh &bm, const IndexMask &node_mask, Tree &pbvh) |
| void | blender::bke::pbvh::node_update_visibility_mesh (Span< bool > hide_vert, MeshNode &node) |
| static void | blender::bke::pbvh::update_visibility_faces (const Mesh &mesh, const MutableSpan< MeshNode > nodes, const IndexMask &node_mask) |
| void | blender::bke::pbvh::node_update_visibility_grids (const BitGroupVector<> &grid_hidden, GridsNode &node) |
| static void | blender::bke::pbvh::update_visibility_grids (const SubdivCCG &subdiv_ccg, const MutableSpan< GridsNode > nodes, const IndexMask &node_mask) |
| void | blender::bke::pbvh::node_update_visibility_bmesh (BMeshNode &node) |
| static void | blender::bke::pbvh::update_visibility_bmesh (const MutableSpan< BMeshNode > nodes, const IndexMask &node_mask) |
| int | blender::bke::pbvh::count_grid_quads (const BitGroupVector<> &grid_hidden, Span< int > grid_indices, int gridsize, int display_gridsize) |
| IndexMask | blender::bke::pbvh::nodes_to_face_selection_grids (const SubdivCCG &subdiv_ccg, Span< GridsNode > nodes, const IndexMask &nodes_mask, IndexMaskMemory &memory) |
| Bounds< float3 > | blender::bke::pbvh::bounds_get (const Tree &pbvh) |
| void | blender::BKE_pbvh_mark_rebuild_pixels (bke::pbvh::Tree &pbvh) |
| void | blender::BKE_pbvh_node_fully_hidden_set (bke::pbvh::Node &node, int fully_hidden) |
| bool | blender::BKE_pbvh_node_fully_hidden_get (const bke::pbvh::Node &node) |
| void | blender::BKE_pbvh_node_fully_masked_set (bke::pbvh::Node &node, int fully_masked) |
| bool | blender::BKE_pbvh_node_fully_masked_get (const bke::pbvh::Node &node) |
| void | blender::BKE_pbvh_node_fully_unmasked_set (bke::pbvh::Node &node, int fully_masked) |
| bool | blender::BKE_pbvh_node_fully_unmasked_get (const bke::pbvh::Node &node) |
| Span< int > | blender::bke::pbvh::node_face_indices_calc_grids (const SubdivCCG &subdiv_ccg, const GridsNode &node, Vector< int > &faces) |
| void | blender::BKE_pbvh_node_get_bm_orco_data (const bke::pbvh::BMeshNode &node, Span< float3 > &r_orig_positions, Span< int3 > &r_orig_tris) |
| static std::optional< float > | blender::bke::pbvh::ray_aabb_intersect (const Node &node, const RaycastData &rcd) |
| void | blender::bke::pbvh::raycast (Tree &pbvh, const FunctionRef< void(Node &node, float *distance)> hit_fn, const float3 &ray_start, const float3 &ray_normal, bool original) |
| bool | blender::bke::pbvh::ray_face_intersection_quad (const float3 &ray_start, const IsectRayPrecalc *isect_precalc, const float3 &t0, const float3 &t1, const float3 &t2, const float3 &t3, float *depth) |
| bool | blender::bke::pbvh::ray_face_intersection_tri (const float3 &ray_start, const IsectRayPrecalc *isect_precalc, const float3 &t0, const float3 &t1, const float3 &t2, float *depth) |
| static float | blender::bke::pbvh::dist_squared_ray_to_tri_v3_fast (const float3 &ray_origin, const float3 &ray_direction, const float3 &v0, const float3 &v1, const float3 &v2, float3 &r_point, float *r_depth) |
| bool | blender::bke::pbvh::ray_face_nearest_quad (const float3 &ray_start, const float3 &ray_normal, const float3 &t0, const float3 &t1, const float3 &t2, const float3 &t3, float *r_depth, float *dist_sq) |
| bool | blender::bke::pbvh::ray_face_nearest_tri (const float3 &ray_start, const float3 &ray_normal, const float3 &t0, const float3 &t1, const float3 &t2, float *r_depth, float *dist_sq) |
| static void | blender::bke::pbvh::calc_mesh_intersect_data (const Span< int > corner_verts, const Span< int3 > corner_tris, const float3 &ray_start, const float3 &ray_normal, const int face_index, const int tri_index, const std::array< const float *, 3 > co, const float depth, int &r_active_vertex, int &r_active_face_index, float3 &r_face_normal) |
| bool | blender::bke::pbvh::node_raycast_mesh (const MeshNode &node, Span< float3 > node_positions, Span< float3 > vert_positions, OffsetIndices< int > faces, Span< int > corner_verts, Span< int3 > corner_tris, Span< bool > hide_poly, const float3 &ray_start, const float3 &ray_normal, IsectRayPrecalc *isect_precalc, float *depth, int &r_active_vertex, int &r_active_face_index, float3 &r_face_normal) |
| static void | blender::bke::pbvh::calc_grids_intersect_data (const float3 &ray_start, const float3 &ray_normal, const int grid, const short x, const short y, const std::array< const float *, 4 > co, const float depth, SubdivCCGCoord &r_active_vertex, int &r_active_grid_index, float3 &r_face_normal) |
| bool | blender::bke::pbvh::node_raycast_grids (const SubdivCCG &subdiv_ccg, GridsNode &node, Span< float3 > node_positions, const float3 &ray_start, const float3 &ray_normal, const IsectRayPrecalc *isect_precalc, float *depth, SubdivCCGCoord &r_active_vertex, int &r_active_grid_index, float3 &r_face_normal) |
| void | blender::bke::pbvh::clip_ray_ortho (Tree &pbvh, bool original, float ray_start[3], float ray_end[3], float ray_normal[3]) |
| static std::optional< float > | blender::bke::pbvh::nearest_to_ray_aabb_dist_sq (const Node &node, const DistRayAABB_Precalc &dist_ray_to_aabb_precalc, const bool original) |
| void | blender::bke::pbvh::find_nearest_to_ray (Tree &pbvh, const FunctionRef< void(Node &node, float *distance)> fn, const float3 &ray_start, const float3 &ray_normal, const bool original) |
| static bool | blender::bke::pbvh::pbvh_faces_node_nearest_to_ray (const MeshNode &node, const Span< float3 > node_positions, const Span< float3 > vert_positions, const OffsetIndices< int > faces, const Span< int > corner_verts, const Span< int3 > corner_tris, const Span< bool > hide_poly, const float3 &ray_start, const float3 &ray_normal, float *r_depth, float *dist_sq) |
| static bool | blender::bke::pbvh::pbvh_grids_node_nearest_to_ray (const SubdivCCG &subdiv_ccg, GridsNode &node, const Span< float3 > node_positions, const float ray_start[3], const float ray_normal[3], float *r_depth, float *dist_sq) |
| bool | blender::bke::pbvh::find_nearest_to_ray_node (Tree &pbvh, Node &node, Span< float3 > node_positions, bool use_origco, Span< float3 > vert_positions, const OffsetIndices< int > faces, Span< int > corner_verts, Span< int3 > corner_tris, Span< bool > hide_poly, const SubdivCCG *subdiv_ccg, const float ray_start[3], const float ray_normal[3], float *depth, float *dist_sq) |
| static PlaneAABBIsect | blender::bke::pbvh::test_frustum_aabb (const Bounds< float3 > &bounds, const Span< float4 > frustum_planes) |
| bool | blender::bke::pbvh::node_frustum_contain_aabb (const Node &node, Span< float4 > frustum_planes) |
| bool | blender::bke::pbvh::node_frustum_exclude_aabb (const Node &node, Span< float4 > frustum_planes) |
| void | blender::BKE_pbvh_vert_coords_apply (bke::pbvh::Tree &pbvh, Span< float3 > vert_positions) |
| int | blender::BKE_pbvh_debug_draw_gen_get (bke::pbvh::Node &node) |
| void | blender::BKE_pbvh_sync_visibility_from_verts (Object &object) |
| IndexMask | blender::bke::pbvh::all_leaf_nodes (const Tree &pbvh, IndexMaskMemory &memory) |
| static Vector< Node * > | blender::bke::pbvh::search_gather (Tree &pbvh, const FunctionRef< bool(Node &)> scb, Node::Flags leaf_flag) |
| IndexMask | blender::bke::pbvh::search_nodes (const Tree &pbvh, IndexMaskMemory &memory, FunctionRef< bool(const Node &)> filter_fn) |