|
Blender V5.3
|
#include <BKE_pose.hh>
Public Member Functions | |
| PChanBoneT (PoseChannelT *pchan, BoneT *bone) | |
| PChanBoneT () | |
| template<typename OtherPChan, typename OtherBone> requires std::convertible_to<OtherPChan *, PoseChannelT *> && std::convertible_to<OtherBone *, BoneT *> | |
| PChanBoneT (const PChanBoneT< OtherPChan, OtherBone > &other) | |
Public Attributes | |
| PoseChannelT * | pchan |
| BoneT * | bone |
Pairing of a pose channel with its corresponding armature bone.
This struct allows code which already has both pointers can pass them around without repeating the armature bone lookup. Currently this lookup is cheap (just following a pointer), but in the future it will become more expensive (array index lookup to find that pointer, then follow it).
Both pointers are expected to both be null, or both be non-null and refer to matching data (i.e. bone is the Bone that pchan currently resolves to via its armature index).
This type is non-owning. It must not outlive either pointers.
Definition at line 60 of file BKE_pose.hh.
|
inline |
Definition at line 64 of file BKE_pose.hh.
|
inline |
Default constructor for nullptr values.
This constructor is here to allow arrays of PChanBoneT to be pre-allocated.
Definition at line 75 of file BKE_pose.hh.
|
inline |
Definition at line 83 of file BKE_pose.hh.
| BoneT* blender::bke::PChanBoneT< PoseChannelT, BoneT >::bone |
Definition at line 62 of file BKE_pose.hh.
Referenced by blender::animrig::ANIM_bonecolor_posebone_get(), blender::applyarmature_transfer_properties(), blender::bke::armature_vert_task_with_mixer(), blender::armdef_accumulate_bone(), blender::BKE_bone_parent_transform_calc_from_pchan(), blender::BKE_pchan_bbone_handles_get(), blender::BKE_pchan_bbone_segments_cache_compute(), blender::BKE_pchan_bbone_spline_params_get(), blender::BKE_pchan_bbone_spline_setup(), blender::BKE_pchan_rebuild_bbone_handles(), blender::BKE_pchan_to_mat4(), blender::BKE_pose_where_is_bone_tail(), blender::animrig::bone_is_selectable(), blender::animrig::bone_is_visible(), blender::compute_bbone_segment_boundaries(), blender::bke::dist_bone_deform(), blender::find_bbone_segment_index_curved(), blender::find_bbone_segment_index_straight(), blender::bke::pchan_bone_deform(), blender::animrig::pose_depth_iterator_recursive(), blender::pose_do_bone_select(), blender::ed::transform::pose_transform_mirror_update(), blender::bke::tests::ArmatureDeformTestBase::update_pose_matrices(), and blender::where_is_ik_bone().
| PoseChannelT* blender::bke::PChanBoneT< PoseChannelT, BoneT >::pchan |
Definition at line 61 of file BKE_pose.hh.
Referenced by blender::action_group_colors_set_from_posebone(), blender::animrig::ANIM_bonecolor_posebone_get(), blender::applyarmature_transfer_properties(), blender::bke::armature_vert_task_with_mixer(), blender::armdef_accumulate_bone(), blender::bke::b_bone_deform(), blender::BKE_bone_parent_transform_calc_from_pchan(), blender::BKE_pchan_bbone_deform_segment_index(), blender::BKE_pchan_bbone_handles_get(), blender::BKE_pchan_bbone_segments_cache_compute(), blender::BKE_pchan_bbone_spline_params_get(), blender::BKE_pchan_calc_mat(), blender::BKE_pchan_minmax(), blender::BKE_pchan_rebuild_bbone_handles(), blender::BKE_pchan_to_mat4(), blender::BKE_pose_where_is_bone_tail(), blender::animrig::bone_is_selected(), blender::animrig::bone_is_visible(), blender::compute_bbone_segment_boundaries(), blender::bke::dist_bone_deform(), blender::find_bbone_segment_index_curved(), blender::find_bbone_segment_index_straight(), blender::bke::pchan_bone_deform(), blender::animrig::pose_depth_iterator_recursive(), blender::pose_do_bone_select(), blender::ed::transform::pose_grab_with_ik_add(), blender::ed::transform::pose_mirror_info_init(), blender::ed::transform::pose_transform_mirror_update(), blender::bke::tests::ArmatureDeformTestBase::update_pose_matrices(), and blender::where_is_ik_bone().