Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "BLI_math.h"
#include "BLT_translation.h"
#include "DNA_curveprofile_types.h"
#include "DNA_defaults.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "BKE_context.h"
#include "BKE_curveprofile.h"
#include "BKE_deform.h"
#include "BKE_mesh.h"
#include "BKE_modifier.h"
#include "BKE_screen.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "MOD_ui_common.h"
#include "MOD_util.h"
#include "BLO_read_write.h"
#include "bmesh.h"
#include "bmesh_tools.h"
#include "DEG_depsgraph_query.h"
Go to the source code of this file.
Variables | |
ModifierTypeInfo | modifierType_Bevel |
|
static |
Definition at line 409 of file MOD_bevel.c.
References BKE_curveprofile_blend_read(), BLO_read_data_address, and BevelModifierData::custom_profile.
|
static |
Definition at line 398 of file MOD_bevel.c.
References BKE_curveprofile_blend_write(), BLO_write_struct, and BevelModifierData::custom_profile.
|
static |
Definition at line 58 of file MOD_bevel.c.
References BKE_curveprofile_copy(), BKE_modifier_copydata_generic(), and BevelModifierData::custom_profile.
|
static |
Definition at line 234 of file MOD_bevel.c.
|
static |
Definition at line 239 of file MOD_bevel.c.
References BKE_curveprofile_free(), and BevelModifierData::custom_profile.
Definition at line 332 of file MOD_bevel.c.
References BEVEL_MITER_ARC, IFACE_, Panel::layout, MOD_BEVEL_AFFECT_VERTICES, modifier_panel_get_property_pointers(), NULL, ptr, RNA_enum_get(), uiItemR(), uiItemS(), uiLayoutRow(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 47 of file MOD_bevel.c.
References BKE_curveprofile_add(), BLI_assert, BevelModifierData::custom_profile, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, MEMCPY_STRUCT_AFTER, and PROF_PRESET_LINE.
|
static |
Definition at line 245 of file MOD_bevel.c.
References BevelModifierData::value.
|
static |
Definition at line 82 of file MOD_bevel.c.
References BevelModifierData::affect_type, BevelModifierData::bevel_angle, BKE_defvert_array_find_weight_safe(), BKE_mesh_from_bmesh_for_eval_nomain(), BKE_mesh_to_bmesh_ex(), BKE_modifier_set_error(), BLI_assert, bm, BM_edge_is_manifold(), BM_edge_loop_pair(), BM_EDGES_OF_MESH, BM_elem_flag_enable, BM_elem_float_data_get(), BM_elem_index_get, BM_ELEM_TAG, BM_ITER_MESH, BM_mesh_bevel(), BM_mesh_free(), BM_VERTS_OF_MESH, CD_BWEIGHT, CD_MASK_ORIGINDEX, CLAMPIS, cosf, BevelModifierData::custom_profile, Object::data, BevelModifierData::defgrp_name, dot_v3v3(), e, BMesh::edata, BevelModifierData::edge_flags, BMesh::etoolflagpool, BMLoop::f, BevelModifierData::face_str_mode, BevelModifierData::flags, BMesh::ftoolflagpool, l_b, BevelModifierData::lim_flags, BevelModifierData::mat, ME_AUTOSMOOTH, mesh, BevelModifierData::miter_inner, BevelModifierData::miter_outer, MOD_BEVEL_AFFECT_VERTICES, MOD_BEVEL_ANGLE, MOD_BEVEL_EVEN_WIDTHS, MOD_BEVEL_HARDEN_NORMALS, MOD_BEVEL_INVERT_VGROUP, MOD_BEVEL_MARK_SEAM, MOD_BEVEL_MARK_SHARP, MOD_BEVEL_OVERLAP_OK, MOD_BEVEL_VGROUP, MOD_BEVEL_WEIGHT, MOD_get_vgroup(), BMFace::no, NULL, OB_MESH, ModifierEvalContext::object, BevelModifierData::profile, BevelModifierData::profile_type, BevelModifierData::res, result, Mesh::smoothresh, BevelModifierData::spread, threshold, Object::totcol, Object::type, v, BevelModifierData::val_flags, BevelModifierData::value, BMesh::vdata, BevelModifierData::vmesh_method, and BMesh::vtoolflagpool.
Definition at line 251 of file MOD_bevel.c.
References BEVEL_AMT_PERCENT, col, IFACE_, Panel::layout, MOD_BEVEL_AFFECT_VERTICES, MOD_BEVEL_ANGLE, MOD_BEVEL_VGROUP, modifier_panel_end(), modifier_panel_get_property_pointers(), modifier_vgroup_ui(), NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 387 of file MOD_bevel.c.
References eModifierType_Bevel, geometry_panel_draw(), modifier_panel_register(), modifier_subpanel_register(), NULL, panel_draw(), profile_panel_draw(), and shading_panel_draw().
Definition at line 293 of file MOD_bevel.c.
References ELEM, IFACE_, Panel::layout, MOD_BEVEL_AFFECT_VERTICES, MOD_BEVEL_MITER_SHARP, MOD_BEVEL_PROFILE_CUSTOM, MOD_BEVEL_PROFILE_SUPERELLIPSE, modifier_panel_get_property_pointers(), NULL, ptr, RNA_enum_get(), UI_ITEM_R_EXPAND, UI_ITEM_R_SLIDER, uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), and uiTemplateCurveProfile().
Referenced by panelRegister().
|
static |
Definition at line 67 of file MOD_bevel.c.
References CD_MASK_MDEFORMVERT, BevelModifierData::defgrp_name, and CustomData_MeshMasks::vmask.
Definition at line 365 of file MOD_bevel.c.
References col, IFACE_, Panel::layout, MOD_BEVEL_AFFECT_VERTICES, modifier_panel_get_property_pointers(), NULL, ptr, RNA_enum_get(), uiItemR(), uiLayoutColumnWithHeading(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panelRegister().
ModifierTypeInfo modifierType_Bevel |
Definition at line 419 of file MOD_bevel.c.