Karlsruhe Institute of Technology (KIT) Logo

Master Motor Map

Whole-body human reference model and tools for unifying representations of whole-body human motion

Static Public Member Functions
MMM::MotionWriterXML Class Reference

A generic xml writer for motions in the mmm dataformat. More...

#include <MotionWriterXML.h>

Static Public Member Functions

static void replaceAndWriteMotions (MMM::MotionPtr motion, MMM::MotionList motions, const std::string &motionFilePath)
 
static std::string toXMLString (MotionPtr motion, const std::string &path=std::string())
 
static std::string toXMLString (MotionList motion, const std::string &path=std::string())
 
static void writeMotion (MotionPtr motion, const std::string &path)
 
static void writeMotion (MotionList motion, const std::string &path)
 

Detailed Description

A generic xml writer for motions in the mmm dataformat.

Member Function Documentation

◆ replaceAndWriteMotions()

void MotionWriterXML::replaceAndWriteMotions ( MMM::MotionPtr  motion,
MMM::MotionList  motions,
const std::string &  motionFilePath 
)
static

Write multiple motions in one xml document at the given path. If occured, a motion with the same name as the given motion will be replaced by it.

Here is the call graph for this function:

◆ toXMLString() [1/2]

std::string MotionWriterXML::toXMLString ( MotionPtr  motion,
const std::string &  path = std::string() 
)
static

Write a motion to an mmm dataformat (xml) string. The path can be stated to make a relative model path.

Here is the caller graph for this function:

◆ toXMLString() [2/2]

std::string MotionWriterXML::toXMLString ( MotionList  motion,
const std::string &  path = std::string() 
)
static

Write multiple motions in one mmm dataformat (xml) string. The path can be stated to make a relative model path.

◆ writeMotion() [1/2]

void MotionWriterXML::writeMotion ( MotionPtr  motion,
const std::string &  path 
)
static

Write a motion to an xml document at the given path.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMotion() [2/2]

void MotionWriterXML::writeMotion ( MotionList  motion,
const std::string &  path 
)
static

Write multiple motions in one xml document at the given path.

Here is the call graph for this function:

The documentation for this class was generated from the following files:
KoroiBot Logo WALK-MAN Logo Xperience Logo SecondHands Logo TimeStorm Logo I-SUPPORT Logo
PACO-PLUS Logo SFB-588 Logo SPP1527 Logo