Go to the documentation of this file.
29 const std::map<std::string, std::pair<unsigned int, std::string>>
MPII_TO_MPI
31 {
"head", {0,
"Head"}},
32 {
"neck", {1,
"Neck"}},
33 {
"right_shoulder", {2,
"RShoulder"}},
34 {
"right_elbow", {3,
"RElbow"}},
35 {
"right_hand", {4,
"RWrist"}},
36 {
"left_shoulder", {5,
"LShoulder"}},
37 {
"left_elbow", {6,
"LElbow"}},
38 {
"left_hand", {7,
"LWrist"}},
39 {
"right_waist", {8,
"RHip"}},
40 {
"right_knee", {9,
"RKnee"}},
41 {
"right_foot", {10,
"RAnkle"}},
42 {
"left_waist", {11,
"LHip"}},
43 {
"left_knee", {12,
"LKnee"}},
44 {
"left_foot", {13,
"LAnkle"}},
56 return this->x - p.
x < std::numeric_limits<float>::epsilon() && this->y - p.
y < std::numeric_limits<float>::epsilon();
79 return static_cast<int>((p1.
x - p0.
x) * (p2.
y - p0.
y)
80 - (p2.
x - p0.
x) * (p1.
y - p0.
y));
91 for (
unsigned int i = 0; i <
points.size() - 1; i++)
bool isInside(FramedPositionPtr point) const
std::vector< Point > points
int isLeft(Point p0, Point p1, Point p2) const
Polygon2D(PointList points)
bool operator==(const Point &p) const
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
const std::map< std::string, std::pair< unsigned int, std::string > > MPII_TO_MPI
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::vector< Point > PointList