source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1AnimationTrack.html @ 657

Revision 657, 51.4 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::AnimationTrack class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<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. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>&gt;</code>
14<p>
15<a href="classOgre_1_1AnimationTrack-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
16<tr><td></td></tr>
17<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
18<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" 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>
19
20<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#Ogre_1_1AnimationTracka0"></a><br><br></td></tr>
21<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" 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>
22
23<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor, associates with a <a class="el" href="classOgre_1_1Node.html">Node</a>.  <a href="#Ogre_1_1AnimationTracka1"></a><br><br></td></tr>
24<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka2">~AnimationTrack</a> ()</td></tr>
25
26<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka3">getNumKeyFrames</a> (void) const </td></tr>
27
28<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of keyframes in this animation.  <a href="#Ogre_1_1AnimationTracka3"></a><br><br></td></tr>
29<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka4">getKeyFrame</a> (unsigned short index) const </td></tr>
30
31<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index.  <a href="#Ogre_1_1AnimationTracka4"></a><br><br></td></tr>
32<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka5">getKeyFramesAtTime</a> (<a class="el" href="namespaceOgre.html#a420">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>
33
34<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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.  <a href="#Ogre_1_1AnimationTracka5"></a><br><br></td></tr>
35<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka6">createKeyFrame</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> timePos)</td></tr>
36
37<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> and adds it to this animation at the given time index.  <a href="#Ogre_1_1AnimationTracka6"></a><br><br></td></tr>
38<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka7">removeKeyFrame</a> (unsigned short index)</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> by it's index.  <a href="#Ogre_1_1AnimationTracka7"></a><br><br></td></tr>
41<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka8">removeAllKeyFrames</a> (void)</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes all the KeyFrames from this track.  <a href="#Ogre_1_1AnimationTracka8"></a><br><br></td></tr>
44<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka9">getInterpolatedKeyFrame</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> timeIndex) const </td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> object which contains the interpolated transforms at the time index specified.  <a href="#Ogre_1_1AnimationTracka9"></a><br><br></td></tr>
47<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka10">apply</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> timePos, <a class="el" href="namespaceOgre.html#a420">Real</a> weight=1.0, bool accumulate=false, <a class="el" href="namespaceOgre.html#a420">Real</a> scale=1.0f)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Applies an animation track at a certain position to the target node.  <a href="#Ogre_1_1AnimationTracka10"></a><br><br></td></tr>
50<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka11">getAssociatedNode</a> (void) const </td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object (if any).  <a href="#Ogre_1_1AnimationTracka11"></a><br><br></td></tr>
53<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" 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>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object which will be automatically affected by calls to 'apply'.  <a href="#Ogre_1_1AnimationTracka12"></a><br><br></td></tr>
56<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" 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#a420">Real</a> timePos, <a class="el" href="namespaceOgre.html#a420">Real</a> weight=1.0, bool accumulate=false, <a class="el" href="namespaceOgre.html#a420">Real</a> scale=1.0f)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">As the 'apply' method but applies to a specified <a class="el" href="classOgre_1_1Node.html">Node</a> instead of associated node.  <a href="#Ogre_1_1AnimationTracka13"></a><br><br></td></tr>
59<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka14">setUseShortestRotationPath</a> (bool useShortestPath)</td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the method of rotation calculation.  <a href="#Ogre_1_1AnimationTracka14"></a><br><br></td></tr>
62<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka15">getUseShortestRotationPath</a> () const </td></tr>
63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the method of rotation calculation.  <a href="#Ogre_1_1AnimationTracka15"></a><br><br></td></tr>
65<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka16">_keyFrameDataChanged</a> (void) const </td></tr>
66
67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method used to tell the track that keyframe data has been changed, which may cause it to rebuild some internal data.  <a href="#Ogre_1_1AnimationTracka16"></a><br><br></td></tr>
68<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka17">hasNonZeroKeyFrames</a> (void) const </td></tr>
69
70<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method to determine if this track has any KeyFrames which are doing anything useful - can be used to determine if this track can be optimised out.  <a href="#Ogre_1_1AnimationTracka17"></a><br><br></td></tr>
71<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka18">optimise</a> (void)</td></tr>
72
73<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Optimise the current track by removing any duplicate keyframes.  <a href="#Ogre_1_1AnimationTracka18"></a><br><br></td></tr>
74<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
75<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackx0">KeyFrameList</a></td></tr>
76
77<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
78<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackb0">buildInterpolationSplines</a> (void) const </td></tr>
79
80<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
81<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackx0">KeyFrameList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp0">mKeyFrames</a></td></tr>
82
83<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp1">mMaxKeyFrameTime</a></td></tr>
84
85<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Animation.html">Animation</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp2">mParent</a></td></tr>
86
87<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp3">mTargetNode</a></td></tr>
88
89<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp4">mSplineBuildNeeded</a></td></tr>
90
91<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp5">mPositionSpline</a></td></tr>
92
93<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp6">mScaleSpline</a></td></tr>
94
95<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1RotationalSpline.html">RotationalSpline</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp7">mRotationSpline</a></td></tr>
96
97<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp8">mUseShortestRotationPath</a></td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Defines if rotation is done using shortest path.  <a href="#Ogre_1_1AnimationTrackp8"></a><br><br></td></tr>
100</table>
101<hr><a name="_details"></a><h2>Detailed Description</h2>
102A 'track' in an animation sequence, ie a sequence of keyframes which affect a certain type of animable object.
103<p>
104<dl compact><dt><b>Remarks:</b></dt><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. <p>
105Since 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. <p>
106By 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. </dd></dl>
107
108<p>
109
110<p>
111Definition 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>
112<a class="anchor" name="Ogre_1_1AnimationTrackx0" doxytag="Ogre::AnimationTrack::KeyFrameList" ></a><p>
113<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
114  <tr>
115    <td class="mdRow">
116      <table cellpadding="0" cellspacing="0" border="0">
117        <tr>
118          <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>*&gt; <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackx0">Ogre::AnimationTrack::KeyFrameList</a><code> [protected]</code>
119      </table>
120    </td>
121  </tr>
122</table>
123<table cellspacing=5 cellpadding=0 border=0>
124  <tr>
125    <td>
126      &nbsp;
127    </td>
128    <td>
129
130<p>
131
132<p>
133Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00165">165</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
134  </tr>
135</table>
136<hr><h2>Constructor &amp; Destructor Documentation</h2>
137<a class="anchor" name="Ogre_1_1AnimationTracka0" doxytag="Ogre::AnimationTrack::AnimationTrack" ></a><p>
138<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
139  <tr>
140    <td class="mdRow">
141      <table cellpadding="0" cellspacing="0" border="0">
142        <tr>
143          <td class="md" nowrap valign="top"> Ogre::AnimationTrack::AnimationTrack </td>
144          <td class="md" valign="top">(&nbsp;</td>
145          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Animation.html">Animation</a> *&nbsp;</td>
146          <td class="mdname1" valign="top" nowrap> <em>parent</em>          </td>
147          <td class="md" valign="top">&nbsp;)&nbsp;</td>
148          <td class="md" nowrap></td>
149        </tr>
150
151      </table>
152    </td>
153  </tr>
154</table>
155<table cellspacing=5 cellpadding=0 border=0>
156  <tr>
157    <td>
158      &nbsp;
159    </td>
160    <td>
161
162<p>
163Constructor.
164<p>
165    </td>
166  </tr>
167</table>
168<a class="anchor" name="Ogre_1_1AnimationTracka1" doxytag="Ogre::AnimationTrack::AnimationTrack" ></a><p>
169<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
170  <tr>
171    <td class="mdRow">
172      <table cellpadding="0" cellspacing="0" border="0">
173        <tr>
174          <td class="md" nowrap valign="top"> Ogre::AnimationTrack::AnimationTrack </td>
175          <td class="md" valign="top">(&nbsp;</td>
176          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Animation.html">Animation</a> *&nbsp;</td>
177          <td class="mdname" nowrap> <em>parent</em>, </td>
178        </tr>
179        <tr>
180          <td class="md" nowrap align="right"></td>
181          <td></td>
182          <td class="md" nowrap><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td>
183          <td class="mdname" nowrap> <em>targetNode</em></td>
184        </tr>
185        <tr>
186          <td></td>
187          <td class="md">)&nbsp;</td>
188          <td class="md" colspan="2"></td>
189        </tr>
190
191      </table>
192    </td>
193  </tr>
194</table>
195<table cellspacing=5 cellpadding=0 border=0>
196  <tr>
197    <td>
198      &nbsp;
199    </td>
200    <td>
201
202<p>
203Constructor, associates with a <a class="el" href="classOgre_1_1Node.html">Node</a>.
204<p>
205    </td>
206  </tr>
207</table>
208<a class="anchor" name="Ogre_1_1AnimationTracka2" doxytag="Ogre::AnimationTrack::~AnimationTrack" ></a><p>
209<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
210  <tr>
211    <td class="mdRow">
212      <table cellpadding="0" cellspacing="0" border="0">
213        <tr>
214          <td class="md" nowrap valign="top"> virtual Ogre::AnimationTrack::~<a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a> </td>
215          <td class="md" valign="top">(&nbsp;</td>
216          <td class="mdname1" valign="top" nowrap>          </td>
217          <td class="md" valign="top">&nbsp;)&nbsp;</td>
218          <td class="md" nowrap><code> [virtual]</code></td>
219        </tr>
220
221      </table>
222    </td>
223  </tr>
224</table>
225<table cellspacing=5 cellpadding=0 border=0>
226  <tr>
227    <td>
228      &nbsp;
229    </td>
230    <td>
231
232<p>
233    </td>
234  </tr>
235</table>
236<hr><h2>Member Function Documentation</h2>
237<a class="anchor" name="Ogre_1_1AnimationTracka16" doxytag="Ogre::AnimationTrack::_keyFrameDataChanged" ></a><p>
238<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
239  <tr>
240    <td class="mdRow">
241      <table cellpadding="0" cellspacing="0" border="0">
242        <tr>
243          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::_keyFrameDataChanged </td>
244          <td class="md" valign="top">(&nbsp;</td>
245          <td class="md" nowrap valign="top">void&nbsp;</td>
246          <td class="mdname1" valign="top" nowrap>          </td>
247          <td class="md" valign="top">&nbsp;)&nbsp;</td>
248          <td class="md" nowrap> const</td>
249        </tr>
250
251      </table>
252    </td>
253  </tr>
254</table>
255<table cellspacing=5 cellpadding=0 border=0>
256  <tr>
257    <td>
258      &nbsp;
259    </td>
260    <td>
261
262<p>
263Internal method used to tell the track that keyframe data has been changed, which may cause it to rebuild some internal data.
264<p>
265    </td>
266  </tr>
267</table>
268<a class="anchor" name="Ogre_1_1AnimationTracka10" doxytag="Ogre::AnimationTrack::apply" ></a><p>
269<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
270  <tr>
271    <td class="mdRow">
272      <table cellpadding="0" cellspacing="0" border="0">
273        <tr>
274          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::apply </td>
275          <td class="md" valign="top">(&nbsp;</td>
276          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
277          <td class="mdname" nowrap> <em>timePos</em>, </td>
278        </tr>
279        <tr>
280          <td class="md" nowrap align="right"></td>
281          <td></td>
282          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
283          <td class="mdname" nowrap> <em>weight</em> = 1.0, </td>
284        </tr>
285        <tr>
286          <td class="md" nowrap align="right"></td>
287          <td></td>
288          <td class="md" nowrap>bool&nbsp;</td>
289          <td class="mdname" nowrap> <em>accumulate</em> = false, </td>
290        </tr>
291        <tr>
292          <td class="md" nowrap align="right"></td>
293          <td></td>
294          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
295          <td class="mdname" nowrap> <em>scale</em> = 1.0f</td>
296        </tr>
297        <tr>
298          <td></td>
299          <td class="md">)&nbsp;</td>
300          <td class="md" colspan="2"></td>
301        </tr>
302
303      </table>
304    </td>
305  </tr>
306</table>
307<table cellspacing=5 cellpadding=0 border=0>
308  <tr>
309    <td>
310      &nbsp;
311    </td>
312    <td>
313
314<p>
315Applies an animation track at a certain position to the target node.
316<p>
317<dl compact><dt><b>Remarks:</b></dt><dd>When a track has bee associated with a target node, you can eaisly apply the animation to the target by calling this method. </dd></dl>
318<dl compact><dt><b>Parameters:</b></dt><dd>
319  <table border="0" cellspacing="2" cellpadding="0">
320    <tr><td valign=top><em>timePos</em>&nbsp;</td><td>The time position in the animation to apply. </td></tr>
321    <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>
322    <tr><td valign=top><em>scale</em>&nbsp;</td><td>The scale to apply to translations and scalings, useful for adapting an animation to a different size target. </td></tr>
323  </table>
324</dl>
325    </td>
326  </tr>
327</table>
328<a class="anchor" name="Ogre_1_1AnimationTracka13" doxytag="Ogre::AnimationTrack::applyToNode" ></a><p>
329<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
330  <tr>
331    <td class="mdRow">
332      <table cellpadding="0" cellspacing="0" border="0">
333        <tr>
334          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::applyToNode </td>
335          <td class="md" valign="top">(&nbsp;</td>
336          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td>
337          <td class="mdname" nowrap> <em>node</em>, </td>
338        </tr>
339        <tr>
340          <td class="md" nowrap align="right"></td>
341          <td></td>
342          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
343          <td class="mdname" nowrap> <em>timePos</em>, </td>
344        </tr>
345        <tr>
346          <td class="md" nowrap align="right"></td>
347          <td></td>
348          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
349          <td class="mdname" nowrap> <em>weight</em> = 1.0, </td>
350        </tr>
351        <tr>
352          <td class="md" nowrap align="right"></td>
353          <td></td>
354          <td class="md" nowrap>bool&nbsp;</td>
355          <td class="mdname" nowrap> <em>accumulate</em> = false, </td>
356        </tr>
357        <tr>
358          <td class="md" nowrap align="right"></td>
359          <td></td>
360          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
361          <td class="mdname" nowrap> <em>scale</em> = 1.0f</td>
362        </tr>
363        <tr>
364          <td></td>
365          <td class="md">)&nbsp;</td>
366          <td class="md" colspan="2"></td>
367        </tr>
368
369      </table>
370    </td>
371  </tr>
372</table>
373<table cellspacing=5 cellpadding=0 border=0>
374  <tr>
375    <td>
376      &nbsp;
377    </td>
378    <td>
379
380<p>
381As the 'apply' method but applies to a specified <a class="el" href="classOgre_1_1Node.html">Node</a> instead of associated node.
382<p>
383    </td>
384  </tr>
385</table>
386<a class="anchor" name="Ogre_1_1AnimationTrackb0" doxytag="Ogre::AnimationTrack::buildInterpolationSplines" ></a><p>
387<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
388  <tr>
389    <td class="mdRow">
390      <table cellpadding="0" cellspacing="0" border="0">
391        <tr>
392          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::buildInterpolationSplines </td>
393          <td class="md" valign="top">(&nbsp;</td>
394          <td class="md" nowrap valign="top">void&nbsp;</td>
395          <td class="mdname1" valign="top" nowrap>          </td>
396          <td class="md" valign="top">&nbsp;)&nbsp;</td>
397          <td class="md" nowrap> const<code> [protected]</code></td>
398        </tr>
399
400      </table>
401    </td>
402  </tr>
403</table>
404<table cellspacing=5 cellpadding=0 border=0>
405  <tr>
406    <td>
407      &nbsp;
408    </td>
409    <td>
410
411<p>
412    </td>
413  </tr>
414</table>
415<a class="anchor" name="Ogre_1_1AnimationTracka6" doxytag="Ogre::AnimationTrack::createKeyFrame" ></a><p>
416<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
417  <tr>
418    <td class="mdRow">
419      <table cellpadding="0" cellspacing="0" border="0">
420        <tr>
421          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>* Ogre::AnimationTrack::createKeyFrame </td>
422          <td class="md" valign="top">(&nbsp;</td>
423          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
424          <td class="mdname1" valign="top" nowrap> <em>timePos</em>          </td>
425          <td class="md" valign="top">&nbsp;)&nbsp;</td>
426          <td class="md" nowrap></td>
427        </tr>
428
429      </table>
430    </td>
431  </tr>
432</table>
433<table cellspacing=5 cellpadding=0 border=0>
434  <tr>
435    <td>
436      &nbsp;
437    </td>
438    <td>
439
440<p>
441Creates a new <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> and adds it to this animation at the given time index.
442<p>
443<dl compact><dt><b>Remarks:</b></dt><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); </dd></dl>
444<dl compact><dt><b>Parameters:</b></dt><dd>
445  <table border="0" cellspacing="2" cellpadding="0">
446    <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>
447  </table>
448</dl>
449    </td>
450  </tr>
451</table>
452<a class="anchor" name="Ogre_1_1AnimationTracka11" doxytag="Ogre::AnimationTrack::getAssociatedNode" ></a><p>
453<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
454  <tr>
455    <td class="mdRow">
456      <table cellpadding="0" cellspacing="0" border="0">
457        <tr>
458          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Node.html">Node</a>* Ogre::AnimationTrack::getAssociatedNode </td>
459          <td class="md" valign="top">(&nbsp;</td>
460          <td class="md" nowrap valign="top">void&nbsp;</td>
461          <td class="mdname1" valign="top" nowrap>          </td>
462          <td class="md" valign="top">&nbsp;)&nbsp;</td>
463          <td class="md" nowrap> const</td>
464        </tr>
465
466      </table>
467    </td>
468  </tr>
469</table>
470<table cellspacing=5 cellpadding=0 border=0>
471  <tr>
472    <td>
473      &nbsp;
474    </td>
475    <td>
476
477<p>
478Returns a pointer to the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object (if any).
479<p>
480    </td>
481  </tr>
482</table>
483<a class="anchor" name="Ogre_1_1AnimationTracka9" doxytag="Ogre::AnimationTrack::getInterpolatedKeyFrame" ></a><p>
484<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
485  <tr>
486    <td class="mdRow">
487      <table cellpadding="0" cellspacing="0" border="0">
488        <tr>
489          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> Ogre::AnimationTrack::getInterpolatedKeyFrame </td>
490          <td class="md" valign="top">(&nbsp;</td>
491          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
492          <td class="mdname1" valign="top" nowrap> <em>timeIndex</em>          </td>
493          <td class="md" valign="top">&nbsp;)&nbsp;</td>
494          <td class="md" nowrap> const</td>
495        </tr>
496
497      </table>
498    </td>
499  </tr>
500</table>
501<table cellspacing=5 cellpadding=0 border=0>
502  <tr>
503    <td>
504      &nbsp;
505    </td>
506    <td>
507
508<p>
509Gets a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> object which contains the interpolated transforms at the time index specified.
510<p>
511<dl compact><dt><b>Remarks:</b></dt><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'. </dd></dl>
512<dl compact><dt><b>Parameters:</b></dt><dd>
513  <table border="0" cellspacing="2" cellpadding="0">
514    <tr><td valign=top><em>timeIndex</em>&nbsp;</td><td>The time (in relation to the whole animation sequence) </td></tr>
515  </table>
516</dl>
517<dl compact><dt><b>Returns:</b></dt><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. </dd></dl>
518    </td>
519  </tr>
520</table>
521<a class="anchor" name="Ogre_1_1AnimationTracka4" doxytag="Ogre::AnimationTrack::getKeyFrame" ></a><p>
522<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
523  <tr>
524    <td class="mdRow">
525      <table cellpadding="0" cellspacing="0" border="0">
526        <tr>
527          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>* Ogre::AnimationTrack::getKeyFrame </td>
528          <td class="md" valign="top">(&nbsp;</td>
529          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
530          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
531          <td class="md" valign="top">&nbsp;)&nbsp;</td>
532          <td class="md" nowrap> const</td>
533        </tr>
534
535      </table>
536    </td>
537  </tr>
538</table>
539<table cellspacing=5 cellpadding=0 border=0>
540  <tr>
541    <td>
542      &nbsp;
543    </td>
544    <td>
545
546<p>
547Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index.
548<p>
549    </td>
550  </tr>
551</table>
552<a class="anchor" name="Ogre_1_1AnimationTracka5" doxytag="Ogre::AnimationTrack::getKeyFramesAtTime" ></a><p>
553<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
554  <tr>
555    <td class="mdRow">
556      <table cellpadding="0" cellspacing="0" border="0">
557        <tr>
558          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::AnimationTrack::getKeyFramesAtTime </td>
559          <td class="md" valign="top">(&nbsp;</td>
560          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
561          <td class="mdname" nowrap> <em>timePos</em>, </td>
562        </tr>
563        <tr>
564          <td class="md" nowrap align="right"></td>
565          <td></td>
566          <td class="md" nowrap><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> **&nbsp;</td>
567          <td class="mdname" nowrap> <em>keyFrame1</em>, </td>
568        </tr>
569        <tr>
570          <td class="md" nowrap align="right"></td>
571          <td></td>
572          <td class="md" nowrap><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> **&nbsp;</td>
573          <td class="mdname" nowrap> <em>keyFrame2</em>, </td>
574        </tr>
575        <tr>
576          <td class="md" nowrap align="right"></td>
577          <td></td>
578          <td class="md" nowrap>unsigned short *&nbsp;</td>
579          <td class="mdname" nowrap> <em>firstKeyIndex</em> = 0</td>
580        </tr>
581        <tr>
582          <td></td>
583          <td class="md">)&nbsp;</td>
584          <td class="md" colspan="2"> const</td>
585        </tr>
586
587      </table>
588    </td>
589  </tr>
590</table>
591<table cellspacing=5 cellpadding=0 border=0>
592  <tr>
593    <td>
594      &nbsp;
595    </td>
596    <td>
597
598<p>
599Gets 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.
600<p>
601<dl compact><dt><b>Remarks:</b></dt><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. </dd></dl>
602<dl compact><dt><b></b></dt><dd>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. </dd></dl>
603<dl compact><dt><b>Parameters:</b></dt><dd>
604  <table border="0" cellspacing="2" cellpadding="0">
605    <tr><td valign=top><em>timePos</em>&nbsp;</td><td>The time index in seconds. </td></tr>
606    <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>
607    <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>
608    <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>
609  </table>
610</dl>
611<dl compact><dt><b>Returns:</b></dt><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 . </dd></dl>
612    </td>
613  </tr>
614</table>
615<a class="anchor" name="Ogre_1_1AnimationTracka3" doxytag="Ogre::AnimationTrack::getNumKeyFrames" ></a><p>
616<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
617  <tr>
618    <td class="mdRow">
619      <table cellpadding="0" cellspacing="0" border="0">
620        <tr>
621          <td class="md" nowrap valign="top"> unsigned short Ogre::AnimationTrack::getNumKeyFrames </td>
622          <td class="md" valign="top">(&nbsp;</td>
623          <td class="md" nowrap valign="top">void&nbsp;</td>
624          <td class="mdname1" valign="top" nowrap>          </td>
625          <td class="md" valign="top">&nbsp;)&nbsp;</td>
626          <td class="md" nowrap> const</td>
627        </tr>
628
629      </table>
630    </td>
631  </tr>
632</table>
633<table cellspacing=5 cellpadding=0 border=0>
634  <tr>
635    <td>
636      &nbsp;
637    </td>
638    <td>
639
640<p>
641Returns the number of keyframes in this animation.
642<p>
643    </td>
644  </tr>
645</table>
646<a class="anchor" name="Ogre_1_1AnimationTracka15" doxytag="Ogre::AnimationTrack::getUseShortestRotationPath" ></a><p>
647<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
648  <tr>
649    <td class="mdRow">
650      <table cellpadding="0" cellspacing="0" border="0">
651        <tr>
652          <td class="md" nowrap valign="top"> bool Ogre::AnimationTrack::getUseShortestRotationPath </td>
653          <td class="md" valign="top">(&nbsp;</td>
654          <td class="mdname1" valign="top" nowrap>          </td>
655          <td class="md" valign="top">&nbsp;)&nbsp;</td>
656          <td class="md" nowrap> const</td>
657        </tr>
658
659      </table>
660    </td>
661  </tr>
662</table>
663<table cellspacing=5 cellpadding=0 border=0>
664  <tr>
665    <td>
666      &nbsp;
667    </td>
668    <td>
669
670<p>
671Gets the method of rotation calculation.
672<p>
673    </td>
674  </tr>
675</table>
676<a class="anchor" name="Ogre_1_1AnimationTracka17" doxytag="Ogre::AnimationTrack::hasNonZeroKeyFrames" ></a><p>
677<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
678  <tr>
679    <td class="mdRow">
680      <table cellpadding="0" cellspacing="0" border="0">
681        <tr>
682          <td class="md" nowrap valign="top"> bool Ogre::AnimationTrack::hasNonZeroKeyFrames </td>
683          <td class="md" valign="top">(&nbsp;</td>
684          <td class="md" nowrap valign="top">void&nbsp;</td>
685          <td class="mdname1" valign="top" nowrap>          </td>
686          <td class="md" valign="top">&nbsp;)&nbsp;</td>
687          <td class="md" nowrap> const</td>
688        </tr>
689
690      </table>
691    </td>
692  </tr>
693</table>
694<table cellspacing=5 cellpadding=0 border=0>
695  <tr>
696    <td>
697      &nbsp;
698    </td>
699    <td>
700
701<p>
702Method to determine if this track has any KeyFrames which are doing anything useful - can be used to determine if this track can be optimised out.
703<p>
704    </td>
705  </tr>
706</table>
707<a class="anchor" name="Ogre_1_1AnimationTracka18" doxytag="Ogre::AnimationTrack::optimise" ></a><p>
708<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
709  <tr>
710    <td class="mdRow">
711      <table cellpadding="0" cellspacing="0" border="0">
712        <tr>
713          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::optimise </td>
714          <td class="md" valign="top">(&nbsp;</td>
715          <td class="md" nowrap valign="top">void&nbsp;</td>
716          <td class="mdname1" valign="top" nowrap>          </td>
717          <td class="md" valign="top">&nbsp;)&nbsp;</td>
718          <td class="md" nowrap></td>
719        </tr>
720
721      </table>
722    </td>
723  </tr>
724</table>
725<table cellspacing=5 cellpadding=0 border=0>
726  <tr>
727    <td>
728      &nbsp;
729    </td>
730    <td>
731
732<p>
733Optimise the current track by removing any duplicate keyframes.
734<p>
735    </td>
736  </tr>
737</table>
738<a class="anchor" name="Ogre_1_1AnimationTracka8" doxytag="Ogre::AnimationTrack::removeAllKeyFrames" ></a><p>
739<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
740  <tr>
741    <td class="mdRow">
742      <table cellpadding="0" cellspacing="0" border="0">
743        <tr>
744          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::removeAllKeyFrames </td>
745          <td class="md" valign="top">(&nbsp;</td>
746          <td class="md" nowrap valign="top">void&nbsp;</td>
747          <td class="mdname1" valign="top" nowrap>          </td>
748          <td class="md" valign="top">&nbsp;)&nbsp;</td>
749          <td class="md" nowrap></td>
750        </tr>
751
752      </table>
753    </td>
754  </tr>
755</table>
756<table cellspacing=5 cellpadding=0 border=0>
757  <tr>
758    <td>
759      &nbsp;
760    </td>
761    <td>
762
763<p>
764Removes all the KeyFrames from this track.
765<p>
766    </td>
767  </tr>
768</table>
769<a class="anchor" name="Ogre_1_1AnimationTracka7" doxytag="Ogre::AnimationTrack::removeKeyFrame" ></a><p>
770<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
771  <tr>
772    <td class="mdRow">
773      <table cellpadding="0" cellspacing="0" border="0">
774        <tr>
775          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::removeKeyFrame </td>
776          <td class="md" valign="top">(&nbsp;</td>
777          <td class="md" nowrap valign="top">unsigned short&nbsp;</td>
778          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
779          <td class="md" valign="top">&nbsp;)&nbsp;</td>
780          <td class="md" nowrap></td>
781        </tr>
782
783      </table>
784    </td>
785  </tr>
786</table>
787<table cellspacing=5 cellpadding=0 border=0>
788  <tr>
789    <td>
790      &nbsp;
791    </td>
792    <td>
793
794<p>
795Removes a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> by it's index.
796<p>
797    </td>
798  </tr>
799</table>
800<a class="anchor" name="Ogre_1_1AnimationTracka12" doxytag="Ogre::AnimationTrack::setAssociatedNode" ></a><p>
801<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
802  <tr>
803    <td class="mdRow">
804      <table cellpadding="0" cellspacing="0" border="0">
805        <tr>
806          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::setAssociatedNode </td>
807          <td class="md" valign="top">(&nbsp;</td>
808          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Node.html">Node</a> *&nbsp;</td>
809          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
810          <td class="md" valign="top">&nbsp;)&nbsp;</td>
811          <td class="md" nowrap></td>
812        </tr>
813
814      </table>
815    </td>
816  </tr>
817</table>
818<table cellspacing=5 cellpadding=0 border=0>
819  <tr>
820    <td>
821      &nbsp;
822    </td>
823    <td>
824
825<p>
826Sets the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object which will be automatically affected by calls to 'apply'.
827<p>
828    </td>
829  </tr>
830</table>
831<a class="anchor" name="Ogre_1_1AnimationTracka14" doxytag="Ogre::AnimationTrack::setUseShortestRotationPath" ></a><p>
832<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
833  <tr>
834    <td class="mdRow">
835      <table cellpadding="0" cellspacing="0" border="0">
836        <tr>
837          <td class="md" nowrap valign="top"> void Ogre::AnimationTrack::setUseShortestRotationPath </td>
838          <td class="md" valign="top">(&nbsp;</td>
839          <td class="md" nowrap valign="top">bool&nbsp;</td>
840          <td class="mdname1" valign="top" nowrap> <em>useShortestPath</em>          </td>
841          <td class="md" valign="top">&nbsp;)&nbsp;</td>
842          <td class="md" nowrap></td>
843        </tr>
844
845      </table>
846    </td>
847  </tr>
848</table>
849<table cellspacing=5 cellpadding=0 border=0>
850  <tr>
851    <td>
852      &nbsp;
853    </td>
854    <td>
855
856<p>
857Sets the method of rotation calculation.
858<p>
859    </td>
860  </tr>
861</table>
862<hr><h2>Member Data Documentation</h2>
863<a class="anchor" name="Ogre_1_1AnimationTrackp0" doxytag="Ogre::AnimationTrack::mKeyFrames" ></a><p>
864<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
865  <tr>
866    <td class="mdRow">
867      <table cellpadding="0" cellspacing="0" border="0">
868        <tr>
869          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackx0">KeyFrameList</a> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp0">Ogre::AnimationTrack::mKeyFrames</a><code> [protected]</code>
870      </table>
871    </td>
872  </tr>
873</table>
874<table cellspacing=5 cellpadding=0 border=0>
875  <tr>
876    <td>
877      &nbsp;
878    </td>
879    <td>
880
881<p>
882
883<p>
884Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00166">166</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
885  </tr>
886</table>
887<a class="anchor" name="Ogre_1_1AnimationTrackp1" doxytag="Ogre::AnimationTrack::mMaxKeyFrameTime" ></a><p>
888<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
889  <tr>
890    <td class="mdRow">
891      <table cellpadding="0" cellspacing="0" border="0">
892        <tr>
893          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp1">Ogre::AnimationTrack::mMaxKeyFrameTime</a><code> [protected]</code>
894      </table>
895    </td>
896  </tr>
897</table>
898<table cellspacing=5 cellpadding=0 border=0>
899  <tr>
900    <td>
901      &nbsp;
902    </td>
903    <td>
904
905<p>
906
907<p>
908Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00167">167</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
909  </tr>
910</table>
911<a class="anchor" name="Ogre_1_1AnimationTrackp2" doxytag="Ogre::AnimationTrack::mParent" ></a><p>
912<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
913  <tr>
914    <td class="mdRow">
915      <table cellpadding="0" cellspacing="0" border="0">
916        <tr>
917          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Animation.html">Animation</a>* <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp2">Ogre::AnimationTrack::mParent</a><code> [protected]</code>
918      </table>
919    </td>
920  </tr>
921</table>
922<table cellspacing=5 cellpadding=0 border=0>
923  <tr>
924    <td>
925      &nbsp;
926    </td>
927    <td>
928
929<p>
930
931<p>
932Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00168">168</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
933  </tr>
934</table>
935<a class="anchor" name="Ogre_1_1AnimationTrackp5" doxytag="Ogre::AnimationTrack::mPositionSpline" ></a><p>
936<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
937  <tr>
938    <td class="mdRow">
939      <table cellpadding="0" cellspacing="0" border="0">
940        <tr>
941          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp5">Ogre::AnimationTrack::mPositionSpline</a><code> [mutable, protected]</code>
942      </table>
943    </td>
944  </tr>
945</table>
946<table cellspacing=5 cellpadding=0 border=0>
947  <tr>
948    <td>
949      &nbsp;
950    </td>
951    <td>
952
953<p>
954
955<p>
956Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00176">176</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
957  </tr>
958</table>
959<a class="anchor" name="Ogre_1_1AnimationTrackp7" doxytag="Ogre::AnimationTrack::mRotationSpline" ></a><p>
960<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
961  <tr>
962    <td class="mdRow">
963      <table cellpadding="0" cellspacing="0" border="0">
964        <tr>
965          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RotationalSpline.html">RotationalSpline</a> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp7">Ogre::AnimationTrack::mRotationSpline</a><code> [mutable, protected]</code>
966      </table>
967    </td>
968  </tr>
969</table>
970<table cellspacing=5 cellpadding=0 border=0>
971  <tr>
972    <td>
973      &nbsp;
974    </td>
975    <td>
976
977<p>
978
979<p>
980Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00178">178</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
981  </tr>
982</table>
983<a class="anchor" name="Ogre_1_1AnimationTrackp6" doxytag="Ogre::AnimationTrack::mScaleSpline" ></a><p>
984<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
985  <tr>
986    <td class="mdRow">
987      <table cellpadding="0" cellspacing="0" border="0">
988        <tr>
989          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp6">Ogre::AnimationTrack::mScaleSpline</a><code> [mutable, protected]</code>
990      </table>
991    </td>
992  </tr>
993</table>
994<table cellspacing=5 cellpadding=0 border=0>
995  <tr>
996    <td>
997      &nbsp;
998    </td>
999    <td>
1000
1001<p>
1002
1003<p>
1004Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00177">177</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
1005  </tr>
1006</table>
1007<a class="anchor" name="Ogre_1_1AnimationTrackp4" doxytag="Ogre::AnimationTrack::mSplineBuildNeeded" ></a><p>
1008<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1009  <tr>
1010    <td class="mdRow">
1011      <table cellpadding="0" cellspacing="0" border="0">
1012        <tr>
1013          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp4">Ogre::AnimationTrack::mSplineBuildNeeded</a><code> [mutable, protected]</code>
1014      </table>
1015    </td>
1016  </tr>
1017</table>
1018<table cellspacing=5 cellpadding=0 border=0>
1019  <tr>
1020    <td>
1021      &nbsp;
1022    </td>
1023    <td>
1024
1025<p>
1026
1027<p>
1028Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00175">175</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
1029  </tr>
1030</table>
1031<a class="anchor" name="Ogre_1_1AnimationTrackp3" doxytag="Ogre::AnimationTrack::mTargetNode" ></a><p>
1032<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1033  <tr>
1034    <td class="mdRow">
1035      <table cellpadding="0" cellspacing="0" border="0">
1036        <tr>
1037          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Node.html">Node</a>* <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp3">Ogre::AnimationTrack::mTargetNode</a><code> [protected]</code>
1038      </table>
1039    </td>
1040  </tr>
1041</table>
1042<table cellspacing=5 cellpadding=0 border=0>
1043  <tr>
1044    <td>
1045      &nbsp;
1046    </td>
1047    <td>
1048
1049<p>
1050
1051<p>
1052Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00169">169</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
1053  </tr>
1054</table>
1055<a class="anchor" name="Ogre_1_1AnimationTrackp8" doxytag="Ogre::AnimationTrack::mUseShortestRotationPath" ></a><p>
1056<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1057  <tr>
1058    <td class="mdRow">
1059      <table cellpadding="0" cellspacing="0" border="0">
1060        <tr>
1061          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackp8">Ogre::AnimationTrack::mUseShortestRotationPath</a><code> [mutable, protected]</code>
1062      </table>
1063    </td>
1064  </tr>
1065</table>
1066<table cellspacing=5 cellpadding=0 border=0>
1067  <tr>
1068    <td>
1069      &nbsp;
1070    </td>
1071    <td>
1072
1073<p>
1074Defines if rotation is done using shortest path.
1075<p>
1076
1077<p>
1078Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00180">180</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.    </td>
1079  </tr>
1080</table>
1081<hr>The documentation for this class was generated from the following file:<ul>
1082<li><a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a></ul>
1083<hr>
1084<p>
1085Copyright &copy; 2000-2005 by The OGRE Team<br />
1086<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
1087This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
1088                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
1089                <Work rdf:about="">
1090                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
1091        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
1092                </Work>
1093                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
1094
1095Last modified Sun Feb 12 13:00:05 2006
1096</p>
1097</body>
1098</html>
Note: See TracBrowser for help on using the repository browser.