Blender V5.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_c.hh"
#include "BLI_math_vector_c.hh"
#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_subdiv_mesh.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.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static int blender::bone_skinnable_cb (Object *, Bone *bone, void *datap)
static int blender::vgroup_add_unique_bone_cb (Object *ob, Bone *bone, void *)
static int blender::dgroup_skinnable_cb (Object *ob, Bone *bone, void *datap)
static void blender::envelope_bone_weighting (Object *ob, Mesh *mesh, const Span< float3 > verts, int numbones, Bone **bonelist, bDeformGroup **dgrouplist, bDeformGroup **dgroupflip, float(*root)[3], float(*tip)[3], const bool *selected, float scale)
static void blender::add_verts_to_dgroups (ReportList *reports, Scene *, Object *ob, Object *par, int heat, const bool mirror)
void blender::ED_object_vgroup_calc_from_armature (ReportList *reports, 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.