Blender
V3.3
|
Go to the source code of this file.
Enumerations | |
enum | { VERT_INDEX_DO_COLLAPSE = -1 , VERT_INDEX_INIT = 0 , VERT_INDEX_IGNORE = 1 } |
Functions | |
static bool | bm_vert_dissolve_fan_test (BMVert *v) |
static bool | bm_vert_dissolve_fan (BMesh *bm, BMVert *v) |
void | BM_mesh_decimate_unsubdivide_ex (BMesh *bm, const int iterations, const bool tag_only) |
void | BM_mesh_decimate_unsubdivide (BMesh *bm, const int iterations) |
BMesh decimator that uses a grid un-subdivide method.
Definition in file bmesh_decimate_unsubdivide.c.
anonymous enum |
Enumerator | |
---|---|
VERT_INDEX_DO_COLLAPSE | |
VERT_INDEX_INIT | |
VERT_INDEX_IGNORE |
Definition at line 145 of file bmesh_decimate_unsubdivide.c.
Definition at line 331 of file bmesh_decimate_unsubdivide.c.
References bm, and BM_mesh_decimate_unsubdivide_ex().
Referenced by modifyMesh().
tag_only | so we can call this from an operator |
Definition at line 157 of file bmesh_decimate_unsubdivide.c.
References BLI_assert, bm, BM_edge_other_vert(), BM_EDGES_OF_VERT, BM_elem_flag_enable, BM_elem_flag_test, BM_elem_index_get, BM_elem_index_set, BM_ELEM_TAG, BM_ITER_ELEM, BM_ITER_MESH, BM_ITER_MESH_MUTABLE, BM_VERT, bm_vert_dissolve_fan(), bm_vert_dissolve_fan_test(), BM_VERTS_OF_MESH, BMO_vert_flag_enable, BMO_vert_flag_test, BMW_begin(), BMW_BREADTH_FIRST, BMW_CONNECTED_VERTEX, BMW_current_depth(), BMW_end(), BMW_FLAG_NOP, BMW_init(), BMW_MASK_NOP, BMW_NIL_LAY, BMW_step(), BMVert::e, e, BMesh::elem_index_dirty, MEM_freeN, MEM_mallocN, NULL, offset, BMWalker::order, BMesh::totvert, v, VERT_INDEX_DO_COLLAPSE, VERT_INDEX_IGNORE, and VERT_INDEX_INIT.
Referenced by BM_mesh_decimate_unsubdivide(), and bmo_unsubdivide_exec().
Definition at line 64 of file bmesh_decimate_unsubdivide.c.
References BLI_assert, bm, BM_edge_is_boundary(), BM_edge_is_manifold(), BM_edge_is_wire(), BM_EDGES_OF_VERT, BM_elem_flag_merge_into, BM_face_split(), BM_iter_as_array(), BM_iter_at_index(), BM_ITER_ELEM, BM_LOOPS_OF_VERT, BM_vert_collapse_edge(), BM_vert_dissolve(), BMVert::e, BMLoop::e, e, BMLoop::f, l, BMFace::len, BMLoop::next, NULL, BMLoop::prev, BMLoop::v, and v.
Referenced by BM_mesh_decimate_unsubdivide_ex().
Definition at line 16 of file bmesh_decimate_unsubdivide.c.
References BM_edge_is_boundary(), BM_edge_is_manifold(), BM_edge_is_wire(), BM_edge_other_vert(), BM_EDGES_OF_VERT, BM_face_exists(), BM_ITER_ELEM, e, and v.
Referenced by BM_mesh_decimate_unsubdivide_ex().