Blender V5.0
blender::bke::BoneDeformLinearMixer< full_deform > Struct Template Reference

Public Member Functions

void accumulate (const bPoseChannel &pchan, const float3 &co, const float weight)
void accumulate_bbone (const bPoseChannel &pchan, const float3 &co, const float weight, const int index)
void finalize (const float3 &, float total, float armature_weight, float3 &r_delta_co, float3x3 &r_deform_mat)

Public Attributes

float3 position_delta = float3(0.0f)
float3x3 deform = float3x3::zero()

Detailed Description

template<bool full_deform>
struct blender::bke::BoneDeformLinearMixer< full_deform >

Utility class for accumulating linear bone deformation. If full_deform is true the deformation matrix is also computed.

Definition at line 114 of file armature_deform.cc.

Member Function Documentation

◆ accumulate()

template<bool full_deform>
void blender::bke::BoneDeformLinearMixer< full_deform >::accumulate ( const bPoseChannel & pchan,
const float3 & co,
const float weight )
inline

◆ accumulate_bbone()

template<bool full_deform>
void blender::bke::BoneDeformLinearMixer< full_deform >::accumulate_bbone ( const bPoseChannel & pchan,
const float3 & co,
const float weight,
const int index )
inline

◆ finalize()

template<bool full_deform>
void blender::bke::BoneDeformLinearMixer< full_deform >::finalize ( const float3 & ,
float total,
float armature_weight,
float3 & r_delta_co,
float3x3 & r_deform_mat )
inline

Definition at line 145 of file armature_deform.cc.

References deform, and position_delta.

Member Data Documentation

◆ deform

template<bool full_deform>
float3x3 blender::bke::BoneDeformLinearMixer< full_deform >::deform = float3x3::zero()

Definition at line 117 of file armature_deform.cc.

Referenced by accumulate(), accumulate_bbone(), and finalize().

◆ position_delta

template<bool full_deform>
float3 blender::bke::BoneDeformLinearMixer< full_deform >::position_delta = float3(0.0f)

Definition at line 116 of file armature_deform.cc.

Referenced by accumulate(), accumulate_bbone(), and finalize().


The documentation for this struct was generated from the following file: