|
Blender V5.0
|
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 59 of file overlay_armature.cc.
| using UnifiedBonePtr::f44 = float[4][4] |
Definition at line 156 of file overlay_armature.cc.
|
default |
References ptr, and UnifiedBonePtr().
Referenced by UnifiedBonePtr().
|
inline |
Definition at line 69 of file overlay_armature.cc.
|
inline |
Definition at line 71 of file overlay_armature.cc.
|
inline |
Definition at line 72 of file overlay_armature.cc.
|
inline |
Definition at line 86 of file overlay_armature.cc.
References BLI_assert_msg, and eBone_.
|
inline |
Definition at line 79 of file overlay_armature.cc.
References BLI_assert_msg, and eBone_.
Referenced by bone_draw_b_bone(), bone_draw_envelope(), bone_draw_wire(), draw_bone_relations(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_default(), and draw_points().
|
inline |
Definition at line 101 of file overlay_armature.cc.
References BLI_assert_msg, and pchan_.
|
inline |
Definition at line 94 of file overlay_armature.cc.
References BLI_assert_msg, and pchan_.
Referenced by bone_draw_b_bone(), bone_draw_custom_shape(), bone_draw_envelope(), bone_draw_wire(), draw_axes(), draw_bone_relations(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_custom_shape(), draw_bone_update_disp_matrix_default(), and should_draw_relation_to_parent().
|
inline |
Return the pose bone's constraint flags, or 0 if not a pose bone.
Definition at line 146 of file overlay_armature.cc.
References pchan_.
Referenced by get_pchan_color_constraint().
|
inline |
Definition at line 161 of file overlay_armature.cc.
|
inline |
Definition at line 157 of file overlay_armature.cc.
References eBone_, and pchan_.
Referenced by bone_draw_custom_shape(), bone_draw_envelope(), bone_draw_line(), bone_draw_octa(), draw_axes(), draw_bone_update_disp_matrix_custom_shape(), draw_bone_update_disp_matrix_default(), and draw_points().
|
inline |
Definition at line 171 of file overlay_armature.cc.
|
inline |
Definition at line 166 of file overlay_armature.cc.
References eBone_, and pchan_.
Referenced by draw_bone_update_disp_matrix_default(), and draw_points().
|
inline |
Definition at line 188 of file overlay_armature.cc.
References eBone_, and pchan_.
Referenced by set_ctx_bcolor().
|
inline |
Definition at line 129 of file overlay_armature.cc.
References BONE_SELECTED, eBone_, flag(), pchan_, and POSE_SELECTED.
Referenced by bone_draw_line(), blender::draw::overlay::Armatures::draw_armature_pose(), draw_axes(), and flag().
|
inline |
Definition at line 118 of file overlay_armature.cc.
References eBone_, and pchan_.
Referenced by draw_bone_name().
|
inline |
Definition at line 123 of file overlay_armature.cc.
|
inline |
Definition at line 151 of file overlay_armature.cc.
References eBone_, nullptr, and pchan_.
Referenced by bone_draw_line(), draw_points(), and should_draw_relation_to_parent().
|
inline |
Definition at line 109 of file overlay_armature.cc.
Referenced by bone_draw_envelope(), bone_draw_line(), bone_draw_wire(), is_posebone(), and should_draw_relation_to_parent().
|
inline |
Definition at line 113 of file overlay_armature.cc.
References is_editbone().
Referenced by bone_draw_b_bone(), bone_draw_wire(), draw_axes(), draw_bone_name(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_default(), and should_draw_relation_to_parent().
|
inline |
Definition at line 74 of file overlay_armature.cc.
|
inline |
Definition at line 178 of file overlay_armature.cc.
References eBone_, and pchan_.
Referenced by draw_points().
|
inline |
Definition at line 183 of file overlay_armature.cc.
References eBone_, and pchan_.
Referenced by draw_points().
| EditBone* UnifiedBonePtr::eBone_ |
Definition at line 62 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(), rad_tail(), and UnifiedBonePtr().
| bPoseChannel* UnifiedBonePtr::pchan_ |
Definition at line 63 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(), rad_tail(), and UnifiedBonePtr().