|
Blender V4.3
|
BLI_LINKSTACK_*** wrapper macros for using a LinkNode to store a stack of pointers, using a single linked list allocated from a mempool. More...
Go to the source code of this file.
BLI_LINKSTACK_*** wrapper macros for using a LinkNode to store a stack of pointers, using a single linked list allocated from a mempool.
_##var##_type is a dummy variable only used for type-checks. Definition in file BLI_linklist_stack.h.
| #define _BLI_SMALLSTACK_CAST | ( | var | ) |
Definition at line 98 of file BLI_linklist_stack.h.
| #define _BLI_SMALLSTACK_DEL | ( | var | ) | _BLI_SMALLSTACK_DEL_EX(var, var) |
Definition at line 133 of file BLI_linklist_stack.h.
| #define _BLI_SMALLSTACK_DEL_EX | ( | var_src, | |
| var_dst ) |
Definition at line 125 of file BLI_linklist_stack.h.
| #define _BLI_SMALLSTACK_FAKEUSER | ( | var | ) | (void)(&(_##var##_type)) |
Definition at line 101 of file BLI_linklist_stack.h.
| #define BLI_LINKSTACK_DECLARE | ( | var, | |
| type ) |
Definition at line 25 of file BLI_linklist_stack.h.
Referenced by bm_face_region_pivot_edge_find(), BM_mesh_bisect_plane(), bmesh_face_attribute_fill(), bmo_connect_verts_exec(), bmo_connect_verts_nonplanar_exec(), bmo_recalc_face_normals_array(), calc_distanceCurveVerts(), blender::ed::sculpt_paint::expand::delete_face_set_id(), blender::ed::sculpt_paint::geodesic::distances_create(), transform_convert_mesh_connectivity_distance(), and uv_set_connectivity_distance().
| #define BLI_LINKSTACK_FREE | ( | var | ) |
Definition at line 70 of file BLI_linklist_stack.h.
Referenced by bm_face_region_pivot_edge_find(), BM_mesh_bisect_plane(), bmesh_face_attribute_fill(), bmo_connect_verts_exec(), bmo_connect_verts_nonplanar_exec(), bmo_recalc_face_normals_array(), calc_distanceCurveVerts(), blender::ed::sculpt_paint::expand::delete_face_set_id(), blender::ed::sculpt_paint::geodesic::distances_create(), library_foreach_ID_data_cleanup(), transform_convert_mesh_connectivity_distance(), and uv_set_connectivity_distance().
| #define BLI_LINKSTACK_INIT | ( | var | ) |
Definition at line 30 of file BLI_linklist_stack.h.
Referenced by bm_face_region_pivot_edge_find(), BM_mesh_bisect_plane(), bmesh_face_attribute_fill(), bmo_connect_verts_exec(), bmo_connect_verts_nonplanar_exec(), bmo_recalc_face_normals_array(), calc_distanceCurveVerts(), blender::ed::sculpt_paint::expand::delete_face_set_id(), blender::ed::sculpt_paint::geodesic::distances_create(), library_foreach_ID_link(), transform_convert_mesh_connectivity_distance(), and uv_set_connectivity_distance().
| #define BLI_LINKSTACK_POP | ( | var | ) | (var ? BLI_linklist_pop_pool(&(var), var##_pool_) : NULL) |
Definition at line 58 of file BLI_linklist_stack.h.
Referenced by bm_face_region_pivot_edge_find(), BM_mesh_bisect_plane(), bmesh_face_attribute_fill(), bmo_connect_verts_exec(), bmo_connect_verts_nonplanar_exec(), bmo_recalc_face_normals_array(), calc_distanceCurveVerts(), blender::ed::sculpt_paint::expand::delete_face_set_id(), blender::ed::sculpt_paint::geodesic::distances_create(), library_foreach_ID_link(), transform_convert_mesh_connectivity_distance(), and uv_set_connectivity_distance().
| #define BLI_LINKSTACK_POP_DEFAULT | ( | var, | |
| r ) (var ? BLI_linklist_pop_pool(&(var), var##_pool_) : r) |
Definition at line 59 of file BLI_linklist_stack.h.
| #define BLI_LINKSTACK_PUSH | ( | var, | |
| ptr ) (BLI_linklist_prepend_pool(&(var), ptr, var##_pool_)) |
Definition at line 57 of file BLI_linklist_stack.h.
Referenced by BKE_lib_query_foreachid_process(), BKE_library_foreach_ID_embedded(), bm_face_region_pivot_edge_find(), BM_mesh_bisect_plane(), bmesh_face_attribute_fill(), bmo_connect_verts_exec(), bmo_connect_verts_nonplanar_exec(), bmo_recalc_face_normals_array(), calc_distanceCurveVerts(), blender::ed::sculpt_paint::expand::delete_face_set_id(), blender::ed::sculpt_paint::geodesic::distances_create(), transform_convert_mesh_connectivity_distance(), and uv_set_connectivity_distance().
| #define BLI_LINKSTACK_SIZE | ( | var | ) | BLI_mempool_len(var##_pool_) |
Definition at line 37 of file BLI_linklist_stack.h.
Referenced by bm_face_region_pivot_edge_find(), bmesh_face_attribute_fill(), blender::ed::sculpt_paint::expand::delete_face_set_id(), blender::ed::sculpt_paint::geodesic::distances_create(), transform_convert_mesh_connectivity_distance(), and uv_set_connectivity_distance().
| #define BLI_LINKSTACK_SWAP | ( | var_a, | |
| var_b ) |
Definition at line 62 of file BLI_linklist_stack.h.
Referenced by bm_face_region_pivot_edge_find(), bmesh_face_attribute_fill(), blender::ed::sculpt_paint::expand::delete_face_set_id(), blender::ed::sculpt_paint::geodesic::distances_create(), transform_convert_mesh_connectivity_distance(), and uv_set_connectivity_distance().
| #define BLI_SMALLSTACK_AS_TABLE | ( | var, | |
| data ) |
Definition at line 153 of file BLI_linklist_stack.h.
Referenced by bmesh_kernel_vert_separate().
| #define BLI_SMALLSTACK_DECLARE | ( | var, | |
| type ) |
Definition at line 103 of file BLI_linklist_stack.h.
Referenced by bm_face_split_by_edges(), bm_face_split_edge_find(), BM_face_split_edgenet_connect_islands(), bm_face_split_edgenet_find_connection(), bm_face_split_edgenet_find_loop_pair(), bm_face_split_edgenet_find_loop_walk(), bm_face_split_edgenet_partial_connect(), bm_mesh_loops_assign_normal_data(), bm_mesh_loops_calc_normals_for_loop(), bmesh_kernel_join_edge_kill_vert(), bmesh_kernel_join_vert_kill_edge(), bmesh_kernel_vert_separate(), edbm_average_normals_exec(), edbm_face_split_by_edges_exec(), normals_merge(), normals_split(), and uv_rip_pairs_from_loop().
| #define BLI_SMALLSTACK_IS_EMPTY | ( | var | ) | ((_BLI_SMALLSTACK_CAST(var) _##var##_stack) == NULL) |
Definition at line 150 of file BLI_linklist_stack.h.
Referenced by bm_face_split_by_edges(), bm_face_split_edgenet_find_loop_pair(), bm_face_split_edgenet_find_loop_walk(), edbm_average_normals_exec(), edbm_face_split_by_edges_exec(), normals_merge(), and normals_split().
| #define BLI_SMALLSTACK_ITER_BEGIN | ( | var, | |
| item ) |
Definition at line 166 of file BLI_linklist_stack.h.
| #define BLI_SMALLSTACK_ITER_END |
Definition at line 172 of file BLI_linklist_stack.h.
| #define BLI_SMALLSTACK_PEEK | ( | var | ) | (_BLI_SMALLSTACK_CAST(var)((_##var##_stack) ? _##var##_stack->link : NULL)) |
Definition at line 147 of file BLI_linklist_stack.h.
| #define BLI_SMALLSTACK_POP | ( | var | ) |
Definition at line 136 of file BLI_linklist_stack.h.
Referenced by bm_face_split_edge_find(), BM_face_split_edgenet_connect_islands(), bm_face_split_edgenet_find_connection(), bm_face_split_edgenet_find_loop_pair(), bm_face_split_edgenet_find_loop_walk(), bm_face_split_edgenet_partial_connect(), bm_mesh_loops_assign_normal_data(), bm_mesh_loops_calc_normals_for_loop(), bmesh_kernel_join_edge_kill_vert(), bmesh_kernel_join_vert_kill_edge(), bmesh_kernel_vert_separate(), edbm_average_normals_exec(), edbm_face_split_by_edges_exec(), normals_merge(), normals_split(), and uv_rip_pairs_from_loop().
| #define BLI_SMALLSTACK_POP_EX | ( | var_src, | |
| var_dst ) |
Definition at line 141 of file BLI_linklist_stack.h.
Referenced by bm_face_split_by_edges(), and bm_face_split_edgenet_find_loop_walk().
| #define BLI_SMALLSTACK_PUSH | ( | var, | |
| data ) |
Definition at line 107 of file BLI_linklist_stack.h.
Referenced by bm_face_split_by_edges(), bm_face_split_edge_find(), BM_face_split_edgenet_connect_islands(), bm_face_split_edgenet_find_connection(), bm_face_split_edgenet_find_loop_pair(), bm_face_split_edgenet_find_loop_walk(), bm_face_split_edgenet_partial_connect(), bm_mesh_loops_assign_normal_data(), bm_mesh_loops_calc_normals_for_loop(), bmesh_kernel_join_edge_kill_vert(), bmesh_kernel_join_vert_kill_edge(), bmesh_kernel_vert_separate(), edbm_average_normals_exec(), edbm_face_split_by_edges_exec(), normals_merge(), normals_split(), and uv_rip_pairs_from_loop().
| #define BLI_SMALLSTACK_SWAP | ( | var_a, | |
| var_b ) |
Definition at line 177 of file BLI_linklist_stack.h.
Referenced by bm_face_split_by_edges(), bm_face_split_edgenet_find_loop_pair(), and bm_face_split_edgenet_find_loop_walk().