Blender V5.3
bmo_fill_grid.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define EDGE_MARK   4
#define FACE_OUT   16
#define BARYCENTRIC_INTERP
#define XY(_x, _y)
#define USE_FLIP_DETECT

Functions

static void blender::quad_edges_to_normal (float no[3], const float co_a1[3], const float co_a2[3], const float co_b1[3], const float co_b2[3])
static void blender::quad_verts_to_barycentric_tri (float tri[3][3], const float co_a[3], const float co_b[3], const float co_a_next[3], const float co_b_next[3], const float co_a_prev[3], const float co_b_prev[3], const bool is_flip)
static void blender::barycentric_weights_v2_grid_cache (const uint xtot, const uint ytot, float(*weight_table)[4])
static void blender::bm_grid_fill_array (BMesh *bm, BMVert **v_grid, const uint xtot, const uint ytot, const short mat_nr, const bool use_smooth, const bool use_flip, const bool use_interp_simple)
static void blender::bm_grid_fill (BMesh *bm, BMEdgeLoopStore *estore_a, BMEdgeLoopStore *estore_b, BMEdgeLoopStore *estore_rail_a, BMEdgeLoopStore *estore_rail_b, const short mat_nr, const bool use_smooth, const bool use_interp_simple)
static void blender::bm_edgeloop_flag_set (BMEdgeLoopStore *estore, char hflag, bool set)
void blender::bmo_grid_fill_exec (BMesh *bm, BMOperator *op)
Handle Loop Pairs
static void blender::bm_loop_pair_from_verts (BMVert *v_a, BMVert *v_b, BMLoop *l_pair[2])
static void blender::bm_loop_pair_test_copy (BMLoop *l_pair_a[2], BMLoop *l_pair_b[2])
static void blender::bm_loop_interp_from_grid_boundary_4 (BMesh *bm, BMLoop *l, BMLoop *l_bound[4], const float w[4])
static void blender::bm_loop_interp_from_grid_boundary_2 (BMesh *bm, BMLoop *l, BMLoop *l_bound[2], const float t)

Detailed Description

Fill 2 isolated, open edge loops with a grid of quads.

Definition in file bmo_fill_grid.cc.

Macro Definition Documentation

◆ BARYCENTRIC_INTERP

#define BARYCENTRIC_INTERP

Definition at line 30 of file bmo_fill_grid.cc.

◆ EDGE_MARK

#define EDGE_MARK   4

Definition at line 27 of file bmo_fill_grid.cc.

◆ FACE_OUT

#define FACE_OUT   16

Definition at line 28 of file bmo_fill_grid.cc.

◆ USE_FLIP_DETECT

#define USE_FLIP_DETECT

◆ XY

#define XY ( _x,
_y )