Blender
V3.3
|
#include <BLI_kdopbvh.h>
Public Attributes | |
int | index |
float | co [3] |
float | no [3] |
float | dist |
Definition at line 64 of file BLI_kdopbvh.h.
float BVHTreeRayHit::co[3] |
Coordinates of the hit point.
Definition at line 68 of file BLI_kdopbvh.h.
Referenced by BKE_mesh_remap_calc_loops_from_mesh(), BKE_mesh_remap_calc_verts_from_mesh(), BKE_shrinkwrap_project_normal(), bmbvh_ray_cast_cb(), bmbvh_ray_cast_handle_hit(), cloth_brush_collision_cb(), cloth_brush_solve_collision(), editmesh_looptri_raycast_backface_culling_cb(), editmesh_looptri_spherecast(), blender::ed::sculpt_paint::SlideOperationExecutor::find_closest_ray_hit(), find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), harmonic_ray_callback(), knife_bvh_raycast(), knife_bvh_raycast_cb(), knife_bvh_raycast_filter(), mesh_edges_spherecast(), mesh_faces_spherecast(), mesh_looptri_raycast_backface_culling_cb(), mesh_looptri_spherecast(), mesh_verts_spherecast_do(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), py_bvhtree_raycast_to_py_tuple(), raycast_all_cb(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::sample_curves_surface_3d_brush(), blender::ed::sculpt_paint::AddOperationExecutor::sample_in_center(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shrinkwrap_calc_normal_projection_cb_ex(), and shrinkwrap_get_tarmat().
float BVHTreeRayHit::dist |
Distance to the hit point.
Definition at line 72 of file BLI_kdopbvh.h.
Referenced by BKE_bmbvh_ray_cast(), BKE_bmbvh_ray_cast_filter(), BKE_psys_collision_neartest_cb(), BKE_shrinkwrap_project_normal(), bmbvh_ray_cast_cb(), bmbvh_ray_cast_handle_hit(), boid_find_ground(), bvh_callback(), bvhtree_test_edges_isect_2d_ray_cb(), bvhtree_test_edges_isect_2d_vert_cb(), cast_ray_highpoly(), cloth_brush_collision_cb(), cloth_brush_solve_collision(), collision_detect(), collision_response(), dynamic_paint_paint_mesh_cell_point_cb_ex(), editmesh_looptri_raycast_backface_culling_cb(), editmesh_looptri_spherecast(), eff_calc_visibility(), eff_tri_ray_hit(), find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), harmonic_ray_callback(), heat_ray_source_visible(), isect_bvhtree_point_v3(), knife_bvh_raycast(), knife_bvh_raycast_cb(), knife_bvh_raycast_filter(), mesh_edges_spherecast(), mesh_faces_spherecast(), mesh_looptri_raycast_backface_culling_cb(), mesh_looptri_spherecast(), mesh_remap_bvhtree_query_raycast(), mesh_tris_spherecast_dp(), mesh_verts_spherecast_do(), meshdeform_ray_tree_intersect(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), py_bvhtree_ray_cast(), py_bvhtree_raycast_to_py_tuple(), raycast_all_cb(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), rule_avoid_collision(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::sample_curves_surface_3d_brush(), blender::ed::sculpt_paint::AddOperationExecutor::sample_in_center(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shape_cut(), shrinkwrap_calc_normal_projection_cb_ex(), shrinkwrap_get_tarmat(), blender::draw::statvis_calc_thickness(), test_edges_isect_2d_ray(), and test_edges_isect_2d_vert().
int BVHTreeRayHit::index |
Index of the tree node (untouched if no hit is found).
Definition at line 66 of file BLI_kdopbvh.h.
Referenced by BKE_bmbvh_ray_cast(), BKE_bmbvh_ray_cast_filter(), BKE_mesh_remap_calc_edges_from_mesh(), BKE_mesh_remap_calc_loops_from_mesh(), BKE_mesh_remap_calc_polys_from_mesh(), BKE_mesh_remap_calc_verts_from_mesh(), BKE_psys_collision_neartest_cb(), BKE_shrinkwrap_project_normal(), bmbvh_ray_cast_cb(), bmbvh_ray_cast_handle_hit(), boid_find_ground(), bvh_callback(), bvhtree_test_edges_isect_2d_ray_cb(), bvhtree_test_edges_isect_2d_vert_cb(), cast_ray_highpoly(), cloth_brush_collision_cb(), cloth_brush_solve_collision(), collision_detect(), dynamic_paint_paint_mesh_cell_point_cb_ex(), editmesh_looptri_raycast_backface_culling_cb(), editmesh_looptri_spherecast(), eff_calc_visibility(), eff_tri_ray_hit(), blender::ed::sculpt_paint::SlideOperationExecutor::find_closest_ray_hit(), find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), harmonic_ray_callback(), heat_ray_source_visible(), isect_bvhtree_point_v3(), knife_bvh_raycast(), knife_bvh_raycast_cb(), knife_bvh_raycast_filter(), mesh_edges_spherecast(), mesh_faces_spherecast(), mesh_looptri_raycast_backface_culling_cb(), mesh_looptri_spherecast(), mesh_remap_bvhtree_query_raycast(), mesh_tris_spherecast_dp(), mesh_verts_spherecast_do(), meshdeform_ray_tree_intersect(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), point_inside_bvh_cb(), py_bvhtree_ray_cast(), py_bvhtree_raycast_to_py_tuple(), raycast_all_cb(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), raycastEditMesh(), raycastMesh(), rule_avoid_collision(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::sample_curves_surface_3d_brush(), blender::ed::sculpt_paint::AddOperationExecutor::sample_in_center(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shape_cut(), shrinkwrap_calc_normal_projection_cb_ex(), shrinkwrap_get_tarmat(), blender::draw::statvis_calc_thickness(), test_edges_isect_2d_ray(), and test_edges_isect_2d_vert().
float BVHTreeRayHit::no[3] |
Normal on hit point.
Definition at line 70 of file BLI_kdopbvh.h.
Referenced by BKE_shrinkwrap_project_normal(), bmbvh_ray_cast_cb(), cloth_brush_collision_cb(), cloth_brush_solve_collision(), dynamic_paint_paint_mesh_cell_point_cb_ex(), editmesh_looptri_raycast_backface_culling_cb(), editmesh_looptri_spherecast(), find_internal_spring_target_vertex(), knife_bvh_raycast_cb(), mesh_faces_spherecast(), mesh_looptri_raycast_backface_culling_cb(), mesh_looptri_spherecast(), mesh_tris_spherecast_dp(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), py_bvhtree_raycast_to_py_tuple(), raycast_all_cb(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shrinkwrap_calc_normal_projection_cb_ex(), shrinkwrap_get_tarmat(), and blender::draw::statvis_calc_thickness().