<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libkate: Format - motion</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> </div> <div class="contents"> <h1><a class="anchor" id="format_motion">Format - motion </a></h1><p>A motion definition consists of:</p> <ul> <li>a <a class="el" href="format_32v.html">variable length integer</a> for the number of curves in this motion.</li> </ul> <p>Then, for each of those curves:</p> <ul> <li>1 bit indicating if the curve is predefined (1) or not (0).</li> </ul> <p>Then, if the bit is 1:</p> <ul> <li>a <a class="el" href="format_32v.html">variable length integer</a> representing the index of the curve.</li> </ul> <p>If the bit is 0:</p> <ul> <li>a <a class="el" href="format_curve.html">curve definition</a>.</li> </ul> <p>Then, in all cases:</p> <ul> <li>a stream of <a class="el" href="format_fp.html">floating point values</a> representing the lengths of those curves. </li> <li>8 bits for the mapping for the x coordinates. </li> <li>8 bits for the mapping for the y coordinates. </li> <li>8 bits for the semantics of this motion. </li> <li>1 bit for a flag representing whether this motion is periodic or not.</li> </ul> <p>Next, a <a class="el" href="format_warp.html">warp</a>.</p> <p>Next, the data ends. </p> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Dec 23 04:05:07 2009 for libkate by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>