|
Blender
V3.3
|
#include "MEM_guardedalloc.h"#include "BLI_utildefines.h"#include "BLI_math.h"#include "BLT_translation.h"#include "DNA_defaults.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_object_types.h"#include "DNA_screen_types.h"#include "BKE_context.h"#include "BKE_deform.h"#include "BKE_editmesh.h"#include "BKE_lib_id.h"#include "BKE_mesh.h"#include "BKE_mesh_wrapper.h"#include "BKE_particle.h"#include "BKE_screen.h"#include "UI_interface.h"#include "UI_resources.h"#include "RNA_access.h"#include "RNA_prototypes.h"#include "MOD_modifiertypes.h"#include "MOD_ui_common.h"#include "MOD_util.h"Go to the source code of this file.
Functions | |
| static void | initData (ModifierData *md) |
| static bool | isDisabled (const struct Scene *UNUSED(scene), ModifierData *md, bool UNUSED(useRenderParams)) |
| static void | requiredDataMask (Object *UNUSED(ob), 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 | deformVerts (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh, float(*vertexCos)[3], int verts_num) |
| static void | deformVertsEM (ModifierData *md, const ModifierEvalContext *ctx, struct BMEditMesh *editData, Mesh *mesh, float(*vertexCos)[3], int verts_num) |
| static void | panel_draw (const bContext *UNUSED(C), Panel *panel) |
| static void | panelRegister (ARegionType *region_type) |
Variables | |
| ModifierTypeInfo | modifierType_Smooth |
|
static |
Definition at line 183 of file MOD_smooth.c.
References BKE_id_free(), ELEM, mesh, MOD_deform_mesh_eval_get(), NULL, ModifierEvalContext::object, and smoothModifier_do().
|
static |
Definition at line 202 of file MOD_smooth.c.
References BKE_id_free(), BKE_mesh_wrapper_ensure_mdata(), ELEM, mesh, MOD_deform_mesh_eval_get(), NULL, ModifierEvalContext::object, and smoothModifier_do().
|
static |
Definition at line 41 of file MOD_smooth.c.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
|
static |
Definition at line 50 of file MOD_smooth.c.
References SmoothModifierData::fac, SmoothModifierData::flag, MOD_SMOOTH_X, MOD_SMOOTH_Y, and MOD_SMOOTH_Z.
Definition at line 225 of file MOD_smooth.c.
References col, IFACE_, Panel::layout, modifier_panel_end(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), NULL, ptr, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_TOGGLE, uiItemR(), uiLayoutColumn(), uiLayoutRowWithHeading(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 250 of file MOD_smooth.c.
References eModifierType_Smooth, modifier_panel_register(), and panel_draw().
|
static |
Definition at line 66 of file MOD_smooth.c.
References CD_MASK_MDEFORMVERT, SmoothModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
|
static |
Definition at line 78 of file MOD_smooth.c.
References add_v3_v3(), BKE_defvert_find_weight(), SmoothModifierData::defgrp_name, SmoothModifierData::fac, SmoothModifierData::flag, float(), Mesh::medge, MEM_calloc_arrayN, MEM_freeN, mesh, mid_v3_v3v3(), MOD_get_vgroup(), MOD_SMOOTH_INVERT_VGROUP, MOD_SMOOTH_X, MOD_SMOOTH_Y, MOD_SMOOTH_Z, mul_v3_fl(), NULL, SmoothModifierData::repeat, Mesh::totedge, MEdge::v1, and MEdge::v2.
Referenced by deformVerts(), and deformVertsEM().
| ModifierTypeInfo modifierType_Smooth |
Definition at line 255 of file MOD_smooth.c.