|
Blender V5.0
|
#include "MEM_guardedalloc.h"#include "BLI_math_vector.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "DNA_defaults.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_screen_types.h"#include "BKE_deform.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"#include "RNA_prototypes.hh"#include "RNA_types.hh"#include "MOD_modifiertypes.hh"#include "MOD_ui_common.hh"#include "MOD_util.hh"Go to the source code of this file.
Functions | |
| static void | init_data (ModifierData *md) |
| static bool | is_disabled (const Scene *, ModifierData *md, bool) |
| static void | required_data_mask (ModifierData *md, CustomData_MeshMasks *r_cddata_masks) |
| static void | smoothModifier_do (SmoothModifierData *smd, Object *ob, Mesh *mesh, float(*vertexCos)[3], int verts_num) |
| static void | deform_verts (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh, blender::MutableSpan< blender::float3 > positions) |
| static void | panel_draw (const bContext *, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
Variables | |
| ModifierTypeInfo | modifierType_Smooth |
|
static |
Definition at line 168 of file MOD_smooth.cc.
References blender::MutableSpan< T >::data(), ModifierEvalContext::object, blender::MutableSpan< T >::size(), and smoothModifier_do().
|
static |
Definition at line 33 of file MOD_smooth.cc.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 42 of file MOD_smooth.cc.
References SmoothModifierData::fac, flag, SmoothModifierData::flag, MOD_SMOOTH_X, MOD_SMOOTH_Y, and MOD_SMOOTH_Z.
Definition at line 178 of file MOD_smooth.cc.
References col, uiLayout::column(), IFACE_, Panel::layout, modifier_error_message_draw(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), uiLayout::prop(), ptr, uiLayout::row(), UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, and uiLayout::use_property_split_set().
|
static |
Definition at line 203 of file MOD_smooth.cc.
References eModifierType_Smooth, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 56 of file MOD_smooth.cc.
References CD_MASK_MDEFORMVERT, SmoothModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 66 of file MOD_smooth.cc.
References add_v3_v3(), BKE_defvert_find_weight(), SmoothModifierData::defgrp_name, SmoothModifierData::fac, flag, SmoothModifierData::flag, float, i, blender::Span< T >::index_range(), MEM_calloc_arrayN(), MEM_freeN(), mid_v3_v3v3(), MOD_get_vgroup(), MOD_SMOOTH_INVERT_VGROUP, MOD_SMOOTH_X, MOD_SMOOTH_Y, MOD_SMOOTH_Z, mul_v3_fl(), and SmoothModifierData::repeat.
Referenced by deform_verts().
| ModifierTypeInfo modifierType_Smooth |
Definition at line 208 of file MOD_smooth.cc.