Sophie

Sophie

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

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

<html>
<head>
<title>Ogre::KeyFrame 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::KeyFrame  Class Reference</h1>A key frame in an animation sequence defined by an <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a>. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>&gt;</code>
<p>
Collaboration diagram for Ogre::KeyFrame:<p><center><img src="classOgre_1_1KeyFrame__coll__graph.png" border="0" usemap="#Ogre_1_1KeyFrame__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1KeyFrame__coll__map">
<area href="classOgre_1_1Vector3.html" shape="rect" coords="7,35,100,17" alt="">
<area href="classOgre_1_1Quaternion.html" shape="rect" coords="240,35,352,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1KeyFrame-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_1KeyFrame.html#Ogre_1_1KeyFramea0">KeyFrame</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Simple constructor, only used for creating temp objects.</em> <a href="#Ogre_1_1KeyFramea0"></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_1KeyFrame.html#Ogre_1_1KeyFramea1">KeyFrame</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> time)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor, you should not call this but use <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka6">AnimationTrack::createKeyFrame</a> instead.</em> <a href="#Ogre_1_1KeyFramea1"></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_1KeyFrame.html#Ogre_1_1KeyFramea2">getTime</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the time of this keyframe in the animation sequence.</em> <a href="#Ogre_1_1KeyFramea2"></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_1KeyFrame.html#Ogre_1_1KeyFramea3">setTranslate</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;trans)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the translation associated with this keyframe.</em> <a href="#Ogre_1_1KeyFramea3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1KeyFramea4">getTranslate</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the translation applied by this keyframe.</em> <a href="#Ogre_1_1KeyFramea4"></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_1KeyFrame.html#Ogre_1_1KeyFramea5">setScale</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;scale)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the scaling factor applied by this keyframe to the animable object at it's time index.</em> <a href="#Ogre_1_1KeyFramea5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1KeyFramea6">getScale</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the scaling factor applied by this keyframe.</em> <a href="#Ogre_1_1KeyFramea6"></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_1KeyFrame.html#Ogre_1_1KeyFramea7">setRotation</a> (const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;rot)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the rotation applied by this keyframe.</em> <a href="#Ogre_1_1KeyFramea7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1KeyFramea8">getRotation</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the rotation applied by this keyframe.</em> <a href="#Ogre_1_1KeyFramea8"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></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_1KeyFrame.html#Ogre_1_1KeyFramen0">mTime</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1KeyFramen1">mTranslate</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1KeyFramen2">mScale</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1KeyFramen3">mRotate</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A key frame in an animation sequence defined by an <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a>.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This class can be used as a basis for all kinds of key frames.  The unifying principle is that multiple KeyFrames define an  animation sequence, with the exact state of the animation being an  interpolation between these key frames. </dl>
<p>

<p>
Definition at line <a class="el" href="OgreKeyFrame_8h-source.html#l00043">43</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1KeyFramea0" doxytag="Ogre::KeyFrame::KeyFrame"></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::KeyFrame::KeyFrame </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></td>
        </tr>

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

<p>
Simple constructor, only used for creating temp objects.
<p>

<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00039">39</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00089">mRotate</a>, <a class="el" href="OgreKeyFrame_8h-source.html#l00088">mScale</a>, <a class="el" href="OgreKeyFrame_8h-source.html#l00087">mTranslate</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramea1" doxytag="Ogre::KeyFrame::KeyFrame"></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::KeyFrame::KeyFrame </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>time</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>
Default constructor, you should not call this but use <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka6">AnimationTrack::createKeyFrame</a> instead.
<p>

<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00032">32</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00089">mRotate</a>, <a class="el" href="OgreKeyFrame_8h-source.html#l00088">mScale</a>, <a class="el" href="OgreKeyFrame_8h-source.html#l00087">mTranslate</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1KeyFramea8" doxytag="Ogre::KeyFrame::getRotation"></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"> const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp; Ogre::KeyFrame::getRotation </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>
Gets the rotation applied by this keyframe.
<p>

<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00076">76</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00089">mRotate</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00457">Ogre::Skeleton::_dumpContents</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00285">Ogre::AnimationTrack::applyToNode</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">Ogre::AnimationTrack::getInterpolatedKeyFrame</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00201">Ogre::SkeletonSerializer::writeKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramea6" doxytag="Ogre::KeyFrame::getScale"></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"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp; Ogre::KeyFrame::getScale </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>
Gets the scaling factor applied by this keyframe.
<p>

