JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Types/PoseSkeleton.H>
An enum for different kinds of skeletons.
See PoseSkeleton.C for their definition in terms of nodes and links Class to hold a pose skeleton definition
Definition at line 31 of file PoseSkeleton.H.
Public Member Functions | |
PoseSkeletonDefinition (std::string const &filename) | |
Create from a YAML file. | |
Public Attributes | |
std::vector< std::string > | nodeNames |
names of nodes (size nn) | |
std::vector< unsigned int > | nodeColors |
colors of nodes (size nn) | |
std::vector< std::pair< unsigned int, unsigned int > > | links |
link definitions, each is pair of node IDs (size nl) | |
std::vector< unsigned int > | linkColors |
link colors (size nl) | |
jevois::PoseSkeletonDefinition::PoseSkeletonDefinition | ( | std::string const & | filename | ) |
Create from a YAML file.
Definition at line 75 of file PoseSkeleton.C.
References jevois::absolutePath(), JEVOIS_SHARE_PATH, LFATAL, LINFO, linkColors, links, LTHROW, nodeColors, nodeNames, and jevois::warnAndIgnoreException().
std::vector<unsigned int> jevois::PoseSkeletonDefinition::linkColors |
link colors (size nl)
Definition at line 39 of file PoseSkeleton.H.
Referenced by PoseSkeletonDefinition().
std::vector<std::pair<unsigned int, unsigned int> > jevois::PoseSkeletonDefinition::links |
link definitions, each is pair of node IDs (size nl)
Definition at line 38 of file PoseSkeleton.H.
Referenced by PoseSkeletonDefinition().
std::vector<unsigned int> jevois::PoseSkeletonDefinition::nodeColors |
colors of nodes (size nn)
Definition at line 37 of file PoseSkeleton.H.
Referenced by PoseSkeletonDefinition().
std::vector<std::string> jevois::PoseSkeletonDefinition::nodeNames |
names of nodes (size nn)
Definition at line 36 of file PoseSkeleton.H.
Referenced by PoseSkeletonDefinition().