Blender V4.3
BVHTreeFromMesh Struct Reference

#include <BKE_bvhutils.hh>

Public Attributes

BVHTreetree = nullptr
 
BVHTree_NearestPointCallback nearest_callback
 
BVHTree_RayCastCallback raycast_callback
 
blender::Span< blender::float3vert_positions
 
blender::Span< blender::int2edges
 
blender::Span< intcorner_verts
 
blender::Span< blender::int3corner_tris
 
const MFaceface = nullptr
 
bool cached = false
 

Detailed Description

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

Definition at line 29 of file BKE_bvhutils.hh.

Member Data Documentation

◆ cached

bool BVHTreeFromMesh::cached = false

◆ corner_tris

◆ corner_verts

◆ edges

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

Definition at line 38 of file BKE_bvhutils.hh.

Referenced by bvhtree_from_mesh_setup_data().

◆ face

const MFace* BVHTreeFromMesh::face = nullptr

Definition at line 42 of file BKE_bvhutils.hh.

Referenced by bvhtree_from_mesh_setup_data().

◆ nearest_callback

◆ raycast_callback

◆ tree

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().

◆ vert_positions


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