|
Blender V4.3
|
Public Types | |
| using | f44 = float[4][4] |
Public Member Functions | |
| UnifiedBonePtr (const UnifiedBonePtr &ptr)=default | |
| ~UnifiedBonePtr () | |
| UnifiedBonePtr (EditBone *eBone) | |
| UnifiedBonePtr (bPoseChannel *pchan) | |
| const char * | name () const |
| const EditBone * | as_editbone () const |
| EditBone * | as_editbone () |
| const bPoseChannel * | as_posebone () const |
| bPoseChannel * | as_posebone () |
| bool | is_editbone () const |
| bool | is_posebone () const |
| void | get (const EditBone **eBone, const bPoseChannel **pchan) const |
| void | get (EditBone **eBone, bPoseChannel **pchan) |
| eBone_Flag | flag () const |
| ePchan_ConstFlag | constflag () const |
| bool | has_parent () const |
| const f44 & | disp_mat () const |
| f44 & | disp_mat () |
| const f44 & | disp_tail_mat () const |
| f44 & | disp_tail_mat () |
| const float & | rad_head () const |
| const float & | rad_tail () const |
| const blender::animrig::BoneColor & | effective_bonecolor () const |
Container for either an EditBone or a bPoseChannel.
Definition at line 60 of file overlay_armature.cc.
| using UnifiedBonePtr::f44 = float[4][4] |
Definition at line 146 of file overlay_armature.cc.
|
default |
|
inline |
Definition at line 70 of file overlay_armature.cc.
|
inline |
Definition at line 72 of file overlay_armature.cc.
|
inline |
Definition at line 73 of file overlay_armature.cc.
|
inline |
Definition at line 87 of file overlay_armature.cc.
References BLI_assert_msg, and eBone_.
|
inline |
Definition at line 80 of file overlay_armature.cc.
References BLI_assert_msg, and eBone_.
Referenced by ArmatureBoneDrawStrategyBBone::draw_bone(), ArmatureBoneDrawStrategyEnvelope::draw_bone(), ArmatureBoneDrawStrategyWire::draw_bone(), draw_bone_relations(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_default(), and draw_points().
|
inline |
Definition at line 102 of file overlay_armature.cc.
References BLI_assert_msg, and pchan_.
|
inline |
Definition at line 95 of file overlay_armature.cc.
References BLI_assert_msg, and pchan_.
Referenced by draw_axes(), ArmatureBoneDrawStrategyBBone::draw_bone(), ArmatureBoneDrawStrategyCustomShape::draw_bone(), ArmatureBoneDrawStrategyEnvelope::draw_bone(), ArmatureBoneDrawStrategyWire::draw_bone(), draw_bone_relations(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_default(), ArmatureBoneDrawStrategy::should_draw_relation_to_parent(), and ArmatureBoneDrawStrategyCustomShape::update_display_matrix().
|
inline |
Return the pose bone's constraint flags, or 0 if not a pose bone.
Definition at line 136 of file overlay_armature.cc.
References bPoseChannel::constflag, and pchan_.
Referenced by get_pchan_color_constraint().
|
inline |
Definition at line 151 of file overlay_armature.cc.
References bPoseChannel::disp_mat, EditBone::disp_mat, eBone_, and pchan_.
|
inline |
Definition at line 147 of file overlay_armature.cc.
References bPoseChannel::disp_mat, EditBone::disp_mat, eBone_, and pchan_.
Referenced by draw_axes(), ArmatureBoneDrawStrategyCustomShape::draw_bone(), ArmatureBoneDrawStrategyEnvelope::draw_bone(), ArmatureBoneDrawStrategyLine::draw_bone(), ArmatureBoneDrawStrategyOcta::draw_bone(), draw_bone_update_disp_matrix_default(), draw_points(), and ArmatureBoneDrawStrategyCustomShape::update_display_matrix().
|
inline |
Definition at line 161 of file overlay_armature.cc.
References bPoseChannel::disp_tail_mat, EditBone::disp_tail_mat, eBone_, and pchan_.
|
inline |
Definition at line 156 of file overlay_armature.cc.
References bPoseChannel::disp_tail_mat, EditBone::disp_tail_mat, eBone_, and pchan_.
Referenced by draw_bone_update_disp_matrix_default(), and draw_points().
|
inline |
Definition at line 178 of file overlay_armature.cc.
References bPoseChannel::bone, Bone::color, bPoseChannel::color, EditBone::color, eBone_, BoneColor::palette_index, and pchan_.
Referenced by set_ctx_bcolor().
|
inline |
Definition at line 130 of file overlay_armature.cc.
References bPoseChannel::bone, eBone_, Bone::flag, EditBone::flag, and pchan_.
Referenced by draw_axes(), and ArmatureBoneDrawStrategyLine::draw_bone().
|
inline |
Definition at line 119 of file overlay_armature.cc.
References eBone_, and pchan_.
Referenced by draw_bone_name().
|
inline |
Definition at line 124 of file overlay_armature.cc.
|
inline |
Definition at line 141 of file overlay_armature.cc.
References bPoseChannel::bone, eBone_, Bone::parent, EditBone::parent, and pchan_.
Referenced by ArmatureBoneDrawStrategyLine::draw_bone(), draw_points(), and ArmatureBoneDrawStrategy::should_draw_relation_to_parent().
|
inline |
Definition at line 110 of file overlay_armature.cc.
Referenced by ArmatureBoneDrawStrategyBBone::draw_bone(), ArmatureBoneDrawStrategyEnvelope::draw_bone(), ArmatureBoneDrawStrategyLine::draw_bone(), ArmatureBoneDrawStrategyWire::draw_bone(), is_posebone(), and ArmatureBoneDrawStrategy::should_draw_relation_to_parent().
|
inline |
Definition at line 114 of file overlay_armature.cc.
References is_editbone().
Referenced by draw_axes(), ArmatureBoneDrawStrategyBBone::draw_bone(), ArmatureBoneDrawStrategyWire::draw_bone(), draw_bone_name(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_default(), and ArmatureBoneDrawStrategy::should_draw_relation_to_parent().
|
inline |
Definition at line 75 of file overlay_armature.cc.
References eBone_, bPoseChannel::name, EditBone::name, and pchan_.
|
inline |
Definition at line 168 of file overlay_armature.cc.
References bPoseChannel::bone, eBone_, pchan_, Bone::rad_head, and EditBone::rad_head.
Referenced by draw_points().
|
inline |
Definition at line 173 of file overlay_armature.cc.
References bPoseChannel::bone, eBone_, pchan_, Bone::rad_tail, and EditBone::rad_tail.
Referenced by draw_points().
| EditBone* UnifiedBonePtr::eBone_ |
Definition at line 63 of file overlay_armature.cc.
Referenced by as_editbone(), as_editbone(), disp_mat(), disp_mat(), disp_tail_mat(), disp_tail_mat(), effective_bonecolor(), flag(), get(), get(), has_parent(), name(), rad_head(), and rad_tail().
| bPoseChannel* UnifiedBonePtr::pchan_ |
Definition at line 64 of file overlay_armature.cc.
Referenced by as_posebone(), as_posebone(), constflag(), disp_mat(), disp_mat(), disp_tail_mat(), disp_tail_mat(), effective_bonecolor(), flag(), get(), get(), has_parent(), name(), rad_head(), and rad_tail().