iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::graphics::mocap::Posture Struct Reference

#include <nrt/Graphics/MoCap/Posture.H>

Root position and all bone rotation angles (including root) for a Skeleton.

This class can be used to set the rotations, translations, and elongations of all bones in a Skeleton. See the Motion class for loading a vector of Posture objects from an Acclaim .AMC file.

Definition at line 60 of file Posture.H.

Classes

struct  Data
 Posture data for each bone. More...
 

Public Member Functions

template<class Archive >
void serialize (Archive &ar)
 Serialization.
 

Public Attributes

std::map< std::string, Datadata
 Map of posture data indexed by bone name. More...
 

Member Data Documentation

std::map<std::string, Data> nrt::graphics::mocap::Posture::data

Map of posture data indexed by bone name.

Note
special bone named 'root' has no length, just position (translation) and rotation

Definition at line 81 of file Posture.H.

Referenced by serialize().


The documentation for this struct was generated from the following file: