Blender V2.61 - r43446
|
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "BLI_string.h"
#include "BKE_bmesh.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_modifier.h"
#include "BKE_particle.h"
#include "MOD_util.h"
Go to the source code of this file.
Functions | |
static void | initData (ModifierData *md) |
static void | copyData (ModifierData *md, ModifierData *target) |
static CustomDataMask | requiredDataMask (Object *UNUSED(ob), ModifierData *md) |
static DerivedMesh * | applyModifier (ModifierData *md, Object *UNUSED(ob), DerivedMesh *derivedData, int UNUSED(useRenderParams), int UNUSED(isFinalCalc)) |
static DerivedMesh * | applyModifierEM (ModifierData *md, Object *ob, EditMesh *UNUSED(editData), DerivedMesh *derivedData) |
Variables | |
ModifierTypeInfo | modifierType_Bevel |
Definition in file MOD_bevel.c.
static DerivedMesh* applyModifier | ( | ModifierData * | md, |
Object * | UNUSEDob, | ||
DerivedMesh * | derivedData, | ||
int | UNUSEDuseRenderParams, | ||
int | UNUSEDisFinalCalc | ||
) | [static] |
Definition at line 88 of file MOD_bevel.c.
References BevelModifierData::bevel_angle, BME_bevel(), BME_bmesh_to_derivedmesh(), BME_derivedmesh_to_bmesh(), BME_free_mesh(), CDDM_calc_normals(), BevelModifierData::e_flags, BevelModifierData::flags, BevelModifierData::lim_flags, NULL, options, BevelModifierData::res, BevelModifierData::val_flags, and BevelModifierData::value.
Referenced by applyModifierEM().
static DerivedMesh* applyModifierEM | ( | ModifierData * | md, |
Object * | ob, | ||
EditMesh * | UNUSEDeditData, | ||
DerivedMesh * | derivedData | ||
) | [static] |
Definition at line 119 of file MOD_bevel.c.
References applyModifier().
static void copyData | ( | ModifierData * | md, |
ModifierData * | target | ||
) | [static] |
Definition at line 62 of file MOD_bevel.c.
References BevelModifierData::bevel_angle, BLI_strncpy(), BevelModifierData::defgrp_name, BevelModifierData::e_flags, BevelModifierData::flags, BevelModifierData::lim_flags, BevelModifierData::res, BevelModifierData::val_flags, and BevelModifierData::value.
static void initData | ( | ModifierData * | md | ) | [static] |
Definition at line 48 of file MOD_bevel.c.
References BevelModifierData::bevel_angle, BevelModifierData::defgrp_name, BevelModifierData::e_flags, BevelModifierData::flags, BevelModifierData::lim_flags, BevelModifierData::res, BevelModifierData::val_flags, and BevelModifierData::value.
static CustomDataMask requiredDataMask | ( | Object * | UNUSEDob, |
ModifierData * | md | ||
) | [static] |
Definition at line 77 of file MOD_bevel.c.
References CD_MASK_MDEFORMVERT, and BevelModifierData::defgrp_name.
{ "Bevel", "BevelModifierData", sizeof(BevelModifierData), eModifierTypeType_Constructive, eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_EnableInEditmode, copyData, NULL, NULL, NULL, NULL, applyModifier, applyModifierEM, initData, requiredDataMask, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }
Definition at line 127 of file MOD_bevel.c.