HumanPose.h
Go to the documentation of this file.
1#pragma once
2
3
4#include <map>
5#include <optional>
6#include <string>
7#include <SimoxUtility/color/Color.h>
8
10
12
13namespace armarx::viz
14{
15
21
23 {
26 float thinFactor = 1. / 3.;
27
28 // if nullopt, then chosen automatically by color scheme
29 std::optional<::simox::Color> segmentColor;
30 std::optional<::simox::Color> jointColor;
31 };
32
34 HumanPoseLayers& layers,
35 const std::string& prefix,
36 const DrawingStyle& drawingStyle = DrawingStyle());
37
38 void addPosesToLayer(const std::map<std::string, armarx::armem::human::HumanPose>& poses,
39 HumanPoseLayers& layers,
40 const std::string& prefix,
41 const DrawingStyle& drawingStyle = DrawingStyle());
42
43 namespace generic
44 {
46 HumanPoseLayers& layers,
47 const std::string& prefix,
48 const DrawingStyle& drawingStyle = DrawingStyle());
49 }
50
51} // namespace armarx::viz
void addPoseToLayer(const armarx::armem::human::HumanPose &pose, HumanPoseLayers &layers, const std::string &prefix, const DrawingStyle &drawingStyle=DrawingStyle())
Definition HumanPose.cpp:59
This file is part of ArmarX.
void addPosesToLayer(const std::map< std::string, armarx::armem::human::HumanPose > &poses, HumanPoseLayers &layers, const std::string &prefix, const DrawingStyle &drawingStyle=DrawingStyle())
Definition HumanPose.cpp:47
void addPoseToLayer(const armarx::armem::human::HumanPose &pose, HumanPoseLayers &layers, const std::string &prefix, const DrawingStyle &drawingStyle=DrawingStyle())
Definition HumanPose.cpp:16
std::optional<::simox::Color > jointColor
Definition HumanPose.h:30
std::optional<::simox::Color > segmentColor
Definition HumanPose.h:29