Blender V5.3
bmesh_log.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11struct RangeTreeUInt;
12namespace blender {
13
14struct BMFace;
15struct BMVert;
16struct BMesh;
17struct BMLog;
18struct BMLogEntry;
19
24
35
39void BM_log_free(BMLog *log);
40
50
53
63void BM_log_entry_drop(BMLogEntry *entry);
64
71
78
103void BM_log_vert_before_modified(BMLog *log, BMVert *v, int cd_vert_mask_offset);
104
112void BM_log_vert_added(BMLog *log, BMVert *v, int cd_vert_mask_offset);
113
121
130
148void BM_log_vert_removed(BMLog *log, BMVert *v, int cd_vert_mask_offset);
149
165
170
173
182
191
193void BM_log_original_vert_data(BMLog *log, BMVert *v, const float **r_co, const float **r_no);
194
195#ifndef NDEBUG
199struct RangeTreeUInt *BM_log_unused_ids(BMLog *log);
200
201void BM_log_print(const BMLog *log, const char *description);
203#endif
204
205} // namespace blender
#define log
BMesh Iterators.
BMLogEntry * BM_log_current_entry(BMLog *log)
Definition bmesh_log.cc:831
void BM_log_face_added(BMLog *log, BMFace *f)
Definition bmesh_log.cc:688
void BM_log_original_vert_data(BMLog *log, BMVert *v, const float **r_co, const float **r_no)
Definition bmesh_log.cc:810
void BM_log_print(const BMLog *log, const char *description)
Definition bmesh_log.cc:844
void BM_log_vert_added(BMLog *log, BMVert *v, const int cd_vert_mask_offset)
Definition bmesh_log.cc:671
void BM_log_redo(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:622
void BM_log_free(BMLog *log)
Definition bmesh_log.cc:501
ATTR_WARN_UNUSED_RESULT const BMVert * v
void BM_log_all_added(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:741
void BM_log_cleanup_entry(BMLogEntry *entry)
Definition bmesh_log.cc:411
void BM_log_vert_removed(BMLog *log, BMVert *v, const int cd_vert_mask_offset)
Definition bmesh_log.cc:700
void BM_log_before_all_removed(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:769
void BM_log_print_entry(BMesh *bm, BMLogEntry *entry)
Definition bmesh_log.cc:857
BMLog * BM_log_from_existing_entries_create(BMesh *bm, BMLogEntry *entry)
Definition bmesh_log.cc:448
BMLog * BM_log_create(BMesh *bm)
Definition bmesh_log.cc:396
const float * BM_log_find_original_vert_mask(BMLog *log, BMVert *v)
Definition bmesh_log.cc:799
void BM_log_face_modified(BMLog *log, BMFace *f)
Definition bmesh_log.cc:680
BMLogEntry * BM_log_entry_add(BMLog *log)
Definition bmesh_log.cc:516
void BM_log_undo(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:601
void BM_log_face_removed(BMLog *log, BMFace *f)
Definition bmesh_log.cc:724
RangeTreeUInt * BM_log_unused_ids(BMLog *log)
Definition bmesh_log.cc:836
void BM_log_vert_before_modified(BMLog *log, BMVert *v, const int cd_vert_mask_offset)
Definition bmesh_log.cc:656
const float * BM_log_find_original_vert_co(BMLog *log, BMVert *v)
Definition bmesh_log.cc:788
void BM_log_entry_drop(BMLogEntry *entry)
Definition bmesh_log.cc:530