|
Blender V5.0
|
#include <BKE_bvhutils.hh>
Public Attributes | |
| const BVHTree * | tree = nullptr |
| BVHTree_NearestPointCallback | nearest_callback |
| BVHTree_RayCastCallback | raycast_callback |
| Span< float3 > | vert_positions |
| Span< int2 > | edges |
| Span< int > | corner_verts |
| Span< int3 > | corner_tris |
| const MFace * | face = nullptr |
| std::unique_ptr< BVHTree, BVHTreeDeleter > | owned_tree |
Struct that stores basic information about a BVHTree built from a mesh.
Definition at line 28 of file BKE_bvhutils.hh.
Definition at line 39 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), closest_point_on_surface(), and find_internal_spring_target_vertex().
| Span<int> blender::bke::BVHTreeFromMesh::corner_verts |
Definition at line 38 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), closest_point_on_surface(), and find_internal_spring_target_vertex().
Definition at line 37 of file BKE_bvhutils.hh.
Definition at line 41 of file BKE_bvhutils.hh.
| BVHTree_NearestPointCallback blender::bke::BVHTreeFromMesh::nearest_callback |
Default callbacks to BVH nearest and ray-cast.
Definition at line 32 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_find_nearest_surface(), blender::nodes::node_geo_proximity_cc::ProximityFunction::call(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::call(), closest_point_on_surface(), blender::bke::find_nearest_tris(), blender::nodes::get_closest_in_bvhtree(), mesh_remap_bvhtree_query_nearest(), blender::ed::transform::nearest_world_mesh(), remap_hair_emitter(), shrinkwrap_calc_nearest_vertex_cb_ex(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
| std::unique_ptr<BVHTree, BVHTreeDeleter> blender::bke::BVHTreeFromMesh::owned_tree |
Definition at line 43 of file BKE_bvhutils.hh.
| BVHTree_RayCastCallback blender::bke::BVHTreeFromMesh::raycast_callback |
Definition at line 33 of file BKE_bvhutils.hh.
Referenced by find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), imapaint_pick_face(), mesh_remap_bvhtree_query_raycast(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), blender::ed::transform::raycastMesh(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::sample_curves_surface_3d_brush(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), blender::geometry::curve_constraints::solve_length_and_collision_constraints(), and blender::draw::statvis_calc_thickness().
Definition at line 29 of file BKE_bvhutils.hh.
Referenced by blender::nodes::node_geo_proximity_cc::ProximityFunction::call(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::call(), closest_point_on_surface(), dynamic_paint_paint_mesh_cell_point_cb_ex(), dynamicPaint_paintMesh(), find_internal_spring_target_vertex(), blender::bke::find_nearest_tris(), followtrack_project_to_depth_object_if_needed(), blender::nodes::get_closest_in_bvhtree(), get_vert2geom_distance(), harmonic_coordinates_bind(), imapaint_pick_face(), mesh_remap_bvhtree_query_nearest(), mesh_remap_bvhtree_query_raycast(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), blender::ed::transform::nearest_world_mesh(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), blender::ed::transform::raycastMesh(), remap_hair_emitter(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::sample_curves_surface_3d_brush(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shape_cut_test_point(), shrinkwrap_calc_nearest_vertex_cb_ex(), blender::ed::transform::snapMesh(), blender::geometry::curve_constraints::solve_length_and_collision_constraints(), blender::draw::statvis_calc_intersect(), blender::draw::statvis_calc_thickness(), surfacedeformBind(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
Definition at line 36 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), and find_internal_spring_target_vertex().