9#include <Threedim/HumanoidPose.hpp>
21inline constexpr std::array<
23 std::size_t(humanoid_bone_index::Count)>
25 humanoid_bone_index::Count,
26 humanoid_bone_index::Hips,
27 humanoid_bone_index::Spine,
28 humanoid_bone_index::Chest,
29 humanoid_bone_index::Neck,
31 humanoid_bone_index::Chest,
32 humanoid_bone_index::LeftShoulder,
33 humanoid_bone_index::LeftUpperArm,
34 humanoid_bone_index::LeftLowerArm,
36 humanoid_bone_index::Chest,
37 humanoid_bone_index::RightShoulder,
38 humanoid_bone_index::RightUpperArm,
39 humanoid_bone_index::RightLowerArm,
41 humanoid_bone_index::Hips,
42 humanoid_bone_index::LeftUpperLeg,
43 humanoid_bone_index::LeftLowerLeg,
44 humanoid_bone_index::LeftFoot,
46 humanoid_bone_index::Hips,
47 humanoid_bone_index::RightUpperLeg,
48 humanoid_bone_index::RightLowerLeg,
49 humanoid_bone_index::RightFoot,
63inline constexpr std::array<
65 std::size_t(humanoid_bone_index::Count)>
66 kHumanoidRestAxis = {{
102 int16_t parent_idx{-1};
103 int16_t child_idx{-1};
104 bool valid()
const noexcept {
return parent_idx >= 0 && child_idx >= 0; }
107using HumanoidKeypointMap = std::array<
109 std::size_t(humanoid_bone_index::Count)>;
129inline constexpr HumanoidKeypointMap kBlazePoseMap = {{
167inline constexpr HumanoidKeypointMap kCoco17Map = {{
201inline constexpr HumanoidKeypointMap kRTMPoseWholeMap = kCoco17Map;
Definition HumanoidSourceMaps.hpp:101