Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_bvhutils.h
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | typedef struct BVHTreeFromEditMesh { | ||||
| struct BVHTree *tree; | struct BVHTree *tree; | ||||
| /* default callbacks to bvh nearest and raycast */ | /* default callbacks to bvh nearest and raycast */ | ||||
| BVHTree_NearestPointCallback nearest_callback; | BVHTree_NearestPointCallback nearest_callback; | ||||
| BVHTree_RayCastCallback raycast_callback; | BVHTree_RayCastCallback raycast_callback; | ||||
| struct BMEditMesh *em; | struct BMEditMesh *em; | ||||
| const float (*cageco)[3]; | |||||
| /* Private data */ | /* Private data */ | ||||
| bool cached; | bool cached; | ||||
| } BVHTreeFromEditMesh; | } BVHTreeFromEditMesh; | ||||
| /** | /** | ||||
| * Struct that stores basic information about a BVHTree built from a mesh. | * Struct that stores basic information about a BVHTree built from a mesh. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
| BVHTree *bvhtree_from_editmesh_verts_ex(BVHTreeFromEditMesh *data, | BVHTree *bvhtree_from_editmesh_verts_ex(BVHTreeFromEditMesh *data, | ||||
| struct BMEditMesh *em, | struct BMEditMesh *em, | ||||
| const BLI_bitmap *mask, | const BLI_bitmap *mask, | ||||
| int verts_num_active, | int verts_num_active, | ||||
| float epsilon, | float epsilon, | ||||
| int tree_type, | int tree_type, | ||||
| int axis, | int axis, | ||||
| const float (*cageco)[3], | |||||
| const BVHCacheType bvh_cache_type, | const BVHCacheType bvh_cache_type, | ||||
| struct BVHCache **bvh_cache_p, | struct BVHCache **bvh_cache_p, | ||||
| ThreadMutex *mesh_eval_mutex); | ThreadMutex *mesh_eval_mutex); | ||||
| BVHTree *bvhtree_from_mesh_verts_ex(struct BVHTreeFromMesh *data, | BVHTree *bvhtree_from_mesh_verts_ex(struct BVHTreeFromMesh *data, | ||||
| const struct MVert *vert, | const struct MVert *vert, | ||||
| const int verts_num, | const int verts_num, | ||||
| const bool vert_allocated, | const bool vert_allocated, | ||||
| Show All 11 Lines | |||||
| BVHTree *bvhtree_from_editmesh_edges_ex(BVHTreeFromEditMesh *data, | BVHTree *bvhtree_from_editmesh_edges_ex(BVHTreeFromEditMesh *data, | ||||
| struct BMEditMesh *em, | struct BMEditMesh *em, | ||||
| const BLI_bitmap *edges_mask, | const BLI_bitmap *edges_mask, | ||||
| int edges_num_active, | int edges_num_active, | ||||
| float epsilon, | float epsilon, | ||||
| int tree_type, | int tree_type, | ||||
| int axis, | int axis, | ||||
| const float (*cageco)[3], | |||||
| const BVHCacheType bvh_cache_type, | const BVHCacheType bvh_cache_type, | ||||
| struct BVHCache **bvh_cache_p, | struct BVHCache **bvh_cache_p, | ||||
| ThreadMutex *mesh_eval_mutex); | ThreadMutex *mesh_eval_mutex); | ||||
| BVHTree *bvhtree_from_mesh_edges_ex(struct BVHTreeFromMesh *data, | BVHTree *bvhtree_from_mesh_edges_ex(struct BVHTreeFromMesh *data, | ||||
| const struct MVert *vert, | const struct MVert *vert, | ||||
| const bool vert_allocated, | const bool vert_allocated, | ||||
| const struct MEdge *edge, | const struct MEdge *edge, | ||||
| Show All 28 Lines | |||||
| BVHTree *bvhtree_from_editmesh_looptri_ex(BVHTreeFromEditMesh *data, | BVHTree *bvhtree_from_editmesh_looptri_ex(BVHTreeFromEditMesh *data, | ||||
| struct BMEditMesh *em, | struct BMEditMesh *em, | ||||
| const BLI_bitmap *mask, | const BLI_bitmap *mask, | ||||
| int looptri_num_active, | int looptri_num_active, | ||||
| float epsilon, | float epsilon, | ||||
| int tree_type, | int tree_type, | ||||
| int axis, | int axis, | ||||
| const float (*cageco)[3], | |||||
| const BVHCacheType bvh_cache_type, | const BVHCacheType bvh_cache_type, | ||||
| struct BVHCache **bvh_cache_p, | struct BVHCache **bvh_cache_p, | ||||
| ThreadMutex *mesh_eval_mutex); | ThreadMutex *mesh_eval_mutex); | ||||
| BVHTree *bvhtree_from_mesh_looptri_ex(struct BVHTreeFromMesh *data, | BVHTree *bvhtree_from_mesh_looptri_ex(struct BVHTreeFromMesh *data, | ||||
| const struct MVert *vert, | const struct MVert *vert, | ||||
| const bool vert_allocated, | const bool vert_allocated, | ||||
| const struct MLoop *mloop, | const struct MLoop *mloop, | ||||
| ▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines | |||||