c3d-utils
|
Abstract class for describing skeletons. More...
#include <skeleton_info.hpp>
Classes | |
struct | GrEl |
Public Member Functions | |
virtual int | group_count () const =0 |
The number of groups in a skeleton. | |
virtual std::string | group_name (int g) const =0 |
virtual ConstNameRange | group_members (int g) const =0 |
The names of all members of group g. | |
virtual std::vector< int > | group_connections (int g) const =0 |
virtual GrEl | to_grel (int label_no) const =0 |
virtual int | to_label_no (GrEl const &grel) const =0 |
Abstract class for describing skeletons.
Usually, a skeleton consists of a number of segments that have a number of markers on them. The segments are connected through joints. Here, the markers are a name. Segments are called groups and have a name too.
virtual std::vector<int> UuIcsC3d::SkeletonInfo::group_connections | ( | int | g | ) | const [pure virtual] |
List to which other groups group g is connected (through some joint). The groups are identified by 0 based indices (not larger than group_count().
virtual std::string UuIcsC3d::SkeletonInfo::group_name | ( | int | g | ) | const [pure virtual] |
The name of group g.