|
Blender V5.0
|
#include "BLI_utildefines.h"#include "BLI_array.hh"#include "BLI_index_range.hh"#include "BLI_span.hh"#include "BLI_vector.hh"#include "BLT_translation.hh"#include "DNA_defaults.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_modifier_types.h"#include "DNA_screen_types.h"#include "BKE_context.hh"#include "BKE_deform.hh"#include "BKE_modifier.hh"#include "BKE_screen.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "MOD_modifiertypes.hh"#include "MOD_ui_common.hh"#include "GEO_mesh_merge_by_distance.hh"Go to the source code of this file.
Functions | |
| static Span< MDeformVert > | get_vertex_group (const Mesh &mesh, const int defgrp_index) |
| static IndexMask | selected_indices_from_vertex_group (Span< MDeformVert > vertex_group, const int index, const bool invert, IndexMaskMemory &memory) |
| static Array< bool > | selection_array_from_vertex_group (Span< MDeformVert > vertex_group, const int index, const bool invert) |
| static std::optional< Mesh * > | calculate_weld (const Mesh &mesh, const WeldModifierData &wmd) |
| static Mesh * | modify_mesh (ModifierData *md, const ModifierEvalContext *, Mesh *mesh) |
| static void | init_data (ModifierData *md) |
| static void | required_data_mask (ModifierData *md, CustomData_MeshMasks *r_cddata_masks) |
| static void | panel_draw (const bContext *, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
Variables | |
| ModifierTypeInfo | modifierType_Weld |
Weld modifier: Remove doubles.
Definition in file MOD_weld.cc.
|
static |
Definition at line 83 of file MOD_weld.cc.
References BKE_id_defgroup_name_index(), BLI_assert_unreachable, WeldModifierData::defgrp_name, WeldModifierData::flag, get_vertex_group(), Mesh::id, invert(), blender::Span< T >::is_empty(), WeldModifierData::merge_dist, blender::geometry::mesh_merge_by_distance_all(), blender::geometry::mesh_merge_by_distance_connected(), MOD_WELD_INVERT_VGROUP, MOD_WELD_LOOSE_EDGES, MOD_WELD_MODE_ALL, MOD_WELD_MODE_CONNECTED, WeldModifierData::mode, selected_indices_from_vertex_group(), selection_array_from_vertex_group(), and Mesh::verts_num.
Referenced by modify_mesh().
|
static |
Definition at line 52 of file MOD_weld.cc.
Referenced by calculate_weld().
|
static |
Definition at line 128 of file MOD_weld.cc.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 117 of file MOD_weld.cc.
References calculate_weld(), and result.
Definition at line 147 of file MOD_weld.cc.
References IFACE_, Panel::layout, MOD_WELD_MODE_CONNECTED, modifier_error_message_draw(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), uiLayout::prop(), ptr, RNA_enum_get(), UI_ITEM_NONE, and uiLayout::use_property_split_set().
|
static |
Definition at line 167 of file MOD_weld.cc.
References eModifierType_Weld, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 137 of file MOD_weld.cc.
References CD_MASK_MDEFORMVERT, WeldModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 60 of file MOD_weld.cc.
References IndexMask::from_predicate(), i, blender::Span< T >::index_range(), and invert().
Referenced by calculate_weld().
|
static |
Definition at line 71 of file MOD_weld.cc.
References BKE_defvert_find_weight(), i, blender::Span< T >::index_range(), invert(), and blender::Span< T >::size().
Referenced by calculate_weld().
| ModifierTypeInfo modifierType_Weld |
Definition at line 172 of file MOD_weld.cc.