<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Assimp: Assimp::Interpolator< T > Struct Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Assimp  <span id="projectnumber">v2.0 (November 2010)</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespace_assimp.html">Assimp</a></li><li class="navelem"><a class="el" href="struct_assimp_1_1_interpolator.html">Interpolator</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">Assimp::Interpolator< T > Struct Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>CPP-API: Utility class to simplify interpolations of various data types. <a href="struct_assimp_1_1_interpolator.html#details">More...</a></p> <p><a href="struct_assimp_1_1_interpolator-members.html">List of all members.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a4ff39856f95c90eff9dfd7c9e1d83b87"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_assimp_1_1_interpolator.html#a4ff39856f95c90eff9dfd7c9e1d83b87">operator()</a> (T &out, const T &a, const T &b, float d) const </td></tr> <tr class="memdesc:a4ff39856f95c90eff9dfd7c9e1d83b87"><td class="mdescLeft"> </td><td class="mdescRight">Get the result of the interpolation between a,b. <a href="#a4ff39856f95c90eff9dfd7c9e1d83b87"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename T><br/> struct Assimp::Interpolator< T ></h3> <p>CPP-API: Utility class to simplify interpolations of various data types. </p> <p>The type of interpolation is choosen automatically depending on the types of the arguments. </p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4ff39856f95c90eff9dfd7c9e1d83b87"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void <a class="el" href="struct_assimp_1_1_interpolator.html">Assimp::Interpolator</a>< T >::operator() </td> <td>(</td> <td class="paramtype">T & </td> <td class="paramname"><em>out</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"><em>a</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"><em>b</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>d</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the result of the interpolation between a,b. </p> <p>The interpolation algorithm depends on the type of the operands. <a class="el" href="structai_quaternion.html" title="Represents a quaternion in a 4D vector.">aiQuaternion</a>'s and <a class="el" href="structai_quat_key.html" title="A time-value pair specifying a rotation for the given time.">aiQuatKey</a>'s SLERP, the rest does a simple linear interpolation. </p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="ai_anim_8h.html">aiAnim.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>