Blender
V3.3
|
#include <BKE_bvhutils.h>
Public Attributes | |
struct BVHTree * | tree |
BVHTree_NearestPointCallback | nearest_callback |
BVHTree_RayCastCallback | raycast_callback |
const struct MVert * | vert |
const float(* | vert_normals )[3] |
const struct MEdge * | edge |
const struct MFace * | face |
const struct MLoop * | loop |
const struct MLoopTri * | looptri |
bool | cached |
Struct that stores basic information about a BVHTree built from a mesh.
Definition at line 49 of file BKE_bvhutils.h.
bool BVHTreeFromMesh::cached |
Definition at line 65 of file BKE_bvhutils.h.
Referenced by blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), snap_object_data_mesh_get(), and snapMesh().
const struct MEdge* BVHTreeFromMesh::edge |
Definition at line 59 of file BKE_bvhutils.h.
Referenced by bvhtree_from_mesh_setup_data(), nearest2d_data_init_mesh(), snap_mesh_polygon(), and snap_object_data_mesh_get().
const struct MFace* BVHTreeFromMesh::face |
Definition at line 60 of file BKE_bvhutils.h.
Referenced by bvhtree_from_mesh_setup_data().
const struct MLoop* BVHTreeFromMesh::loop |
Definition at line 61 of file BKE_bvhutils.h.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), bvhtree_from_mesh_setup_data(), closest_point_on_surface(), find_internal_spring_target_vertex(), nearest2d_data_init_mesh(), snap_mesh_polygon(), and snap_object_data_mesh_get().
const struct MLoopTri* BVHTreeFromMesh::looptri |
Definition at line 62 of file BKE_bvhutils.h.
Referenced by 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_shrinkwrap_compute_smooth_normal(), bvhtree_from_mesh_setup_data(), closest_point_on_surface(), find_internal_spring_target_vertex(), nearest2d_data_init_mesh(), raycastMesh(), and snap_object_data_mesh_get().
BVHTree_NearestPointCallback BVHTreeFromMesh::nearest_callback |
Default callbacks to BVH nearest and ray-cast.
Definition at line 53 of file BKE_bvhutils.h.
Referenced by BKE_mesh_remesh_reproject_paint_mask(), BKE_remesh_reproject_sculpt_face_sets(), BKE_remesh_reproject_vertex_paint(), BKE_shrinkwrap_find_nearest_surface(), bvhtree_from_mesh_setup_data(), closest_point_on_surface(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_in_bvhtree(), mesh_remap_bvhtree_query_nearest(), nearest_world_mesh(), 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 54 of file BKE_bvhutils.h.
Referenced by bvhtree_from_mesh_setup_data(), find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), 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(), 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(), and blender::draw::statvis_calc_thickness().
struct BVHTree* BVHTreeFromMesh::tree |
Definition at line 50 of file BKE_bvhutils.h.
Referenced by BKE_mesh_remesh_reproject_paint_mask(), BKE_remesh_reproject_sculpt_face_sets(), BKE_remesh_reproject_vertex_paint(), bvhtree_from_mesh_setup_data(), blender::nodes::node_geo_proximity_cc::calculate_mesh_proximity(), closest_point_on_surface(), dynamic_paint_paint_mesh_cell_point_cb_ex(), find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_in_bvhtree(), get_vert2geom_distance(), 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::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(), snap_object_data_mesh_get(), snapMesh(), surfacedeformBind(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
const struct MVert* BVHTreeFromMesh::vert |
Definition at line 57 of file BKE_bvhutils.h.
Referenced by BKE_shrinkwrap_compute_smooth_normal(), bvhtree_from_mesh_setup_data(), find_internal_spring_target_vertex(), nearest2d_data_init_mesh(), and snap_object_data_mesh_get().
const float(* BVHTreeFromMesh::vert_normals)[3] |
Definition at line 58 of file BKE_bvhutils.h.
Referenced by bvhtree_from_mesh_setup_data(), find_internal_spring_target_vertex(), nearest2d_data_init_mesh(), and snap_object_data_mesh_get().