Whole-body human reference model and tools for unifying representations of whole-body human motion
Stores motion capture data at certain times grouping them by their motion prefix in the c3d file. More...
#include <MotionReaderC3D.h>
Public Member Functions | |
| void | addMarkerData (float timestep, const Eigen::Vector3f &marker_data, const std::string &marker_name=std::string(), const std::string &marker_prefix=std::string()) |
| std::map< float, MarkerDataPtr > | getMarkerData (const std::string &prefix) |
| std::vector< std::string > | getPrefixes () |
| bool | hasMarkerData (const std::string &prefix) |
Stores motion capture data at certain times grouping them by their motion prefix in the c3d file.
| void MMM::PrefixMarkerData::addMarkerData | ( | float | timestep, |
| const Eigen::Vector3f & | marker_data, | ||
| const std::string & | marker_name = std::string(), |
||
| const std::string & | marker_prefix = std::string() |
||
| ) |
Method for adding marker data.
| std::map< float, MarkerDataPtr > MMM::PrefixMarkerData::getMarkerData | ( | const std::string & | prefix | ) |
Gets all marker data matching the given prefix.
| prefix | The marker data prefix which can be an empty string. |
| std::vector< std::string > MMM::PrefixMarkerData::getPrefixes | ( | ) |
Get all marker data prefixes
| bool MMM::PrefixMarkerData::hasMarkerData | ( | const std::string & | prefix | ) |
Checks if there is marker data with a specific prefix.
| prefix | The marker data prefix which can be an empty string. |