Blender
V3.3
|
#include "BLI_linklist_stack.h"
#include "BLI_utildefines.h"
#include "bmesh.h"
#include "intern/bmesh_operators_private.h"
Go to the source code of this file.
Functions | |
static bool | bm_loop_is_all_radial_tag (BMLoop *l) |
static bool | bm_loop_is_face_untag (const BMLoop *l, void *UNUSED(user_data)) |
static void | bm_face_copy_shared_all (BMesh *bm, BMLoop *l, const bool use_normals, const bool use_data) |
static uint | bmesh_face_attribute_fill (BMesh *bm, const bool use_normals, const bool use_data) |
void | bmo_face_attribute_fill_exec (BMesh *bm, BMOperator *op) |
Fill in geometry with the attributes of their adjacent data.
Definition in file bmo_fill_attribute.c.
|
static |
Copy all attributes from adjacent untagged faces.
Definition at line 43 of file bmo_fill_attribute.c.
References bm, BM_elem_attrs_copy(), BM_elem_flag_test, BM_ELEM_TAG, BM_face_copy_shared(), BM_face_normal_flip(), bm_loop_is_face_untag(), BMLoop::f, l, NULL, BMLoop::radial_next, and BMLoop::v.
Referenced by bmesh_face_attribute_fill().
Check if all other loops are tagged.
Definition at line 19 of file bmo_fill_attribute.c.
References BM_elem_flag_test, BM_ELEM_TAG, BMLoop::f, l, and BMLoop::radial_next.
Referenced by bmesh_face_attribute_fill().
Callback to run on source-loops for BM_face_copy_shared
Definition at line 35 of file bmo_fill_attribute.c.
References BM_elem_flag_test, BM_ELEM_TAG, BMLoop::f, and l.
Referenced by bm_face_copy_shared_all().
|
static |
Flood fill attributes.
Definition at line 74 of file bmo_fill_attribute.c.
References BLI_LINKSTACK_DECLARE, BLI_LINKSTACK_FREE, BLI_LINKSTACK_INIT, BLI_LINKSTACK_POP, BLI_LINKSTACK_PUSH, BLI_LINKSTACK_SIZE, BLI_LINKSTACK_SWAP, bm, BM_elem_flag_disable, BM_elem_flag_test, BM_ELEM_TAG, bm_face_copy_shared_all(), BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_ITER_MESH, bm_loop_is_all_radial_tag(), BMLoop::f, l, BMLoop::next, and BMLoop::radial_next.
Referenced by bmo_face_attribute_fill_exec().
void bmo_face_attribute_fill_exec | ( | BMesh * | bm, |
BMOperator * | op | ||
) |
Definition at line 135 of file bmo_fill_attribute.c.
References bm, BM_ELEM_TAG, BM_FACE, BM_mesh_elem_hflag_disable_all(), bmesh_face_attribute_fill(), BMO_slot_bool_get(), BMO_slot_buffer_from_enabled_hflag(), BMO_slot_buffer_hflag_enable(), BMO_slot_buffer_len(), BMOperator::slots_in, and BMOperator::slots_out.