Blender  V3.3
Functions
armature_skinning.c File Reference
#include "DNA_armature_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BLI_string_utils.h"
#include "BKE_action.h"
#include "BKE_armature.h"
#include "BKE_deform.h"
#include "BKE_mesh_iterators.h"
#include "BKE_mesh_runtime.h"
#include "BKE_modifier.h"
#include "BKE_object_deform.h"
#include "BKE_report.h"
#include "BKE_subsurf.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "ED_armature.h"
#include "ED_mesh.h"
#include "armature_intern.h"
#include "meshlaplacian.h"

Go to the source code of this file.

Functions

static int bone_skinnable_cb (Object *UNUSED(ob), Bone *bone, void *datap)
 
static int vgroup_add_unique_bone_cb (Object *ob, Bone *bone, void *UNUSED(ptr))
 
static int dgroup_skinnable_cb (Object *ob, Bone *bone, void *datap)
 
static void envelope_bone_weighting (Object *ob, Mesh *mesh, float(*verts)[3], int numbones, Bone **bonelist, bDeformGroup **dgrouplist, bDeformGroup **dgroupflip, float(*root)[3], float(*tip)[3], const int *selected, float scale)
 
static void add_verts_to_dgroups (ReportList *reports, Depsgraph *depsgraph, Scene *UNUSED(scene), Object *ob, Object *par, int heat, const bool mirror)
 
void ED_object_vgroup_calc_from_armature (ReportList *reports, Depsgraph *depsgraph, Scene *scene, Object *ob, Object *par, const int mode, const bool mirror)
 

Detailed Description

API's for creating vertex groups from bones

Definition in file armature_skinning.c.

Function Documentation

◆ add_verts_to_dgroups()

static void add_verts_to_dgroups ( ReportList reports,
Depsgraph depsgraph,
Scene UNUSEDscene,
Object ob,
Object par,
int  heat,
const bool  mirror 
)
static

◆ bone_skinnable_cb()

static int bone_skinnable_cb ( Object UNUSEDob,
Bone bone,
void datap 
)
static

◆ dgroup_skinnable_cb()

static int dgroup_skinnable_cb ( Object ob,
Bone bone,
void datap 
)
static

◆ ED_object_vgroup_calc_from_armature()

void ED_object_vgroup_calc_from_armature ( ReportList reports,
Depsgraph depsgraph,
Scene scene,
Object ob,
Object par,
const int  mode,
const bool  mirror 
)

◆ envelope_bone_weighting()

static void envelope_bone_weighting ( Object ob,
Mesh mesh,
float(*)  verts[3],
int  numbones,
Bone **  bonelist,
bDeformGroup **  dgrouplist,
bDeformGroup **  dgroupflip,
float(*)  root[3],
float(*)  tip[3],
const int *  selected,
float  scale 
)
static

◆ vgroup_add_unique_bone_cb()

static int vgroup_add_unique_bone_cb ( Object ob,
Bone bone,
void UNUSEDptr 
)
static