Go to the documentation of this file.
18 const std::string& prefix)
20 namespace mmm_model_body_68 = human::pose::model::mmm_body_68;
21 namespace k4a_bt_body_32 = human::pose::model::k4a_bt_body_32;
22 namespace openpose_body_25 = human::pose::model::openpose_body_25;
39 <<
"visualization is available at this point.";
48 const std::string& prefix)
50 for (
const auto& [name, pose] : poses)
60 const std::string& prefix)
62 static const int jointThickness = 30;
69 for (
auto const& [name, kp] : pose.
keypoints)
72 .
position(kp.positionGlobal->toEigen())
void addPoseToLayer(const armarx::armem::human::HumanPose &pose, HumanPoseLayers &layers, const std::string &prefix)
static Color fromRGBA(int r, int g, int b, int a=255)
Construct a byte color from R, G, B and optional alpha.
void addPosesToLayer(const std::map< std::string, armarx::armem::human::HumanPose > &poses, HumanPoseLayers &layers, const std::string &prefix)
void add(ElementT const &element)
DerivedT & position(float x, float y, float z)
const std::string ModelId
DerivedT & color(Color color)
void addPoseToLayer(const armarx::armem::human::HumanPose &pose, HumanPoseLayers &layers, const std::string &prefix)
This file offers overloads of toIce() and fromIce() functions for STL container types.