Blender V5.0
blender::bke::BoneDeformDualQuaternionMixer< 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 &co, float total, float armature_weight, float3 &r_delta_co, float3x3 &r_deform_mat)

Public Attributes

DualQuat dq = {}

Detailed Description

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

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

Definition at line 161 of file armature_deform.cc.

Member Function Documentation

◆ accumulate()

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

◆ accumulate_bbone()

template<bool full_deform>
void blender::bke::BoneDeformDualQuaternionMixer< 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::BoneDeformDualQuaternionMixer< full_deform >::finalize ( const float3 & co,
float total,
float armature_weight,
float3 & r_delta_co,
float3x3 & r_deform_mat )
inline

Member Data Documentation

◆ dq

template<bool full_deform>
DualQuat blender::bke::BoneDeformDualQuaternionMixer< full_deform >::dq = {}

Definition at line 162 of file armature_deform.cc.

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


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