Blender V4.3
armature_skinning.cc File Reference
#include "DNA_armature_types.h"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_math_matrix.h"
#include "BLI_math_vector.h"
#include "BLI_string_utils.hh"
#include "BKE_action.hh"
#include "BKE_armature.hh"
#include "BKE_attribute.hh"
#include "BKE_deform.hh"
#include "BKE_mesh_iterators.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_object_deform.h"
#include "BKE_report.hh"
#include "BKE_subsurf.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "ED_armature.hh"
#include "ED_mesh.hh"
#include "ED_object_vgroup.hh"
#include "ANIM_bone_collections.hh"
#include "armature_intern.hh"
#include "meshlaplacian.h"

Go to the source code of this file.

Functions

static int bone_skinnable_cb (Object *, Bone *bone, void *datap)
 
static int vgroup_add_unique_bone_cb (Object *ob, Bone *bone, void *)
 
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 bool *selected, float scale)
 
static void add_verts_to_dgroups (ReportList *reports, Depsgraph *depsgraph, 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

  • Interfaces with heat weighting in meshlaplacian.

Definition in file armature_skinning.cc.

Function Documentation

◆ add_verts_to_dgroups()

◆ bone_skinnable_cb()

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

◆ dgroup_skinnable_cb()

◆ ED_object_vgroup_calc_from_armature()

◆ 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 bool * selected,
float scale )
static

◆ vgroup_add_unique_bone_cb()

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