|
Blender V4.3
|
#include <BKE_bvhutils.hh>
Public Attributes | |
| BVHTree * | tree = nullptr |
| BVHTree_NearestPointCallback | nearest_callback |
| BVHTree_RayCastCallback | raycast_callback |
| blender::Span< blender::float3 > | vert_positions |
| blender::Span< blender::int2 > | edges |
| blender::Span< int > | corner_verts |
| blender::Span< blender::int3 > | corner_tris |
| const MFace * | face = nullptr |
| bool | cached = false |
Struct that stores basic information about a BVHTree built from a mesh.
Definition at line 29 of file BKE_bvhutils.hh.
| bool BVHTreeFromMesh::cached = false |
Definition at line 45 of file BKE_bvhutils.hh.
Referenced by blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), and snapMesh().
| blender::Span<blender::int3> BVHTreeFromMesh::corner_tris |
Definition at line 40 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), bvhtree_from_mesh_setup_data(), closest_point_on_surface(), and find_internal_spring_target_vertex().
| blender::Span<int> BVHTreeFromMesh::corner_verts |
Definition at line 39 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), bvhtree_from_mesh_setup_data(), closest_point_on_surface(), and find_internal_spring_target_vertex().
| blender::Span<blender::int2> BVHTreeFromMesh::edges |
Definition at line 38 of file BKE_bvhutils.hh.
Referenced by bvhtree_from_mesh_setup_data().
| const MFace* BVHTreeFromMesh::face = nullptr |
Definition at line 42 of file BKE_bvhutils.hh.
Referenced by bvhtree_from_mesh_setup_data().
| BVHTree_NearestPointCallback BVHTreeFromMesh::nearest_callback |
Default callbacks to BVH nearest and ray-cast.
Definition at line 33 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_find_nearest_surface(), bvhtree_from_mesh_setup_data(), 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(), nearest_world_mesh(), blender::ed::sculpt_paint::PuffOperationExecutor::puff(), remap_hair_emitter(), shrinkwrap_calc_nearest_vertex_cb_ex(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
| BVHTree_RayCastCallback BVHTreeFromMesh::raycast_callback |
Definition at line 34 of file BKE_bvhutils.hh.
Referenced by bvhtree_from_mesh_setup_data(), 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(), point_inside_bvh_cb(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), raycastMesh(), 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(), blender::geometry::curve_constraints::solve_length_and_collision_constraints(), and blender::draw::statvis_calc_thickness().
| BVHTree* BVHTreeFromMesh::tree = nullptr |
Definition at line 30 of file BKE_bvhutils.hh.
Referenced by BKE_bvhtree_from_mesh_edges_init(), BKE_bvhtree_from_mesh_tris_init(), BKE_bvhtree_from_mesh_verts_init(), bvhtree_from_mesh_setup_data(), 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(), 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(), imapaint_pick_face(), mesh_remap_bvhtree_query_nearest(), mesh_remap_bvhtree_query_raycast(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), nearest_world_mesh(), blender::ed::sculpt_paint::PuffOperationExecutor::puff(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), raycastMesh(), remap_hair_emitter(), 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::ed::sculpt_paint::AddOperationExecutor::sample_spherical(), blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_spherical_with_symmetry(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shape_cut_test_point(), shrinkwrap_calc_nearest_vertex_cb_ex(), snapMesh(), blender::geometry::curve_constraints::solve_length_and_collision_constraints(), surfacedeformBind(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
| blender::Span<blender::float3> BVHTreeFromMesh::vert_positions |
Definition at line 37 of file BKE_bvhutils.hh.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), bvhtree_from_mesh_setup_data(), and find_internal_spring_target_vertex().