Blender V4.5
blender::bke::BVHTreeFromMesh Struct Reference

#include <BKE_bvhutils.hh>

Public Attributes

const BVHTreetree = nullptr
 
BVHTree_NearestPointCallback nearest_callback
 
BVHTree_RayCastCallback raycast_callback
 
Span< float3vert_positions
 
Span< int2edges
 
Span< int > corner_verts
 
Span< int3corner_tris
 
const MFaceface = nullptr
 
std::unique_ptr< BVHTree, BVHTreeDeleterowned_tree
 

Detailed Description

Struct that stores basic information about a BVHTree built from a mesh.

Definition at line 28 of file BKE_bvhutils.hh.

Member Data Documentation

◆ corner_tris

Span<int3> blender::bke::BVHTreeFromMesh::corner_tris

◆ corner_verts

Span<int> blender::bke::BVHTreeFromMesh::corner_verts

◆ edges

Span<int2> blender::bke::BVHTreeFromMesh::edges

Definition at line 37 of file BKE_bvhutils.hh.

◆ face

const MFace* blender::bke::BVHTreeFromMesh::face = nullptr

Definition at line 41 of file BKE_bvhutils.hh.

◆ nearest_callback

◆ owned_tree

std::unique_ptr<BVHTree, BVHTreeDeleter> blender::bke::BVHTreeFromMesh::owned_tree

Definition at line 43 of file BKE_bvhutils.hh.

◆ raycast_callback

◆ tree

const BVHTree* blender::bke::BVHTreeFromMesh::tree = nullptr

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(), blender::bke::create_edges_tree_data(), blender::bke::create_legacy_faces_tree_data(), blender::bke::create_tris_tree_data(), blender::bke::create_verts_tree_data(), 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(), 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::ed::sculpt_paint::PuffOperationExecutor::puff(), 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::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(), 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().

◆ vert_positions

Span<float3> blender::bke::BVHTreeFromMesh::vert_positions

The documentation for this struct was generated from the following file: