|
Blender V4.3
|
#include "MEM_guardedalloc.h"#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_customdata.hh"#include "BKE_deform.hh"#include "BKE_modifier.hh"#include "BKE_screen.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "DEG_depsgraph.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 93 of file MOD_weld.cc.
References BKE_id_defgroup_name_index(), BLI_assert_unreachable, WeldModifierData::defgrp_name, WeldModifierData::flag, get_vertex_group(), 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, and selection_array_from_vertex_group().
Referenced by modify_mesh().
|
static |
Definition at line 57 of file MOD_weld.cc.
References CD_MDEFORMVERT, and CustomData_get_layer().
Referenced by calculate_weld().
|
static |
Definition at line 138 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 127 of file MOD_weld.cc.
References calculate_weld(), mesh, and result.
Definition at line 157 of file MOD_weld.cc.
References IFACE_, Panel::layout, MOD_WELD_MODE_CONNECTED, modifier_panel_end(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), ptr, RNA_enum_get(), UI_ITEM_NONE, uiItemR(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 177 of file MOD_weld.cc.
References eModifierType_Weld, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 147 of file MOD_weld.cc.
References CD_MASK_MDEFORMVERT, WeldModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 70 of file MOD_weld.cc.
References blender::Span< T >::index_range().
Referenced by calculate_weld().
|
static |
Definition at line 81 of file MOD_weld.cc.
References BKE_defvert_find_weight(), blender::Span< T >::index_range(), invert(), selection, and blender::Span< T >::size().
Referenced by calculate_weld().
| ModifierTypeInfo modifierType_Weld |
Definition at line 182 of file MOD_weld.cc.