|
Blender V4.3
|
#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.hh"#include "UI_resources.hh"#include "RNA_prototypes.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 169 of file MOD_smooth.cc.
References ModifierEvalContext::object, and smoothModifier_do().
|
static |
Definition at line 32 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 41 of file MOD_smooth.cc.
References SmoothModifierData::fac, flag, SmoothModifierData::flag, MOD_SMOOTH_X, MOD_SMOOTH_Y, and MOD_SMOOTH_Z.
Definition at line 179 of file MOD_smooth.cc.
References col, IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), ptr, UI_ITEM_NONE, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, uiItemR(), uiLayoutColumn(), uiLayoutRowWithHeading(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 204 of file MOD_smooth.cc.
References eModifierType_Smooth, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 55 of file MOD_smooth.cc.
References CD_MASK_MDEFORMVERT, SmoothModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 65 of file MOD_smooth.cc.
References add_v3_v3(), BKE_defvert_find_weight(), SmoothModifierData::defgrp_name, SmoothModifierData::fac, flag, SmoothModifierData::flag, float, 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 209 of file MOD_smooth.cc.