<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00066">66</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00088">mScale</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00285">Ogre::AnimationTrack::applyToNode</a>(), and <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">Ogre::AnimationTrack::getInterpolatedKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramea2" doxytag="Ogre::KeyFrame::getTime"></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::KeyFrame::getTime </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>
Gets the time of this keyframe in the animation sequence.
<p>

<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00046">46</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00086">mTime</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00457">Ogre::Skeleton::_dumpContents</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00075">Ogre::AnimationTrack::getKeyFramesAtTime</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00201">Ogre::SkeletonSerializer::writeKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramea4" doxytag="Ogre::KeyFrame::getTranslate"></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"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp; Ogre::KeyFrame::getTranslate </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>
Gets the translation applied by this keyframe.
<p>

<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00056">56</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00087">mTranslate</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00457">Ogre::Skeleton::_dumpContents</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00285">Ogre::AnimationTrack::applyToNode</a>(), <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">Ogre::AnimationTrack::getInterpolatedKeyFrame</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00201">Ogre::SkeletonSerializer::writeKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramea7" doxytag="Ogre::KeyFrame::setRotation"></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::KeyFrame::setRotation </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>rot</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 rotation applied by this keyframe.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rot</em>&nbsp;</td><td>
The rotation applied; use <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> methods to convert from angle/axis or <a class="el" href="classOgre_1_1Matrix3.html">Matrix3</a> if you don't like using Quaternions directly. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00071">71</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00089">mRotate</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">Ogre::AnimationTrack::getInterpolatedKeyFrame</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00412">Ogre::SkeletonSerializer::readKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramea5" doxytag="Ogre::KeyFrame::setScale"></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::KeyFrame::setScale </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>scale</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 scaling factor applied by this keyframe to the animable object at it's time index.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>scale</em>&nbsp;</td><td>
The vector to scale by (beware of supplying zero values for any component of this vector, it will scale the object to zero dimensions) </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00061">61</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00088">mScale</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">Ogre::AnimationTrack::getInterpolatedKeyFrame</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramea3" doxytag="Ogre::KeyFrame::setTranslate"></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::KeyFrame::setTranslate </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>trans</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 translation associated with this keyframe.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 The translation factor affects how much the keyframe translates (moves) it's animable object at it's time index. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>trans</em>&nbsp;</td><td>
The vector to translate by </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreKeyFrame_8cpp-source.html#l00051">51</a> of file <a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a>.
<p>
References <a class="el" href="OgreKeyFrame_8h-source.html#l00087">mTranslate</a>.
<p>
Referenced by <a class="el" href="OgreAnimationTrack_8cpp-source.html#l00200">Ogre::AnimationTrack::getInterpolatedKeyFrame</a>(), and <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00412">Ogre::SkeletonSerializer::readKeyFrame</a>().    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1KeyFramen3" doxytag="Ogre::KeyFrame::mRotate"></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_1Quaternion.html">Quaternion</a> Ogre::KeyFrame::mRotate<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="OgreKeyFrame_8h-source.html#l00089">89</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>.
<p>
Referenced by <a class="el" href="OgreKeyFrame_8cpp-source.html#l00076">getRotation</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00032">KeyFrame</a>(), and <a class="el" href="OgreKeyFrame_8cpp-source.html#l00071">setRotation</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramen2" doxytag="Ogre::KeyFrame::mScale"></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_1Vector3.html">Vector3</a> Ogre::KeyFrame::mScale<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="OgreKeyFrame_8h-source.html#l00088">88</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>.
<p>
Referenced by <a class="el" href="OgreKeyFrame_8cpp-source.html#l00066">getScale</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00032">KeyFrame</a>(), and <a class="el" href="OgreKeyFrame_8cpp-source.html#l00061">setScale</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramen0" doxytag="Ogre::KeyFrame::mTime"></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::KeyFrame::mTime<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="OgreKeyFrame_8h-source.html#l00086">86</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>.
<p>
Referenced by <a class="el" href="OgreKeyFrame_8cpp-source.html#l00046">getTime</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1KeyFramen1" doxytag="Ogre::KeyFrame::mTranslate"></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_1Vector3.html">Vector3</a> Ogre::KeyFrame::mTranslate<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="OgreKeyFrame_8h-source.html#l00087">87</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>.
<p>
Referenced by <a class="el" href="OgreKeyFrame_8cpp-source.html#l00056">getTranslate</a>(), <a class="el" href="OgreKeyFrame_8cpp-source.html#l00032">KeyFrame</a>(), and <a class="el" href="OgreKeyFrame_8cpp-source.html#l00051">setTranslate</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a><li><a class="el" href="OgreKeyFrame_8cpp-source.html">OgreKeyFrame.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:17:59 2004
</p>
</body>
</html>