c3d-utils
Classes | Public Member Functions
UuIcsC3d::SkeletonInfo Struct Reference

Abstract class for describing skeletons. More...

#include <skeleton_info.hpp>

Inheritance diagram for UuIcsC3d::SkeletonInfo:
UuIcsC3d::MarkerNames

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.

Precondition:
g should be less than group_count() and not negative.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations