Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 1491

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::AnimationTrack class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::AnimationTrack  Class Reference</h1>A 'track' in an animation sequence, ie a sequence of keyframes which affect a certain type of animable object. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>&gt;</code>
<p>
Collaboration diagram for Ogre::AnimationTrack:<p><center><img src="classOgre_1_1AnimationTrack__coll__graph.png" border="0" usemap="#Ogre_1_1AnimationTrack__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1AnimationTrack__coll__map">
<area href="classOgre_1_1Node.html" shape="rect" coords="51,68,128,49" alt="">
<area href="classOgre_1_1Animation.html" shape="rect" coords="37,136,141,117" alt="">
<area href="classOgre_1_1SimpleSpline.html" shape="rect" coords="27,219,152,200" alt="">
<area href="classOgre_1_1RotationalSpline.html" shape="rect" coords="19,287,160,268" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1AnimationTrack-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka0">AnimationTrack</a> (<a class="el" href="classOgre_1_1Animation.html">Animation</a> *parent)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#Ogre_1_1AnimationTracka0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka1">AnimationTrack</a> (<a class="el" href="classOgre_1_1Animation.html">Animation</a> *parent, <a class="el" href="classOgre_1_1Node.html">Node</a> *targetNode)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor, associates with a <a class="el" href="classOgre_1_1Node.html">Node</a>.</em> <a href="#Ogre_1_1AnimationTracka1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka2">~AnimationTrack</a> ()</td></tr>
<tr><td nowrap align=right valign=top>unsigned short&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka3">getNumKeyFrames</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of keyframes in this animation.</em> <a href="#Ogre_1_1AnimationTracka3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka4">getKeyFrame</a> (unsigned short index) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index.</em> <a href="#Ogre_1_1AnimationTracka4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka5">getKeyFramesAtTime</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> timePos, <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> **keyFrame1, <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> **keyFrame2, unsigned short *firstKeyIndex=0) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the 2 <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> objects which are active at the time given, and the blend value between them.</em> <a href="#Ogre_1_1AnimationTracka5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka6">createKeyFrame</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> timePos)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Creates a new <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> and adds it to this animation at the given time index.</em> <a href="#Ogre_1_1AnimationTracka6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka7">removeKeyFrame</a> (unsigned short index)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Removes a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> by it's index.</em> <a href="#Ogre_1_1AnimationTracka7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka8">removeAllKeyFrames</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Removes all the KeyFrames from this track.</em> <a href="#Ogre_1_1AnimationTracka8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka9">getInterpolatedKeyFrame</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> timeIndex) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> object which contains the interpolated transforms at the time index specified.</em> <a href="#Ogre_1_1AnimationTracka9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka10">apply</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> timePos, <a class="el" href="namespaceOgre.html#a349">Real</a> weight=1.0, bool accumulate=false)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Applies an animation track at a certain position to the target node.</em> <a href="#Ogre_1_1AnimationTracka10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka11">getAssociatedNode</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns a pointer to the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object (if any).</em> <a href="#Ogre_1_1AnimationTracka11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka12">setAssociatedNode</a> (<a class="el" href="classOgre_1_1Node.html">Node</a> *node)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object which will be automatically affected by calls to 'apply'.</em> <a href="#Ogre_1_1AnimationTracka12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka13">applyToNode</a> (<a class="el" href="classOgre_1_1Node.html">Node</a> *node, <a class="el" href="namespaceOgre.html#a349">Real</a> timePos, <a class="el" href="namespaceOgre.html#a349">Real</a> weight=1.0, bool accumulate=false)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>As the 'apply' method but applies to a specified <a class="el" href="classOgre_1_1Node.html">Node</a> instead of associated node.</em> <a href="#Ogre_1_1AnimationTracka13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka14">setUseShortestRotationPath</a> (bool useShortestPath)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the method of rotation calculation.</em> <a href="#Ogre_1_1AnimationTracka14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka15">getUseShortestRotationPath</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the method of rotation calculation.</em> <a href="#Ogre_1_1AnimationTracka15"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackt0">KeyFrameList</a></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackb0">buildInterpolationSplines</a> (void) const</td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackt0">KeyFrameList</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn0">mKeyFrames</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn1">mMaxKeyFrameTime</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Animation.html">Animation</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn2">mParent</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn3">mTargetNode</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn4">mSplineBuildNeeded</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn5">mPositionSpline</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn6">mScaleSpline</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1RotationalSpline.html">RotationalSpline</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn7">mRotationSpline</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackn8">mUseShortestRotationPath</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Defines if rotation is done using shortest path.</em> <a href="#Ogre_1_1AnimationTrackn8"></a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A 'track' in an animation sequence, ie a sequence of keyframes which affect a certain type of animable object.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This class is intended as a base for more complete classes which will actually animate specific types of object, e.g. a bone in a skeleton to affect skeletal animation. An animation will likely include multiple tracks each of which can be made up of many <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> instances. Note that the use of tracks allows each animable object to have it's own number of keyframes, i.e. you do not have to have the maximum number of keyframes for all animable objects just to cope with the most animated one. <dd>
 Since the most common animable object is a <a class="el" href="classOgre_1_1Node.html">Node</a>, there are options in this class for associating the track with a <a class="el" href="classOgre_1_1Node.html">Node</a> which will receive keyframe updates automatically when the 'apply' method is called. <dd>
 By default rotation is done using shortest-path algorithm. It is possible to change this behaviour using <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka14">setUseShortestRotationPath</a>() method. </dl>
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00054">54</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.<hr><h2>Member Typedef Documentation</h2>
<a name="Ogre_1_1AnimationTrackt0" doxytag="Ogre::AnimationTrack::KeyFrameList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>*&gt; Ogre::AnimationTrack::KeyFrameList<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00149">149</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1AnimationTracka0" doxytag="Ogre::AnimationTrack::AnimationTrack"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::AnimationTrack::AnimationTrack </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Animation.html">Animation</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>parent</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00041">41</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00151">mMaxKeyFrameTime</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00159">mSplineBuildNeeded</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00153">mTargetNode</a>, and <a class="el" href="OgreAnimationTrack_8h-source.html#l00164">mUseShortestRotationPath</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka1" doxytag="Ogre::AnimationTrack::AnimationTrack"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::AnimationTrack::AnimationTrack </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Animation.html">Animation</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>parent</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>targetNode</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor, associates with a <a class="el" href="classOgre_1_1Node.html">Node</a>.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00049">49</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00151">mMaxKeyFrameTime</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00159">mSplineBuildNeeded</a>, and <a class="el" href="OgreAnimationTrack_8h-source.html#l00164">mUseShortestRotationPath</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka2" doxytag="Ogre::AnimationTrack::~AnimationTrack"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::AnimationTrack::~AnimationTrack </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00057">57</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00185">removeAllKeyFrames</a>().    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1AnimationTracka10" doxytag="Ogre::AnimationTrack::apply"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::apply </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>timePos</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>weight</em> = 1.0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>accumulate</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Applies an animation track at a certain position to the target node.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 When a track has bee associated with a target node, you can eaisly apply the animation to the target by calling this method. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>timePos</em>&nbsp;</td><td>
The time position in the animation to apply. </td></tr>
<tr><td valign=top><em>weight</em>&nbsp;</td><td>
The influence to give to this track, 1.0 for full influence, less to blend with other animations. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00269">269</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00285">applyToNode</a>(), <a class="el" href="OgreAnimationTrack_8h-source.html#l00153">mTargetNode</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka13" doxytag="Ogre::AnimationTrack::applyToNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::applyToNode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>node</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>timePos</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>weight</em> = 1.0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>accumulate</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
As the 'apply' method but applies to a specified <a class="el" href="classOgre_1_1Node.html">Node</a> instead of associated node.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00285">285</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreNode_8cpp-source.html#l00653">Ogre::Node::_weightedTransform</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00076">Ogre::KeyFrame::getRotation</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00066">Ogre::KeyFrame::getScale</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00056">Ogre::KeyFrame::getTranslate</a>(), <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreNode_8cpp-source.html#l00379">Ogre::Node::rotate</a>(), <a class="el" href="OgreNode_8cpp-source.html#l00454">Ogre::Node::scale</a>(), and <a class="el" href="OgreNode_8cpp-source.html#l00338">Ogre::Node::translate</a>().
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00269">apply</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackb0" doxytag="Ogre::AnimationTrack::buildInterpolationSplines"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::buildInterpolationSplines </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00329">329</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreRotationSpline_8cpp-source.html#l00041">Ogre::RotationalSpline::addPoint</a>(), <a class="el" href="OgreSimpleSpline_8cpp-source.html#l00063">Ogre::SimpleSpline::addPoint</a>(), <a class="el" href="OgreRotationSpline_8cpp-source.html#l00192">Ogre::RotationalSpline::clear</a>(), <a class="el" href="OgreSimpleSpline_8cpp-source.html#l00238">Ogre::SimpleSpline::clear</a>(), <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">mKeyFrames</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00160">mPositionSpline</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00162">mRotationSpline</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00161">mScaleSpline</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00159">mSplineBuildNeeded</a>, <a class="el" href="OgreRotationSpline_8cpp-source.html#l00098">Ogre::RotationalSpline::recalcTangents</a>(), <a class="el" href="OgreSimpleSpline_8cpp-source.html#l00155">Ogre::SimpleSpline::recalcTangents</a>(), <a class="el" href="OgreRotationSpline_8cpp-source.html#l00209">Ogre::RotationalSpline::setAutoCalculate</a>(), and <a class="el" href="OgreSimpleSpline_8cpp-source.html#l00255">Ogre::SimpleSpline::setAutoCalculate</a>().
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka6" doxytag="Ogre::AnimationTrack::createKeyFrame"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * Ogre::AnimationTrack::createKeyFrame </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>timePos</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a new <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> and adds it to this animation at the given time index.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 It is better to create KeyFrames in time order. Creating them out of order can result  in expensive reordering processing. Note that a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at time index 0.0 is always created for you, so you don't need to create this one, just access it using getKeyFrame(0); </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>timePos</em>&nbsp;</td><td>
The time from which this <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> will apply. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00139">139</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">mKeyFrames</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00151">mMaxKeyFrameTime</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00159">mSplineBuildNeeded</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>.
<p>
Referenced by <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00412">Ogre::SkeletonSerializer::readKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka11" doxytag="Ogre::AnimationTrack::getAssociatedNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Node.html">Node</a> * Ogre::AnimationTrack::getAssociatedNode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a pointer to the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object (if any).
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00275">275</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00153">mTargetNode</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00457">Ogre::Skeleton::_dumpContents</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00184">Ogre::SkeletonSerializer::writeAnimationTrack</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka9" doxytag="Ogre::AnimationTrack::getInterpolatedKeyFrame"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> Ogre::AnimationTrack::getInterpolatedKeyFrame </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>timeIndex</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> object which contains the interpolated transforms at the time index specified.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 The <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> objects held by this class are transformation snapshots at  discrete points in time. Normally however, you want to interpolate between these keyframes to produce smooth movement, and this method allows you to do this easily. In animation terminology this is called 'tweening'.  </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>timeIndex</em>&nbsp;</td><td>
The time (in relation to the whole animation sequence) </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
A new keyframe object containing the interpolated transforms. Note that the position and scaling transforms are linearly interpolated (lerp), whilst the rotation is spherically linearly interpolated (slerp) for the most natural result. </dl>
<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">200</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00329">buildInterpolationSplines</a>(), <a class="el" href="OgreAnimation_8cpp-source.html#l00129">Ogre::Animation::getInterpolationMode</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00075">getKeyFramesAtTime</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00076">Ogre::KeyFrame::getRotation</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00066">Ogre::KeyFrame::getScale</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00056">Ogre::KeyFrame::getTranslate</a>(), <a class="el" href="OgreSimpleSpline_8cpp-source.html#l00072">Ogre::SimpleSpline::interpolate</a>(), <a class="el" href="OgreRotationSpline_8cpp-source.html#l00050">Ogre::RotationalSpline::interpolate</a>(), <a class="el" href="OgreAnimationTrack_8h-source.html#l00152">mParent</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00160">mPositionSpline</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00162">mRotationSpline</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00161">mScaleSpline</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00164">mUseShortestRotationPath</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreKeyFrame_8cpp-source.html#l00071">Ogre::KeyFrame::setRotation</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00061">Ogre::KeyFrame::setScale</a>(), and <a class="el" href="OgreKeyFrame_8cpp-source.html#l00051">Ogre::KeyFrame::setTranslate</a>().
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00285">applyToNode</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka4" doxytag="Ogre::AnimationTrack::getKeyFrame"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * Ogre::AnimationTrack::getKeyFrame </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>index</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00067">67</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">mKeyFrames</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00115">Ogre::ushort</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00457">Ogre::Skeleton::_dumpContents</a>(), <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00266">Ogre::SkeletonSerializer::calcAnimationTrackSize</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00184">Ogre::SkeletonSerializer::writeAnimationTrack</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka5" doxytag="Ogre::AnimationTrack::getKeyFramesAtTime"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::AnimationTrack::getKeyFramesAtTime </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>timePos</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>keyFrame1</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>keyFrame2</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned short *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>firstKeyIndex</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the 2 <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> objects which are active at the time given, and the blend value between them.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 At any point in time in an animation, there are either 1 or 2 keyframes which are 'active', 1 if the time index is exactly on a keyframe, 2 at all other times i.e. the keyframe before and the keyframe after. 
<p>
 This method returns those keyframes given a time index, and also returns a parametric value indicating the value of 't' representing where the time index falls between them. E.g. if it returns 0, the time index is exactly on keyFrame1, if it returns 0.5 it is half way between keyFrame1 and keyFrame2 etc. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>timePos</em>&nbsp;</td><td>
The time index in seconds. </td></tr>
<tr><td valign=top><em>keyFrame1</em>&nbsp;</td><td>
Pointer to a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> pointer which will receive the pointer to the  keyframe just before or at this time index. </td></tr>
<tr><td valign=top><em>keyFrame2</em>&nbsp;</td><td>
Pointer to a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> pointer which will receive the pointer to the  keyframe just after this time index.  </td></tr>
<tr><td valign=top><em>firstKeyIndex</em>&nbsp;</td><td>
Pointer to an unsigned short which, if supplied, will receive the  index of the 'from' keyframe incase the caller needs it. </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
Parametric value indicating how far along the gap between the 2 keyframes the timePos value is, e.g. 0.0 for exactly at 1, 0.25 for a quarter etc. By definition the range of this  value is: 0.0 &lt;= returnValue &lt; 1.0 . </dl>
<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00075">75</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimation_8cpp-source.html#l00045">Ogre::Animation::getLength</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00046">Ogre::KeyFrame::getTime</a>(), <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">mKeyFrames</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00152">mParent</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka3" doxytag="Ogre::AnimationTrack::getNumKeyFrames"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned short Ogre::AnimationTrack::getNumKeyFrames </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the number of keyframes in this animation.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00062">62</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">mKeyFrames</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00457">Ogre::Skeleton::_dumpContents</a>(), <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00266">Ogre::SkeletonSerializer::calcAnimationTrackSize</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00184">Ogre::SkeletonSerializer::writeAnimationTrack</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka15" doxytag="Ogre::AnimationTrack::getUseShortestRotationPath"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AnimationTrack::getUseShortestRotationPath </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the method of rotation calculation.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00364">364</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00164">mUseShortestRotationPath</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka8" doxytag="Ogre::AnimationTrack::removeAllKeyFrames"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::removeAllKeyFrames </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes all the KeyFrames from this track.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00185">185</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">mKeyFrames</a>, and <a class="el" href="OgreAnimationTrack_8h-source.html#l00159">mSplineBuildNeeded</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00057">~AnimationTrack</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka7" doxytag="Ogre::AnimationTrack::removeKeyFrame"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::removeKeyFrame </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>index</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> by it's index.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00167">167</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">mKeyFrames</a>, <a class="el" href="OgreAnimationTrack_8h-source.html#l00159">mSplineBuildNeeded</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00115">Ogre::ushort</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka12" doxytag="Ogre::AnimationTrack::setAssociatedNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::setAssociatedNode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>node</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object which will be automatically affected by calls to 'apply'.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00280">280</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00153">mTargetNode</a>.
<p>
Referenced by <a class="el" href="OgreAnimation_8cpp-source.html#l00060">Ogre::Animation::createTrack</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTracka14" doxytag="Ogre::AnimationTrack::setUseShortestRotationPath"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::setUseShortestRotationPath </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>useShortestPath</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the method of rotation calculation.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00358">358</a> of file <a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a>.
<p>
References <a class="el" href="OgreAnimationTrack_8h-source.html#l00164">mUseShortestRotationPath</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1AnimationTrackn0" doxytag="Ogre::AnimationTrack::mKeyFrames"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackt0">KeyFrameList</a> Ogre::AnimationTrack::mKeyFrames<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00150">150</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00329">buildInterpolationSplines</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00139">createKeyFrame</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00067">getKeyFrame</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00075">getKeyFramesAtTime</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00062">getNumKeyFrames</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00185">removeAllKeyFrames</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00167">removeKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn1" doxytag="Ogre::AnimationTrack::mMaxKeyFrameTime"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::AnimationTrack::mMaxKeyFrameTime<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00151">151</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00041">AnimationTrack</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00139">createKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn2" doxytag="Ogre::AnimationTrack::mParent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Animation.html">Animation</a>* Ogre::AnimationTrack::mParent<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00152">152</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00075">getKeyFramesAtTime</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn5" doxytag="Ogre::AnimationTrack::mPositionSpline"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> Ogre::AnimationTrack::mPositionSpline<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00160">160</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00329">buildInterpolationSplines</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn7" doxytag="Ogre::AnimationTrack::mRotationSpline"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RotationalSpline.html">RotationalSpline</a> Ogre::AnimationTrack::mRotationSpline<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00162">162</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00329">buildInterpolationSplines</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn6" doxytag="Ogre::AnimationTrack::mScaleSpline"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> Ogre::AnimationTrack::mScaleSpline<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00161">161</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00329">buildInterpolationSplines</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn4" doxytag="Ogre::AnimationTrack::mSplineBuildNeeded"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AnimationTrack::mSplineBuildNeeded<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00159">159</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00041">AnimationTrack</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00329">buildInterpolationSplines</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00139">createKeyFrame</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00185">removeAllKeyFrames</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00167">removeKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn3" doxytag="Ogre::AnimationTrack::mTargetNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Node.html">Node</a>* Ogre::AnimationTrack::mTargetNode<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00153">153</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00041">AnimationTrack</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00269">apply</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00275">getAssociatedNode</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00280">setAssociatedNode</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AnimationTrackn8" doxytag="Ogre::AnimationTrack::mUseShortestRotationPath"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AnimationTrack::mUseShortestRotationPath<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Defines if rotation is done using shortest path.
<p>

<p>
Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00164">164</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00041">AnimationTrack</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">getInterpolatedKeyFrame</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00364">getUseShortestRotationPath</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00358">setUseShortestRotationPath</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a><li><a class="el" href="OgreAnimationTrack_8cpp-source.html">OgreAnimationTrack.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:16:39 2004
</p>
</body>
</html>