|
Blender
V2.93
|
Go to the source code of this file.
Typedefs | |
| typedef struct BMLog | BMLog |
| typedef struct BMLogEntry | BMLogEntry |
Definition at line 1 of file bmesh_log.h.
| typedef struct BMLogEntry BMLogEntry |
Definition at line 1 of file bmesh_log.h.
Definition at line 987 of file bmesh_log.c.
References BLI_ghash_len(), BLI_ghash_reserve(), bm, BM_FACES_OF_MESH, BM_ITER_MESH, BM_log_face_added(), BM_log_vert_added(), BM_VERTS_OF_MESH, CD_PAINT_MASK, CustomData_get_offset(), KDL::log(), BMesh::totface, BMesh::totvert, v, and BMesh::vdata.
Referenced by sculpt_symmetrize_exec(), and sculpt_undo_bmesh_push().
Definition at line 1015 of file bmesh_log.c.
References bm, BM_FACES_OF_MESH, BM_ITER_MESH, BM_log_face_removed(), BM_log_vert_removed(), BM_VERTS_OF_MESH, CD_PAINT_MASK, CustomData_get_offset(), KDL::log(), v, and BMesh::vdata.
Referenced by sculpt_symmetrize_exec(), and sculpt_undo_bmesh_push().
| void BM_log_cleanup_entry | ( | BMLogEntry * | entry | ) |
Definition at line 487 of file bmesh_log.c.
References BMLogEntry::added_faces, BMLogEntry::added_verts, BLI_ghash_clear(), bm_log_id_ghash_retake(), BMLogEntry::deleted_faces, BMLogEntry::deleted_verts, KDL::log(), BMLogEntry::log, BMLogEntry::modified_faces, BMLogEntry::modified_verts, and NULL.
Definition at line 472 of file bmesh_log.c.
References BLI_ghash_new_ex(), BLI_ghash_ptr_new_ex(), bm, bm_log_assign_ids(), KDL::log(), logkey_cmp, logkey_hash, MEM_callocN, BMesh::totface, and BMesh::totvert.
Referenced by BM_log_from_existing_entries_create(), and SCULPT_dynamic_topology_enable_ex().
| BMLogEntry* BM_log_current_entry | ( | BMLog * | log | ) |
Definition at line 1106 of file bmesh_log.c.
References KDL::log().
| BMLogEntry* BM_log_entry_add | ( | BMLog * | log | ) |
Definition at line 652 of file bmesh_log.c.
References BLI_addtail(), BLI_freelinkN(), bm_log_entry_create(), bm_log_entry_free(), KDL::log(), BMLogEntry::log, BMLogEntry::next, and next.
Referenced by sculpt_undo_bmesh_push().
| void BM_log_entry_drop | ( | BMLogEntry * | entry | ) |
Definition at line 688 of file bmesh_log.c.
References BMLogEntry::added_faces, BMLogEntry::added_verts, BLI_assert, BLI_freelinkN(), bm_log_entry_free(), bm_log_id_ghash_release(), KDL::log(), BMLogEntry::log, MEM_freeN, BMLogEntry::next, NULL, and BMLogEntry::prev.
Referenced by sculpt_undo_free_list().
Definition at line 894 of file bmesh_log.c.
References BLI_assert, BLI_ghash_insert(), bm_log_face_alloc(), bm_log_face_id_set(), BMFace::len, KDL::log(), and POINTER_FROM_UINT.
Referenced by BM_log_all_added(), and pbvh_bmesh_face_create().
Definition at line 878 of file bmesh_log.c.
References BLI_ghash_insert(), bm_log_face_alloc(), bm_log_face_id_get(), KDL::log(), and POINTER_FROM_UINT.
Referenced by sculpt_undo_bmesh_push().
Definition at line 965 of file bmesh_log.c.
References BMLogEntry::added_faces, BLI_assert, BLI_ghash_haskey(), BLI_ghash_insert(), BLI_ghash_lookup(), BLI_ghash_remove(), bm_log_face_alloc(), bm_log_face_id_get(), BMLogEntry::deleted_faces, KDL::log(), NULL, and POINTER_FROM_UINT.
Referenced by BM_log_before_all_removed(), and pbvh_bmesh_face_remove().
| void BM_log_free | ( | BMLog * | log | ) |
Definition at line 559 of file bmesh_log.c.
References BLI_ghash_free(), KDL::log(), BMLogEntry::log, MEM_freeN, BMLogEntry::next, and NULL.
Referenced by BKE_sculptsession_free(), and SCULPT_dynamic_topology_disable_ex().
| BMLog* BM_log_from_existing_entries_create | ( | BMesh * | bm, |
| BMLogEntry * | entry | ||
| ) |
Definition at line 517 of file bmesh_log.c.
References BMLogEntry::added_faces, BMLogEntry::added_verts, bm, BM_log_create(), bm_log_id_ghash_retake(), BMLogEntry::deleted_faces, BMLogEntry::deleted_verts, KDL::log(), BMLogEntry::log, BMLogEntry::modified_faces, BMLogEntry::modified_verts, BMLogEntry::next, NULL, and BMLogEntry::prev.
Referenced by sculpt_undo_bmesh_enable().
| int BM_log_length | ( | const BMLog * | log | ) |
Definition at line 585 of file bmesh_log.c.
References BLI_listbase_count(), and KDL::log().
Definition at line 591 of file bmesh_log.c.
References BLI_ghash_free(), BLI_ghash_lookup(), bm, BM_FACES_OF_MESH, BM_ITER_MESH_INDEX, bm_log_compress_ids_to_indices(), bm_log_face_id_get(), bm_log_vert_id_get(), BM_mesh_remap(), BM_VERTS_OF_MESH, KDL::log(), MEM_freeN, MEM_mallocN, NULL, POINTER_AS_UINT, POINTER_FROM_UINT, BMesh::totface, BMesh::totvert, and v.
Referenced by sculptsession_bm_to_me_update_data_only().
Definition at line 1072 of file bmesh_log.c.
References BLI_assert, BLI_ghash_haskey(), BLI_ghash_lookup(), bm_log_vert_id_get(), KDL::log(), BMLogVert::mask, BMLogEntry::modified_verts, POINTER_FROM_UINT, and v.
Referenced by SCULPT_orig_vert_data_update().
Definition at line 1036 of file bmesh_log.c.
References BLI_assert, BLI_ghash_haskey(), BLI_ghash_lookup(), bm_log_vert_id_get(), BMLogVert::co, KDL::log(), BMLogEntry::modified_verts, POINTER_FROM_UINT, and v.
Referenced by sculpt_combine_proxies_task_cb().
| void BM_log_original_vert_data | ( | BMLog * | log, |
| BMVert * | v, | ||
| const float ** | r_co, | ||
| const short ** | r_no | ||
| ) |
Definition at line 1087 of file bmesh_log.c.
References BLI_assert, BLI_ghash_haskey(), BLI_ghash_lookup(), bm_log_vert_id_get(), BMLogVert::co, KDL::log(), BMLogEntry::modified_verts, BMLogVert::no, POINTER_FROM_UINT, and v.
Referenced by calc_area_normal_and_center_task_cb(), and SCULPT_orig_vert_data_update().
Definition at line 1054 of file bmesh_log.c.
References BLI_assert, BLI_ghash_haskey(), BLI_ghash_lookup(), bm_log_vert_id_get(), KDL::log(), BMLogEntry::modified_verts, BMLogVert::no, POINTER_FROM_UINT, and v.
Definition at line 781 of file bmesh_log.c.
References BMLogEntry::added_faces, BMLogEntry::added_verts, bm, bm_log_face_values_swap(), bm_log_faces_restore(), bm_log_faces_unmake(), bm_log_vert_values_swap(), bm_log_verts_restore(), bm_log_verts_unmake(), BMLogEntry::deleted_faces, BMLogEntry::deleted_verts, KDL::log(), BMLogEntry::modified_faces, BMLogEntry::modified_verts, and BMLogEntry::next.
Referenced by sculpt_undo_bmesh_restore_begin(), and sculpt_undo_bmesh_restore_generic().
Definition at line 757 of file bmesh_log.c.
References BMLogEntry::added_faces, BMLogEntry::added_verts, bm, bm_log_face_values_swap(), bm_log_faces_restore(), bm_log_faces_unmake(), bm_log_vert_values_swap(), bm_log_verts_restore(), bm_log_verts_unmake(), BMLogEntry::deleted_faces, BMLogEntry::deleted_verts, KDL::log(), BMLogEntry::modified_faces, BMLogEntry::modified_verts, and BMLogEntry::prev.
Referenced by sculpt_undo_bmesh_restore_end(), and sculpt_undo_bmesh_restore_generic().
| struct RangeTreeUInt* BM_log_unused_ids | ( | BMLog * | log | ) |
Definition at line 1112 of file bmesh_log.c.
References KDL::log().
Definition at line 862 of file bmesh_log.c.
References BLI_ghash_insert(), bm_log_vert_alloc(), bm_log_vert_id_set(), KDL::log(), POINTER_FROM_UINT, and v.
Referenced by BM_log_all_added(), and pbvh_bmesh_vert_create().
Definition at line 838 of file bmesh_log.c.
References BMLogEntry::added_verts, BLI_ghash_ensure_p(), BLI_ghash_lookup(), bm_log_vert_alloc(), bm_log_vert_bmvert_copy(), bm_log_vert_id_get(), KDL::log(), BMLogEntry::modified_verts, POINTER_FROM_UINT, and v.
Referenced by pbvh_bmesh_collapse_edge(), and sculpt_undo_bmesh_push().
Definition at line 924 of file bmesh_log.c.
References BMLogEntry::added_verts, BLI_assert, BLI_ghash_haskey(), BLI_ghash_insert(), BLI_ghash_lookup(), BLI_ghash_remove(), bm_log_vert_alloc(), bm_log_vert_id_get(), BMLogEntry::deleted_verts, KDL::log(), BMLogEntry::modified_verts, NULL, POINTER_FROM_UINT, and v.
Referenced by BM_log_before_all_removed(), and pbvh_bmesh_collapse_edge().