|
Blender V4.3
|
#include "intern/bmesh_operator_api_inline.hh"Go to the source code of this file.
Functions | |
| void | BM_mesh_esubdivide (BMesh *bm, char edge_hflag, float smooth, short smooth_falloff, bool use_smooth_even, float fractal, float along_normal, int numcuts, int seltype, int cornertype, short use_single_edge, short use_grid_fill, short use_only_quads, int seed) |
| void | BM_mesh_calc_uvs_grid (BMesh *bm, uint x_segments, uint y_segments, short oflag, int cd_loop_uv_offset) |
| void | BM_mesh_calc_uvs_sphere (BMesh *bm, short oflag, int cd_loop_uv_offset) |
| void | BM_mesh_calc_uvs_circle (BMesh *bm, float mat[4][4], float radius, short oflag, int cd_loop_uv_offset) |
| void | BM_mesh_calc_uvs_cone (BMesh *bm, float mat[4][4], float radius_top, float radius_bottom, int segments, bool cap_ends, short oflag, int cd_loop_uv_offset) |
| void | BM_mesh_calc_uvs_cube (BMesh *bm, short oflag) |
Variables | |
| const BMOpDefine * | bmo_opdefines [] |
| const int | bmo_opdefines_total |
| anonymous enum |
| Enumerator | |
|---|---|
| SUBD_CORNER_INNERVERT | |
| SUBD_CORNER_PATH | |
| SUBD_CORNER_FAN | |
| SUBD_CORNER_STRAIGHT_CUT | |
Definition at line 16 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| SUBD_FALLOFF_SMOOTH | |
| SUBD_FALLOFF_SPHERE | |
| SUBD_FALLOFF_ROOT | |
| SUBD_FALLOFF_SHARP | |
| SUBD_FALLOFF_LIN | |
| SUBD_FALLOFF_INVSQUARE | |
Definition at line 24 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| SUBDIV_SELECT_NONE | |
| SUBDIV_SELECT_ORIG | |
| SUBDIV_SELECT_INNER | |
| SUBDIV_SELECT_LOOPCUT | |
Definition at line 33 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| SUBD_RING_INTERP_LINEAR | |
| SUBD_RING_INTERP_PATH | |
| SUBD_RING_INTERP_SURF | |
Definition at line 41 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| SIMFACE_MATERIAL | |
| SIMFACE_AREA | |
| SIMFACE_SIDES | |
| SIMFACE_PERIMETER | |
| SIMFACE_NORMAL | |
| SIMFACE_COPLANAR | |
| SIMFACE_SMOOTH | |
| SIMFACE_FREESTYLE | |
Definition at line 53 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| SIMEDGE_LENGTH | |
| SIMEDGE_DIR | |
| SIMEDGE_FACE | |
| SIMEDGE_FACE_ANGLE | |
| SIMEDGE_CREASE | |
| SIMEDGE_BEVEL | |
| SIMEDGE_SEAM | |
| SIMEDGE_SHARP | |
| SIMEDGE_FREESTYLE | |
Definition at line 65 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| SIMVERT_NORMAL | |
| SIMVERT_FACE | |
| SIMVERT_VGROUP | |
| SIMVERT_EDGE | |
| SIMVERT_CREASE | |
Definition at line 78 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| BMOP_POKE_MEDIAN_WEIGHTED | |
| BMOP_POKE_MEDIAN | |
| BMOP_POKE_BOUNDS | |
Definition at line 87 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| BEVEL_AMT_OFFSET | |
| BEVEL_AMT_WIDTH | |
| BEVEL_AMT_DEPTH | |
| BEVEL_AMT_PERCENT | |
| BEVEL_AMT_ABSOLUTE | |
Definition at line 94 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| BEVEL_PROFILE_SUPERELLIPSE | |
| BEVEL_PROFILE_CUSTOM | |
Definition at line 103 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| BEVEL_FACE_STRENGTH_NONE | |
| BEVEL_FACE_STRENGTH_NEW | |
| BEVEL_FACE_STRENGTH_AFFECTED | |
| BEVEL_FACE_STRENGTH_ALL | |
Definition at line 109 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| BEVEL_MITER_SHARP | |
| BEVEL_MITER_PATCH | |
| BEVEL_MITER_ARC | |
Definition at line 117 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| BEVEL_VMESH_ADJ | |
| BEVEL_VMESH_CUTOFF | |
Definition at line 124 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| BEVEL_AFFECT_VERTICES | |
| BEVEL_AFFECT_EDGES | |
Definition at line 130 of file bmesh_operators.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| FACE_STRENGTH_WEAK | |
| FACE_STRENGTH_MEDIUM | |
| FACE_STRENGTH_STRONG | |
Definition at line 136 of file bmesh_operators.hh.
| void BM_mesh_calc_uvs_circle | ( | BMesh * | bm, |
| float | mat[4][4], | ||
| float | radius, | ||
| short | oflag, | ||
| int | cd_loop_uv_offset ) |
Fills first available UV-map with 2D projected UVs for all faces with oflag set.
| bm | The BMesh to operate on. |
| mat | The transform matrix applied to the created circle. |
| radius | The size of the circle. |
| oflag | The flag to check faces with. |
Definition at line 1319 of file bmo_primitive.cc.
References BLI_assert, bm, BM_ELEM_CD_GET_FLOAT_P, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, BMO_face_flag_test, BMVert::co, copy_v3_v3(), invert_m4_m4(), l, mul_m4_v3(), oflag, and BMLoop::v.
Referenced by bmo_create_circle_exec().
| void BM_mesh_calc_uvs_cone | ( | BMesh * | bm, |
| float | mat[4][4], | ||
| float | radius_top, | ||
| float | radius_bottom, | ||
| int | segments, | ||
| bool | cap_ends, | ||
| short | oflag, | ||
| int | cd_loop_uv_offset ) |
Fills first available UV-map with cylinder/cone-like UVs for all faces with oflag set.
| bm | The BMesh to operate on. |
| mat | The transform matrix applied to the created cone/cylinder. |
| radius_top | The size of the top end of the cone/cylinder. |
| radius_bottom | The size of the bottom end of the cone/cylinder. |
| segments | The number of subdivisions in the sides of the cone/cylinder. |
| cap_ends | Whether the ends of the cone/cylinder are filled or not. |
| oflag | The flag to check faces with. |
Definition at line 1505 of file bmo_primitive.cc.
References BLI_assert, bm, BM_ELEM_CD_GET_FLOAT_P, BM_face_normal_update(), BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_ELEM_INDEX, BM_ITER_MESH, BM_LOOPS_OF_FACE, BMO_face_flag_test, BMVert::co, dot_v3v3(), float, invert_m4_m4(), l, BMFace::len, mul_mat3_m4_v3(), mul_v3_m4v3(), BMFace::no, normalize_v3(), oflag, BMLoop::v, x, and y.
Referenced by bmo_create_cone_exec().
| void BM_mesh_calc_uvs_cube | ( | BMesh * | bm, |
| short | oflag ) |
Fills first available UV-map with cube-like UVs for all faces with oflag set.
| bm | The BMesh to operate on. |
| oflag | The flag to check faces with. |
Definition at line 1670 of file bmo_primitive.cc.
References BLI_assert, bm, BM_ELEM_CD_GET_FLOAT_P, BM_FACES_OF_MESH, BM_ITER_ELEM_INDEX, BM_ITER_MESH, BM_LOOPS_OF_FACE, BMO_face_flag_test, CD_PROP_FLOAT2, CustomData_get_offset(), l, BMesh::ldata, oflag, x, and y.
Referenced by bmo_create_cube_exec().
| void BM_mesh_calc_uvs_grid | ( | BMesh * | bm, |
| uint | x_segments, | ||
| uint | y_segments, | ||
| short | oflag, | ||
| int | cd_loop_uv_offset ) |
Fills first available UV-map with grid-like UVs for all faces with oflag set.
| bm | The BMesh to operate on |
| x_segments | The x-resolution of the grid |
| y_segments | The y-resolution of the grid |
| oflag | The flag to check faces with. |
Definition at line 779 of file bmo_primitive.cc.
References BLI_assert, bm, BM_ELEM_CD_GET_FLOAT_P, BM_FACES_OF_MESH, BM_ITER_ELEM_INDEX, BM_ITER_MESH, BM_LOOPS_OF_FACE, BMO_face_flag_test, float, l, oflag, x, and y.
Referenced by bmo_create_grid_exec().
Fills first available UV-map with spherical projected UVs for all faces with oflag set.
| bm | The BMesh to operate on |
| oflag | The flag to check faces with. |
Definition at line 1114 of file bmo_primitive.cc.
References BLI_assert, bm, BM_ELEM_CD_GET_FLOAT_P, BM_FACES_OF_MESH, BM_ITER_ELEM_INDEX, BM_ITER_MESH, BM_LOOPS_OF_FACE, bm_mesh_calc_uvs_sphere_face(), BMO_face_flag_test, l, and oflag.
Referenced by bmo_create_uvsphere_exec().
| void BM_mesh_esubdivide | ( | BMesh * | bm, |
| char | edge_hflag, | ||
| float | smooth, | ||
| short | smooth_falloff, | ||
| bool | use_smooth_even, | ||
| float | fractal, | ||
| float | along_normal, | ||
| int | numcuts, | ||
| int | seltype, | ||
| int | cornertype, | ||
| short | use_single_edge, | ||
| short | use_grid_fill, | ||
| short | use_only_quads, | ||
| int | seed ) |
Definition at line 1314 of file bmo_subdivide.cc.
References bm, BM_ALL_NOLOOP, BM_EDGE, BM_ELEM_SELECT, BM_FACE, BM_mesh_elem_hflag_disable_all(), BM_mesh_select_flush(), BM_VERT, BMO_FLAG_DEFAULTS, BMO_op_exec(), BMO_op_finish(), BMO_op_initf(), BMO_slot_buffer_hflag_enable(), seed, BMOperator::slots_out, SUBDIV_SELECT_INNER, SUBDIV_SELECT_LOOPCUT, SUBDIV_SELECT_NONE, and SUBDIV_SELECT_ORIG.
Referenced by edbm_subdivide_exec(), and ringsel_finish().
|
extern |
Definition at line 2124 of file bmesh_opdefines.cc.
Referenced by BMO_op_finish(), BMO_op_init(), BMO_opcode_from_opname(), bpy_bmesh_op_doc_get(), and bpy_bmesh_ops_module_dir().
|
extern |
Definition at line 2209 of file bmesh_opdefines.cc.
Referenced by BMO_opcode_from_opname(), and bpy_bmesh_ops_module_dir().