Blender V4.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
11struct BMFace;
12struct BMVert;
13struct BMesh;
14struct RangeTreeUInt;
15struct BMLog;
16struct BMLogEntry;
17
22
33
37void BM_log_free(BMLog *log);
38
42int BM_log_length(const BMLog *log);
43
46
59
62
72void BM_log_entry_drop(BMLogEntry *entry);
73
80
87
112void BM_log_vert_before_modified(BMLog *log, BMVert *v, int cd_vert_mask_offset);
113
121void BM_log_vert_added(BMLog *log, BMVert *v, int cd_vert_mask_offset);
122
130
139
157void BM_log_vert_removed(BMLog *log, BMVert *v, int cd_vert_mask_offset);
158
174
179
182
191
200
206const float *BM_log_original_vert_co(BMLog *log, BMVert *v);
207
213const float *BM_log_original_vert_no(BMLog *log, BMVert *v);
214
221
223void BM_log_original_vert_data(BMLog *log, BMVert *v, const float **r_co, const float **r_no);
224
228struct RangeTreeUInt *BM_log_unused_ids(BMLog *log);
229
ATTR_WARN_UNUSED_RESULT BMesh * bm
void BM_log_all_added(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:874
void BM_log_face_added(BMLog *log, BMFace *f)
Definition bmesh_log.cc:811
const float * BM_log_find_original_vert_mask(BMLog *log, BMVert *v)
Definition bmesh_log.cc:932
void BM_log_face_removed(BMLog *log, BMFace *f)
Definition bmesh_log.cc:853
void BM_log_free(BMLog *log)
Definition bmesh_log.cc:545
void BM_log_cleanup_entry(BMLogEntry *entry)
Definition bmesh_log.cc:482
void BM_log_original_vert_data(BMLog *log, BMVert *v, const float **r_co, const float **r_no)
Definition bmesh_log.cc:988
float BM_log_original_mask(BMLog *log, BMVert *v)
Definition bmesh_log.cc:973
BMLogEntry * BM_log_current_entry(BMLog *log)
const float * BM_log_original_vert_co(BMLog *log, BMVert *v)
Definition bmesh_log.cc:943
const float * BM_log_find_original_vert_co(BMLog *log, BMVert *v)
Definition bmesh_log.cc:921
void BM_log_vert_before_modified(BMLog *log, BMVert *v, int cd_vert_mask_offset)
Definition bmesh_log.cc:772
void BM_log_face_modified(BMLog *log, BMFace *f)
Definition bmesh_log.cc:801
const float * BM_log_original_vert_no(BMLog *log, BMVert *v)
Definition bmesh_log.cc:958
void BM_log_redo(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:738
void BM_log_print_entry(BMesh *bm, BMLogEntry *entry)
void BM_log_vert_removed(BMLog *log, BMVert *v, int cd_vert_mask_offset)
Definition bmesh_log.cc:825
void BM_log_mesh_elems_reorder(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:573
void BM_log_entry_drop(BMLogEntry *entry)
Definition bmesh_log.cc:651
BMLog * BM_log_from_existing_entries_create(BMesh *bm, BMLogEntry *entry)
Definition bmesh_log.cc:504
BMLog * BM_log_create(BMesh *bm)
Definition bmesh_log.cc:467
struct RangeTreeUInt * BM_log_unused_ids(BMLog *log)
void BM_log_undo(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:717
int BM_log_length(const BMLog *log)
Definition bmesh_log.cc:568
void BM_log_before_all_removed(BMesh *bm, BMLog *log)
Definition bmesh_log.cc:902
BMLogEntry * BM_log_entry_add(BMLog *log)
Definition bmesh_log.cc:624
void BM_log_vert_added(BMLog *log, BMVert *v, int cd_vert_mask_offset)
Definition bmesh_log.cc:790
ATTR_WARN_UNUSED_RESULT const BMVert * v
ccl_device_inline float3 log(float3 v)