|
Blender V5.3
|
#include <cstddef>#include <fmt/format.h>#include "MEM_guardedalloc.h"#include "DNA_key_types.h"#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_modifier_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BLI_array.hh"#include "BLI_bitmap.hh"#include "BLI_heap_simple.hh"#include "BLI_linklist.hh"#include "BLI_linklist_stack.hh"#include "BLI_listbase.hh"#include "BLI_math_bits.hh"#include "BLI_math_geom_c.hh"#include "BLI_math_matrix_c.hh"#include "BLI_math_rotation_c.hh"#include "BLI_math_vector_c.hh"#include "BLI_rand_c.hh"#include "BLI_sort_utils.hh"#include "BKE_attribute.h"#include "BKE_context.hh"#include "BKE_customdata.hh"#include "BKE_deform.hh"#include "BKE_editmesh.hh"#include "BKE_key.hh"#include "BKE_layer.hh"#include "BKE_lib_id.hh"#include "BKE_material.hh"#include "BKE_mesh.hh"#include "BKE_mesh_types.hh"#include "BKE_object.hh"#include "BKE_object_types.hh"#include "BKE_paint.hh"#include "BKE_report.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"#include "BLT_translation.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "RNA_prototypes.hh"#include "WM_api.hh"#include "WM_types.hh"#include "ED_mesh.hh"#include "ED_object.hh"#include "ED_outliner.hh"#include "ED_screen.hh"#include "ED_select_utils.hh"#include "ED_transform.hh"#include "ED_uvedit.hh"#include "ED_view3d.hh"#include "UI_interface.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"#include "mesh_intern.hh"#include "bmesh_tools.hh"Go to the source code of this file.
Classes | |
| struct | blender::EdgeRingOpSubdProps |
| struct | blender::FillGridSplitJoin |
| struct | blender::BMElemSort |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | USE_FACE_CREATE_SEL_EXTEND |
Loop Normals Editing Tools Modal Map | |
| #define | CLNORS_VALID_VEC_LEN (1e-4f) |
| enum | { blender::EDBM_CLNOR_MODAL_CANCEL = 1 , blender::EDBM_CLNOR_MODAL_CONFIRM = 2 , blender::EDBM_CLNOR_MODAL_POINTTO_RESET = 101 , blender::EDBM_CLNOR_MODAL_POINTTO_INVERT = 102 , blender::EDBM_CLNOR_MODAL_POINTTO_SPHERIZE = 103 , blender::EDBM_CLNOR_MODAL_POINTTO_ALIGN = 104 , blender::EDBM_CLNOR_MODAL_POINTTO_USE_MOUSE = 110 , blender::EDBM_CLNOR_MODAL_POINTTO_USE_PIVOT = 111 , blender::EDBM_CLNOR_MODAL_POINTTO_USE_OBJECT = 112 , blender::EDBM_CLNOR_MODAL_POINTTO_SET_USE_3DCURSOR = 113 , blender::EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED = 114 } |
| wmKeyMap * | blender::point_normals_modal_keymap (wmKeyConfig *keyconf) |
Delete Operator | |
| enum | { blender::MESH_DELETE_VERT = 0 , blender::MESH_DELETE_EDGE = 1 , blender::MESH_DELETE_FACE = 2 , blender::MESH_DELETE_EDGE_FACE = 3 , blender::MESH_DELETE_ONLY_FACE = 4 } |
| static void | blender::edbm_report_delete_info (ReportList *reports, const int totelem_old[3], const int totelem_new[3]) |
| static wmOperatorStatus | blender::edbm_delete_exec (bContext *C, wmOperator *op) |
| void | blender::MESH_OT_delete (wmOperatorType *ot) |
Merge Vertices Operator | |
| enum | { blender::MESH_MERGE_LAST = 1 , blender::MESH_MERGE_CENTER = 3 , blender::MESH_MERGE_CURSOR = 4 , blender::MESH_MERGE_COLLAPSE = 5 , blender::MESH_MERGE_FIRST = 6 } |
| static const EnumPropertyItem | blender::merge_type_items [] |
| static bool | blender::merge_firstlast (BMesh *bm, const bool use_first, const bool use_uvmerge, wmOperator *wmop) |
| static bool | blender::merge_target (BMesh *bm, Scene *scene, Object *ob, const bool use_cursor, const bool use_uvmerge, wmOperator *wmop) |
| static wmOperatorStatus | blender::edbm_merge_exec (bContext *C, wmOperator *op) |
| static const EnumPropertyItem * | blender::merge_type_itemf (bContext *C, PointerRNA *, PropertyRNA *, bool *r_free) |
| void | blender::MESH_OT_merge (wmOperatorType *ot) |
Separate Parts Operator | |
| enum | { blender::MESH_SEPARATE_SELECTED = 0 , blender::MESH_SEPARATE_MATERIAL = 1 , blender::MESH_SEPARATE_LOOSE = 2 } |
| static Base * | blender::mesh_separate_tagged (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static Base * | blender::mesh_separate_arrays (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old, BMVert **verts, uint verts_len, BMEdge **edges, uint edges_len, BMFace **faces, uint faces_len) |
| static bool | blender::mesh_separate_selected (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static void | blender::mesh_separate_material_assign_mat_nr (Main *bmain, Object *ob, const short mat_nr) |
| static bool | blender::mesh_separate_material (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static bool | blender::mesh_separate_loose (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static wmOperatorStatus | blender::edbm_separate_exec (bContext *C, wmOperator *op) |
| void | blender::MESH_OT_separate (wmOperatorType *ot) |
Sort Geometry Elements Operator | |
Unified for vertices/edges/faces. | |
| enum | { blender::SRT_VIEW_ZAXIS = 1 , blender::SRT_VIEW_XAXIS , blender::SRT_CURSOR_DISTANCE , blender::SRT_MATERIAL , blender::SRT_SELECTED , blender::SRT_RANDOMIZE , blender::SRT_REVERSE } |
| static int | blender::bmelemsort_comp (const void *v1, const void *v2) |
| static void | blender::sort_bmelem_flag (bContext *C, Scene *scene, Object *ob, RegionView3D *rv3d, const int types, const int flag, const int action, const int reverse, const uint seed) |
| static wmOperatorStatus | blender::edbm_sort_elements_exec (bContext *C, wmOperator *op) |
| static bool | blender::edbm_sort_elements_poll_property (const bContext *, wmOperator *op, const PropertyRNA *prop) |
| void | blender::MESH_OT_sort_elements (wmOperatorType *ot) |
Bridge Operator | |
| enum | { blender::MESH_BRIDGELOOP_SINGLE = 0 , blender::MESH_BRIDGELOOP_CLOSED = 1 , blender::MESH_BRIDGELOOP_PAIRS = 2 } |
| static int | blender::edbm_bridge_tag_boundary_edges (BMesh *bm) |
| static int | blender::edbm_bridge_edge_loops_for_single_editmesh (wmOperator *op, Mesh *mesh, const bool use_pairs, const bool use_cyclic, const bool use_merge, const float merge_factor, const int twist_offset) |
| static wmOperatorStatus | blender::edbm_bridge_edge_loops_exec (bContext *C, wmOperator *op) |
| void | blender::MESH_OT_bridge_edge_loops (wmOperatorType *ot) |
Average Loop Normals Operator | |
| enum | { blender::EDBM_CLNOR_AVERAGE_LOOP = 1 , blender::EDBM_CLNOR_AVERAGE_FACE_AREA = 2 , blender::EDBM_CLNOR_AVERAGE_ANGLE = 3 } |
| static EnumPropertyItem | blender::average_method_items [] |
| static wmOperatorStatus | blender::edbm_average_normals_exec (bContext *C, wmOperator *op) |
| static bool | blender::average_normals_draw_check_prop (PointerRNA *ptr, PropertyRNA *prop, void *) |
| static void | blender::edbm_average_normals_ui (bContext *C, wmOperator *op) |
| void | blender::MESH_OT_average_normals (wmOperatorType *ot) |
Custom Normal Interface Tools Operator | |
| enum | { blender::EDBM_CLNOR_TOOLS_COPY = 1 , blender::EDBM_CLNOR_TOOLS_PASTE = 2 , blender::EDBM_CLNOR_TOOLS_MULTIPLY = 3 , blender::EDBM_CLNOR_TOOLS_ADD = 4 , blender::EDBM_CLNOR_TOOLS_RESET = 5 } |
| static EnumPropertyItem | blender::normal_vector_tool_items [] |
| static wmOperatorStatus | blender::edbm_normals_tools_exec (bContext *C, wmOperator *op) |
| static bool | blender::normals_tools_draw_check_prop (PointerRNA *ptr, PropertyRNA *prop, void *) |
| static void | blender::edbm_normals_tools_ui (bContext *C, wmOperator *op) |
| static bool | blender::edbm_normals_tools_ui_poll (wmOperatorType *, PointerRNA *ptr) |
| void | blender::MESH_OT_normals_tools (wmOperatorType *ot) |
Subdivide Operator | |
| static const EnumPropertyItem | blender::prop_mesh_cornervert_types [] |
| static wmOperatorStatus | blender::edbm_subdivide_exec (bContext *C, wmOperator *op) |
| void | blender::MESH_OT_subdivide (wmOperatorType *ot) |
Weighted Normal Modifier Face Strength | |
| static const EnumPropertyItem | blender::prop_mesh_face_strength_types [] |
| static wmOperatorStatus | blender::edbm_mod_weighted_strength_exec (bContext *C, wmOperator *op) |
| void | blender::MESH_OT_mod_weighted_strength (wmOperatorType *ot) |
| void | blender::MESH_OT_flip_quad_tessellation (wmOperatorType *ot) |
| #define CLNORS_VALID_VEC_LEN (1e-4f) |
Definition at line 8483 of file editmesh_tools.cc.
Referenced by blender::apply_weights_vertex_normal(), blender::edbm_average_normals_exec(), blender::edbm_normals_tools_exec(), blender::edbm_smooth_normals_exec(), blender::normals_merge(), blender::normals_split(), and blender::point_normals_apply().
| #define USE_FACE_CREATE_SEL_EXTEND |
Definition at line 84 of file editmesh_tools.cc.