[692] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>Ogre::NodeAnimationTrack 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
| 10 | <h1>Ogre::NodeAnimationTrack Class Reference</h1>Specialised <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a> for dealing with node transforms. |
---|
| 11 | <a href="#_details">More...</a> |
---|
| 12 | <p> |
---|
| 13 | <code>#include <<a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>></code> |
---|
| 14 | <p> |
---|
| 15 | <p>Inheritance diagram for Ogre::NodeAnimationTrack: |
---|
| 16 | <p><center><img src="classOgre_1_1NodeAnimationTrack.png" usemap="#Ogre::NodeAnimationTrack_map" border="0" alt=""></center> |
---|
| 17 | <map name="Ogre::NodeAnimationTrack_map"> |
---|
| 18 | <area href="classOgre_1_1AnimationTrack.html" alt="Ogre::AnimationTrack" shape="rect" coords="0,0,164,24"> |
---|
| 19 | </map> |
---|
| 20 | <a href="classOgre_1_1NodeAnimationTrack-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
| 21 | <tr><td></td></tr> |
---|
| 22 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
| 23 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka0">NodeAnimationTrack</a> (<a class="el" href="classOgre_1_1Animation.html">Animation</a> *parent, unsigned short handle)</td></tr> |
---|
| 24 | |
---|
| 25 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#Ogre_1_1NodeAnimationTracka0"></a><br><br></td></tr> |
---|
| 26 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka1">NodeAnimationTrack</a> (<a class="el" href="classOgre_1_1Animation.html">Animation</a> *parent, unsigned short handle, <a class="el" href="classOgre_1_1Node.html">Node</a> *targetNode)</td></tr> |
---|
| 27 | |
---|
| 28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor, associates with a <a class="el" href="classOgre_1_1Node.html">Node</a>. <a href="#Ogre_1_1NodeAnimationTracka1"></a><br><br></td></tr> |
---|
| 29 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1TransformKeyFrame.html">TransformKeyFrame</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka2">createNodeKeyFrame</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> timePos)</td></tr> |
---|
| 30 | |
---|
| 31 | <tr><td class="mdescLeft"> </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_1NodeAnimationTracka2"></a><br><br></td></tr> |
---|
| 32 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1Node.html">Node</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka3">getAssociatedNode</a> (void) const </td></tr> |
---|
| 33 | |
---|
| 34 | <tr><td class="mdescLeft"> </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_1NodeAnimationTracka3"></a><br><br></td></tr> |
---|
| 35 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka4">setAssociatedNode</a> (<a class="el" href="classOgre_1_1Node.html">Node</a> *node)</td></tr> |
---|
| 36 | |
---|
| 37 | <tr><td class="mdescLeft"> </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_1NodeAnimationTracka4"></a><br><br></td></tr> |
---|
| 38 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka5">applyToNode</a> (<a class="el" href="classOgre_1_1Node.html">Node</a> *node, <a class="el" href="namespaceOgre.html#a465">Real</a> timePos, <a class="el" href="namespaceOgre.html#a465">Real</a> weight=1.0, bool accumulate=false, <a class="el" href="namespaceOgre.html#a465">Real</a> scale=1.0f)</td></tr> |
---|
| 39 | |
---|
| 40 | <tr><td class="mdescLeft"> </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_1NodeAnimationTracka5"></a><br><br></td></tr> |
---|
| 41 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka6">setUseShortestRotationPath</a> (bool useShortestPath)</td></tr> |
---|
| 42 | |
---|
| 43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the method of rotation calculation. <a href="#Ogre_1_1NodeAnimationTracka6"></a><br><br></td></tr> |
---|
| 44 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka7">getUseShortestRotationPath</a> () const </td></tr> |
---|
| 45 | |
---|
| 46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the method of rotation calculation. <a href="#Ogre_1_1NodeAnimationTracka7"></a><br><br></td></tr> |
---|
| 47 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka8">getInterpolatedKeyFrame</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> timeIndex, <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> *kf) const </td></tr> |
---|
| 48 | |
---|
| 49 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><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> |
---|
| 50 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 51 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 52 | <tr><td valign=top><em>timeIndex</em> </td><td>The time (in relation to the whole animation sequence) </td></tr> |
---|
| 53 | <tr><td valign=top><em>kf</em> </td><td>Keyframe object to store results</td></tr> |
---|
| 54 | </table> |
---|
| 55 | </dl> |
---|
| 56 | <a href="#Ogre_1_1NodeAnimationTracka8"></a><br><br></td></tr> |
---|
| 57 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka9">apply</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> timePos, <a class="el" href="namespaceOgre.html#a465">Real</a> weight=1.0, bool accumulate=false, <a class="el" href="namespaceOgre.html#a465">Real</a> scale=1.0f)</td></tr> |
---|
| 58 | |
---|
| 59 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 60 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 61 | <tr><td valign=top><em>timePos</em> </td><td>The time position in the animation to apply. </td></tr> |
---|
| 62 | <tr><td valign=top><em>weight</em> </td><td>The influence to give to this track, 1.0 for full influence, less to blend with other animations. </td></tr> |
---|
| 63 | <tr><td valign=top><em>acculumate</em> </td><td>Don't make weights relative to overall weights applied, make them absolute and just add. </td></tr> |
---|
| 64 | <tr><td valign=top><em>scale</em> </td><td>The scale to apply to translations and scalings, useful for adapting an animation to a different size target.</td></tr> |
---|
| 65 | </table> |
---|
| 66 | </dl> |
---|
| 67 | <a href="#Ogre_1_1NodeAnimationTracka9"></a><br><br></td></tr> |
---|
| 68 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka10">_keyFrameDataChanged</a> (void) const </td></tr> |
---|
| 69 | |
---|
| 70 | <tr><td class="mdescLeft"> </td><td class="mdescRight"> <a href="#Ogre_1_1NodeAnimationTracka10"></a><br><br></td></tr> |
---|
| 71 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1TransformKeyFrame.html">TransformKeyFrame</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka11">getNodeKeyFrame</a> (unsigned short index) const </td></tr> |
---|
| 72 | |
---|
| 73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index. <a href="#Ogre_1_1NodeAnimationTracka11"></a><br><br></td></tr> |
---|
| 74 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka12">hasNonZeroKeyFrames</a> (void) const </td></tr> |
---|
| 75 | |
---|
| 76 | <tr><td class="mdescLeft"> </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_1NodeAnimationTracka12"></a><br><br></td></tr> |
---|
| 77 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTracka13">optimise</a> (void)</td></tr> |
---|
| 78 | |
---|
| 79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Optimise the current track by removing any duplicate keyframes. <a href="#Ogre_1_1NodeAnimationTracka13"></a><br><br></td></tr> |
---|
| 80 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka16">getHandle</a> (void) const </td></tr> |
---|
| 81 | |
---|
| 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the handle associated with this track. <a href="#Ogre_1_1VertexAnimationTracka16"></a><br><br></td></tr> |
---|
| 83 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka17">getNumKeyFrames</a> (void) const </td></tr> |
---|
| 84 | |
---|
| 85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of keyframes in this animation. <a href="#Ogre_1_1VertexAnimationTracka17"></a><br><br></td></tr> |
---|
| 86 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka18">getKeyFrame</a> (unsigned short index) const </td></tr> |
---|
| 87 | |
---|
| 88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index. <a href="#Ogre_1_1VertexAnimationTracka18"></a><br><br></td></tr> |
---|
| 89 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka19">getKeyFramesAtTime</a> (<a class="el" href="namespaceOgre.html#a465">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> |
---|
| 90 | |
---|
| 91 | <tr><td class="mdescLeft"> </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_1VertexAnimationTracka19"></a><br><br></td></tr> |
---|
| 92 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka20">createKeyFrame</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> timePos)</td></tr> |
---|
| 93 | |
---|
| 94 | <tr><td class="mdescLeft"> </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_1VertexAnimationTracka20"></a><br><br></td></tr> |
---|
| 95 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka21">removeKeyFrame</a> (unsigned short index)</td></tr> |
---|
| 96 | |
---|
| 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> by it's index. <a href="#Ogre_1_1VertexAnimationTracka21"></a><br><br></td></tr> |
---|
| 98 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka22">removeAllKeyFrames</a> (void)</td></tr> |
---|
| 99 | |
---|
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all the KeyFrames from this track. <a href="#Ogre_1_1VertexAnimationTracka22"></a><br><br></td></tr> |
---|
| 101 | <tr><td colspan=2><br><h2>Protected Types</h2></td></tr> |
---|
| 102 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackx0">KeyFrameList</a></td></tr> |
---|
| 103 | |
---|
| 104 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
| 105 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackb0">createKeyFrameImpl</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> time)</td></tr> |
---|
| 106 | |
---|
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Specialised keyframe creation. <a href="#Ogre_1_1NodeAnimationTrackb0"></a><br><br></td></tr> |
---|
| 108 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackb1">buildInterpolationSplines</a> (void) const </td></tr> |
---|
| 109 | |
---|
| 110 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
| 111 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Node.html">Node</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp0">mTargetNode</a></td></tr> |
---|
| 112 | |
---|
| 113 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp1">mSplineBuildNeeded</a></td></tr> |
---|
| 114 | |
---|
| 115 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp2">mPositionSpline</a></td></tr> |
---|
| 116 | |
---|
| 117 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp3">mScaleSpline</a></td></tr> |
---|
| 118 | |
---|
| 119 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1RotationalSpline.html">RotationalSpline</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp4">mRotationSpline</a></td></tr> |
---|
| 120 | |
---|
| 121 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp5">mUseShortestRotationPath</a></td></tr> |
---|
| 122 | |
---|
| 123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Defines if rotation is done using shortest path. <a href="#Ogre_1_1NodeAnimationTrackp5"></a><br><br></td></tr> |
---|
| 124 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackx0">KeyFrameList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackp3">mKeyFrames</a></td></tr> |
---|
| 125 | |
---|
| 126 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackp4">mMaxKeyFrameTime</a></td></tr> |
---|
| 127 | |
---|
| 128 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Animation.html">Animation</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackp5">mParent</a></td></tr> |
---|
| 129 | |
---|
| 130 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned short </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackp6">mHandle</a></td></tr> |
---|
| 131 | |
---|
| 132 | </table> |
---|
| 133 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 134 | Specialised <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a> for dealing with node transforms. |
---|
| 135 | <p> |
---|
| 136 | |
---|
| 137 | <p> |
---|
| 138 | |
---|
| 139 | <p> |
---|
| 140 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00224">224</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
| 141 | <a class="anchor" name="Ogre_1_1VertexAnimationTrackx0" doxytag="Ogre::NodeAnimationTrack::KeyFrameList" ></a><p> |
---|
| 142 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 143 | <tr> |
---|
| 144 | <td class="mdRow"> |
---|
| 145 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 146 | <tr> |
---|
| 147 | <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>*> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackx0">Ogre::AnimationTrack::KeyFrameList</a><code> [protected, inherited]</code> |
---|
| 148 | </table> |
---|
| 149 | </td> |
---|
| 150 | </tr> |
---|
| 151 | </table> |
---|
| 152 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 153 | <tr> |
---|
| 154 | <td> |
---|
| 155 | |
---|
| 156 | </td> |
---|
| 157 | <td> |
---|
| 158 | |
---|
| 159 | <p> |
---|
| 160 | |
---|
| 161 | <p> |
---|
| 162 | 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>. </td> |
---|
| 163 | </tr> |
---|
| 164 | </table> |
---|
| 165 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 166 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka0" doxytag="Ogre::NodeAnimationTrack::NodeAnimationTrack" ></a><p> |
---|
| 167 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 168 | <tr> |
---|
| 169 | <td class="mdRow"> |
---|
| 170 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 171 | <tr> |
---|
| 172 | <td class="md" nowrap valign="top"> Ogre::NodeAnimationTrack::NodeAnimationTrack </td> |
---|
| 173 | <td class="md" valign="top">( </td> |
---|
| 174 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Animation.html">Animation</a> * </td> |
---|
| 175 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
| 176 | </tr> |
---|
| 177 | <tr> |
---|
| 178 | <td class="md" nowrap align="right"></td> |
---|
| 179 | <td></td> |
---|
| 180 | <td class="md" nowrap>unsigned short </td> |
---|
| 181 | <td class="mdname" nowrap> <em>handle</em></td> |
---|
| 182 | </tr> |
---|
| 183 | <tr> |
---|
| 184 | <td></td> |
---|
| 185 | <td class="md">) </td> |
---|
| 186 | <td class="md" colspan="2"></td> |
---|
| 187 | </tr> |
---|
| 188 | |
---|
| 189 | </table> |
---|
| 190 | </td> |
---|
| 191 | </tr> |
---|
| 192 | </table> |
---|
| 193 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 194 | <tr> |
---|
| 195 | <td> |
---|
| 196 | |
---|
| 197 | </td> |
---|
| 198 | <td> |
---|
| 199 | |
---|
| 200 | <p> |
---|
| 201 | Constructor. |
---|
| 202 | <p> |
---|
| 203 | </td> |
---|
| 204 | </tr> |
---|
| 205 | </table> |
---|
| 206 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka1" doxytag="Ogre::NodeAnimationTrack::NodeAnimationTrack" ></a><p> |
---|
| 207 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 208 | <tr> |
---|
| 209 | <td class="mdRow"> |
---|
| 210 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 211 | <tr> |
---|
| 212 | <td class="md" nowrap valign="top"> Ogre::NodeAnimationTrack::NodeAnimationTrack </td> |
---|
| 213 | <td class="md" valign="top">( </td> |
---|
| 214 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Animation.html">Animation</a> * </td> |
---|
| 215 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
| 216 | </tr> |
---|
| 217 | <tr> |
---|
| 218 | <td class="md" nowrap align="right"></td> |
---|
| 219 | <td></td> |
---|
| 220 | <td class="md" nowrap>unsigned short </td> |
---|
| 221 | <td class="mdname" nowrap> <em>handle</em>, </td> |
---|
| 222 | </tr> |
---|
| 223 | <tr> |
---|
| 224 | <td class="md" nowrap align="right"></td> |
---|
| 225 | <td></td> |
---|
| 226 | <td class="md" nowrap><a class="el" href="classOgre_1_1Node.html">Node</a> * </td> |
---|
| 227 | <td class="mdname" nowrap> <em>targetNode</em></td> |
---|
| 228 | </tr> |
---|
| 229 | <tr> |
---|
| 230 | <td></td> |
---|
| 231 | <td class="md">) </td> |
---|
| 232 | <td class="md" colspan="2"></td> |
---|
| 233 | </tr> |
---|
| 234 | |
---|
| 235 | </table> |
---|
| 236 | </td> |
---|
| 237 | </tr> |
---|
| 238 | </table> |
---|
| 239 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 240 | <tr> |
---|
| 241 | <td> |
---|
| 242 | |
---|
| 243 | </td> |
---|
| 244 | <td> |
---|
| 245 | |
---|
| 246 | <p> |
---|
| 247 | Constructor, associates with a <a class="el" href="classOgre_1_1Node.html">Node</a>. |
---|
| 248 | <p> |
---|
| 249 | </td> |
---|
| 250 | </tr> |
---|
| 251 | </table> |
---|
| 252 | <hr><h2>Member Function Documentation</h2> |
---|
| 253 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka10" doxytag="Ogre::NodeAnimationTrack::_keyFrameDataChanged" ></a><p> |
---|
| 254 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 255 | <tr> |
---|
| 256 | <td class="mdRow"> |
---|
| 257 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 258 | <tr> |
---|
| 259 | <td class="md" nowrap valign="top"> void Ogre::NodeAnimationTrack::_keyFrameDataChanged </td> |
---|
| 260 | <td class="md" valign="top">( </td> |
---|
| 261 | <td class="md" nowrap valign="top">void </td> |
---|
| 262 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 263 | <td class="md" valign="top"> ) </td> |
---|
| 264 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
| 265 | </tr> |
---|
| 266 | |
---|
| 267 | </table> |
---|
| 268 | </td> |
---|
| 269 | </tr> |
---|
| 270 | </table> |
---|
| 271 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 272 | <tr> |
---|
| 273 | <td> |
---|
| 274 | |
---|
| 275 | </td> |
---|
| 276 | <td> |
---|
| 277 | |
---|
| 278 | <p> |
---|
| 279 | |
---|
| 280 | <p> |
---|
| 281 | |
---|
| 282 | <p> |
---|
| 283 | Reimplemented from <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka23">Ogre::AnimationTrack</a>. </td> |
---|
| 284 | </tr> |
---|
| 285 | </table> |
---|
| 286 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka9" doxytag="Ogre::NodeAnimationTrack::apply" ></a><p> |
---|
| 287 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 288 | <tr> |
---|
| 289 | <td class="mdRow"> |
---|
| 290 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 291 | <tr> |
---|
| 292 | <td class="md" nowrap valign="top"> void Ogre::NodeAnimationTrack::apply </td> |
---|
| 293 | <td class="md" valign="top">( </td> |
---|
| 294 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 295 | <td class="mdname" nowrap> <em>timePos</em>, </td> |
---|
| 296 | </tr> |
---|
| 297 | <tr> |
---|
| 298 | <td class="md" nowrap align="right"></td> |
---|
| 299 | <td></td> |
---|
| 300 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 301 | <td class="mdname" nowrap> <em>weight</em> = 1.0, </td> |
---|
| 302 | </tr> |
---|
| 303 | <tr> |
---|
| 304 | <td class="md" nowrap align="right"></td> |
---|
| 305 | <td></td> |
---|
| 306 | <td class="md" nowrap>bool </td> |
---|
| 307 | <td class="mdname" nowrap> <em>accumulate</em> = false, </td> |
---|
| 308 | </tr> |
---|
| 309 | <tr> |
---|
| 310 | <td class="md" nowrap align="right"></td> |
---|
| 311 | <td></td> |
---|
| 312 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 313 | <td class="mdname" nowrap> <em>scale</em> = 1.0f</td> |
---|
| 314 | </tr> |
---|
| 315 | <tr> |
---|
| 316 | <td></td> |
---|
| 317 | <td class="md">) </td> |
---|
| 318 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
| 319 | </tr> |
---|
| 320 | |
---|
| 321 | </table> |
---|
| 322 | </td> |
---|
| 323 | </tr> |
---|
| 324 | </table> |
---|
| 325 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 326 | <tr> |
---|
| 327 | <td> |
---|
| 328 | |
---|
| 329 | </td> |
---|
| 330 | <td> |
---|
| 331 | |
---|
| 332 | <p> |
---|
| 333 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 334 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 335 | <tr><td valign=top><em>timePos</em> </td><td>The time position in the animation to apply. </td></tr> |
---|
| 336 | <tr><td valign=top><em>weight</em> </td><td>The influence to give to this track, 1.0 for full influence, less to blend with other animations. </td></tr> |
---|
| 337 | <tr><td valign=top><em>acculumate</em> </td><td>Don't make weights relative to overall weights applied, make them absolute and just add. </td></tr> |
---|
| 338 | <tr><td valign=top><em>scale</em> </td><td>The scale to apply to translations and scalings, useful for adapting an animation to a different size target.</td></tr> |
---|
| 339 | </table> |
---|
| 340 | </dl> |
---|
| 341 | |
---|
| 342 | <p> |
---|
| 343 | |
---|
| 344 | <p> |
---|
| 345 | Implements <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka10">Ogre::AnimationTrack</a>. </td> |
---|
| 346 | </tr> |
---|
| 347 | </table> |
---|
| 348 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka5" doxytag="Ogre::NodeAnimationTrack::applyToNode" ></a><p> |
---|
| 349 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 350 | <tr> |
---|
| 351 | <td class="mdRow"> |
---|
| 352 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 353 | <tr> |
---|
| 354 | <td class="md" nowrap valign="top"> virtual void Ogre::NodeAnimationTrack::applyToNode </td> |
---|
| 355 | <td class="md" valign="top">( </td> |
---|
| 356 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Node.html">Node</a> * </td> |
---|
| 357 | <td class="mdname" nowrap> <em>node</em>, </td> |
---|
| 358 | </tr> |
---|
| 359 | <tr> |
---|
| 360 | <td class="md" nowrap align="right"></td> |
---|
| 361 | <td></td> |
---|
| 362 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 363 | <td class="mdname" nowrap> <em>timePos</em>, </td> |
---|
| 364 | </tr> |
---|
| 365 | <tr> |
---|
| 366 | <td class="md" nowrap align="right"></td> |
---|
| 367 | <td></td> |
---|
| 368 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 369 | <td class="mdname" nowrap> <em>weight</em> = 1.0, </td> |
---|
| 370 | </tr> |
---|
| 371 | <tr> |
---|
| 372 | <td class="md" nowrap align="right"></td> |
---|
| 373 | <td></td> |
---|
| 374 | <td class="md" nowrap>bool </td> |
---|
| 375 | <td class="mdname" nowrap> <em>accumulate</em> = false, </td> |
---|
| 376 | </tr> |
---|
| 377 | <tr> |
---|
| 378 | <td class="md" nowrap align="right"></td> |
---|
| 379 | <td></td> |
---|
| 380 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 381 | <td class="mdname" nowrap> <em>scale</em> = 1.0f</td> |
---|
| 382 | </tr> |
---|
| 383 | <tr> |
---|
| 384 | <td></td> |
---|
| 385 | <td class="md">) </td> |
---|
| 386 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
| 387 | </tr> |
---|
| 388 | |
---|
| 389 | </table> |
---|
| 390 | </td> |
---|
| 391 | </tr> |
---|
| 392 | </table> |
---|
| 393 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 394 | <tr> |
---|
| 395 | <td> |
---|
| 396 | |
---|
| 397 | </td> |
---|
| 398 | <td> |
---|
| 399 | |
---|
| 400 | <p> |
---|
| 401 | As the 'apply' method but applies to a specified <a class="el" href="classOgre_1_1Node.html">Node</a> instead of associated node. |
---|
| 402 | <p> |
---|
| 403 | </td> |
---|
| 404 | </tr> |
---|
| 405 | </table> |
---|
| 406 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackb1" doxytag="Ogre::NodeAnimationTrack::buildInterpolationSplines" ></a><p> |
---|
| 407 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 408 | <tr> |
---|
| 409 | <td class="mdRow"> |
---|
| 410 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 411 | <tr> |
---|
| 412 | <td class="md" nowrap valign="top"> virtual void Ogre::NodeAnimationTrack::buildInterpolationSplines </td> |
---|
| 413 | <td class="md" valign="top">( </td> |
---|
| 414 | <td class="md" nowrap valign="top">void </td> |
---|
| 415 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 416 | <td class="md" valign="top"> ) </td> |
---|
| 417 | <td class="md" nowrap> const<code> [protected, virtual]</code></td> |
---|
| 418 | </tr> |
---|
| 419 | |
---|
| 420 | </table> |
---|
| 421 | </td> |
---|
| 422 | </tr> |
---|
| 423 | </table> |
---|
| 424 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 425 | <tr> |
---|
| 426 | <td> |
---|
| 427 | |
---|
| 428 | </td> |
---|
| 429 | <td> |
---|
| 430 | |
---|
| 431 | <p> |
---|
| 432 | </td> |
---|
| 433 | </tr> |
---|
| 434 | </table> |
---|
| 435 | <a class="anchor" name="Ogre_1_1VertexAnimationTracka20" doxytag="Ogre::NodeAnimationTrack::createKeyFrame" ></a><p> |
---|
| 436 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 437 | <tr> |
---|
| 438 | <td class="mdRow"> |
---|
| 439 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 440 | <tr> |
---|
| 441 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>* Ogre::AnimationTrack::createKeyFrame </td> |
---|
| 442 | <td class="md" valign="top">( </td> |
---|
| 443 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 444 | <td class="mdname1" valign="top" nowrap> <em>timePos</em> </td> |
---|
| 445 | <td class="md" valign="top"> ) </td> |
---|
| 446 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 447 | </tr> |
---|
| 448 | |
---|
| 449 | </table> |
---|
| 450 | </td> |
---|
| 451 | </tr> |
---|
| 452 | </table> |
---|
| 453 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 454 | <tr> |
---|
| 455 | <td> |
---|
| 456 | |
---|
| 457 | </td> |
---|
| 458 | <td> |
---|
| 459 | |
---|
| 460 | <p> |
---|
| 461 | Creates a new <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> and adds it to this animation at the given time index. |
---|
| 462 | <p> |
---|
| 463 | <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> |
---|
| 464 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 465 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 466 | <tr><td valign=top><em>timePos</em> </td><td>The time from which this <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> will apply. </td></tr> |
---|
| 467 | </table> |
---|
| 468 | </dl> |
---|
| 469 | </td> |
---|
| 470 | </tr> |
---|
| 471 | </table> |
---|
| 472 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackb0" doxytag="Ogre::NodeAnimationTrack::createKeyFrameImpl" ></a><p> |
---|
| 473 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 474 | <tr> |
---|
| 475 | <td class="mdRow"> |
---|
| 476 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 477 | <tr> |
---|
| 478 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>* Ogre::NodeAnimationTrack::createKeyFrameImpl </td> |
---|
| 479 | <td class="md" valign="top">( </td> |
---|
| 480 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 481 | <td class="mdname1" valign="top" nowrap> <em>time</em> </td> |
---|
| 482 | <td class="md" valign="top"> ) </td> |
---|
| 483 | <td class="md" nowrap><code> [protected, virtual]</code></td> |
---|
| 484 | </tr> |
---|
| 485 | |
---|
| 486 | </table> |
---|
| 487 | </td> |
---|
| 488 | </tr> |
---|
| 489 | </table> |
---|
| 490 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 491 | <tr> |
---|
| 492 | <td> |
---|
| 493 | |
---|
| 494 | </td> |
---|
| 495 | <td> |
---|
| 496 | |
---|
| 497 | <p> |
---|
| 498 | Specialised keyframe creation. |
---|
| 499 | <p> |
---|
| 500 | |
---|
| 501 | <p> |
---|
| 502 | Implements <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTrackb0">Ogre::AnimationTrack</a>. </td> |
---|
| 503 | </tr> |
---|
| 504 | </table> |
---|
| 505 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka2" doxytag="Ogre::NodeAnimationTrack::createNodeKeyFrame" ></a><p> |
---|
| 506 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 507 | <tr> |
---|
| 508 | <td class="mdRow"> |
---|
| 509 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 510 | <tr> |
---|
| 511 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1TransformKeyFrame.html">TransformKeyFrame</a>* Ogre::NodeAnimationTrack::createNodeKeyFrame </td> |
---|
| 512 | <td class="md" valign="top">( </td> |
---|
| 513 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 514 | <td class="mdname1" valign="top" nowrap> <em>timePos</em> </td> |
---|
| 515 | <td class="md" valign="top"> ) </td> |
---|
| 516 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
| 517 | </tr> |
---|
| 518 | |
---|
| 519 | </table> |
---|
| 520 | </td> |
---|
| 521 | </tr> |
---|
| 522 | </table> |
---|
| 523 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 524 | <tr> |
---|
| 525 | <td> |
---|
| 526 | |
---|
| 527 | </td> |
---|
| 528 | <td> |
---|
| 529 | |
---|
| 530 | <p> |
---|
| 531 | Creates a new <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> and adds it to this animation at the given time index. |
---|
| 532 | <p> |
---|
| 533 | <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> |
---|
| 534 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 535 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 536 | <tr><td valign=top><em>timePos</em> </td><td>The time from which this <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> will apply. </td></tr> |
---|
| 537 | </table> |
---|
| 538 | </dl> |
---|
| 539 | </td> |
---|
| 540 | </tr> |
---|
| 541 | </table> |
---|
| 542 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka3" doxytag="Ogre::NodeAnimationTrack::getAssociatedNode" ></a><p> |
---|
| 543 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 544 | <tr> |
---|
| 545 | <td class="mdRow"> |
---|
| 546 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 547 | <tr> |
---|
| 548 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1Node.html">Node</a>* Ogre::NodeAnimationTrack::getAssociatedNode </td> |
---|
| 549 | <td class="md" valign="top">( </td> |
---|
| 550 | <td class="md" nowrap valign="top">void </td> |
---|
| 551 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 552 | <td class="md" valign="top"> ) </td> |
---|
| 553 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
| 554 | </tr> |
---|
| 555 | |
---|
| 556 | </table> |
---|
| 557 | </td> |
---|
| 558 | </tr> |
---|
| 559 | </table> |
---|
| 560 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 561 | <tr> |
---|
| 562 | <td> |
---|
| 563 | |
---|
| 564 | </td> |
---|
| 565 | <td> |
---|
| 566 | |
---|
| 567 | <p> |
---|
| 568 | Returns a pointer to the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object (if any). |
---|
| 569 | <p> |
---|
| 570 | </td> |
---|
| 571 | </tr> |
---|
| 572 | </table> |
---|
| 573 | <a class="anchor" name="Ogre_1_1VertexAnimationTracka16" doxytag="Ogre::NodeAnimationTrack::getHandle" ></a><p> |
---|
| 574 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 575 | <tr> |
---|
| 576 | <td class="mdRow"> |
---|
| 577 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 578 | <tr> |
---|
| 579 | <td class="md" nowrap valign="top"> unsigned short Ogre::AnimationTrack::getHandle </td> |
---|
| 580 | <td class="md" valign="top">( </td> |
---|
| 581 | <td class="md" nowrap valign="top">void </td> |
---|
| 582 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 583 | <td class="md" valign="top"> ) </td> |
---|
| 584 | <td class="md" nowrap> const<code> [inherited]</code></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 | |
---|
| 595 | </td> |
---|
| 596 | <td> |
---|
| 597 | |
---|
| 598 | <p> |
---|
| 599 | Get the handle associated with this track. |
---|
| 600 | <p> |
---|
| 601 | |
---|
| 602 | <p> |
---|
| 603 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00066">66</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 604 | </tr> |
---|
| 605 | </table> |
---|
| 606 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka8" doxytag="Ogre::NodeAnimationTrack::getInterpolatedKeyFrame" ></a><p> |
---|
| 607 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 608 | <tr> |
---|
| 609 | <td class="mdRow"> |
---|
| 610 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 611 | <tr> |
---|
| 612 | <td class="md" nowrap valign="top"> void Ogre::NodeAnimationTrack::getInterpolatedKeyFrame </td> |
---|
| 613 | <td class="md" valign="top">( </td> |
---|
| 614 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 615 | <td class="mdname" nowrap> <em>timeIndex</em>, </td> |
---|
| 616 | </tr> |
---|
| 617 | <tr> |
---|
| 618 | <td class="md" nowrap align="right"></td> |
---|
| 619 | <td></td> |
---|
| 620 | <td class="md" nowrap><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> * </td> |
---|
| 621 | <td class="mdname" nowrap> <em>kf</em></td> |
---|
| 622 | </tr> |
---|
| 623 | <tr> |
---|
| 624 | <td></td> |
---|
| 625 | <td class="md">) </td> |
---|
| 626 | <td class="md" colspan="2"> const<code> [virtual]</code></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 | |
---|
| 637 | </td> |
---|
| 638 | <td> |
---|
| 639 | |
---|
| 640 | <p> |
---|
| 641 | <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> |
---|
| 642 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 643 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 644 | <tr><td valign=top><em>timeIndex</em> </td><td>The time (in relation to the whole animation sequence) </td></tr> |
---|
| 645 | <tr><td valign=top><em>kf</em> </td><td>Keyframe object to store results</td></tr> |
---|
| 646 | </table> |
---|
| 647 | </dl> |
---|
| 648 | |
---|
| 649 | <p> |
---|
| 650 | |
---|
| 651 | <p> |
---|
| 652 | Implements <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1AnimationTracka9">Ogre::AnimationTrack</a>. </td> |
---|
| 653 | </tr> |
---|
| 654 | </table> |
---|
| 655 | <a class="anchor" name="Ogre_1_1VertexAnimationTracka18" doxytag="Ogre::NodeAnimationTrack::getKeyFrame" ></a><p> |
---|
| 656 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 657 | <tr> |
---|
| 658 | <td class="mdRow"> |
---|
| 659 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 660 | <tr> |
---|
| 661 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a>* Ogre::AnimationTrack::getKeyFrame </td> |
---|
| 662 | <td class="md" valign="top">( </td> |
---|
| 663 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
| 664 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
| 665 | <td class="md" valign="top"> ) </td> |
---|
| 666 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
| 667 | </tr> |
---|
| 668 | |
---|
| 669 | </table> |
---|
| 670 | </td> |
---|
| 671 | </tr> |
---|
| 672 | </table> |
---|
| 673 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 674 | <tr> |
---|
| 675 | <td> |
---|
| 676 | |
---|
| 677 | </td> |
---|
| 678 | <td> |
---|
| 679 | |
---|
| 680 | <p> |
---|
| 681 | Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index. |
---|
| 682 | <p> |
---|
| 683 | </td> |
---|
| 684 | </tr> |
---|
| 685 | </table> |
---|
| 686 | <a class="anchor" name="Ogre_1_1VertexAnimationTracka19" doxytag="Ogre::NodeAnimationTrack::getKeyFramesAtTime" ></a><p> |
---|
| 687 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 688 | <tr> |
---|
| 689 | <td class="mdRow"> |
---|
| 690 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 691 | <tr> |
---|
| 692 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::AnimationTrack::getKeyFramesAtTime </td> |
---|
| 693 | <td class="md" valign="top">( </td> |
---|
| 694 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
| 695 | <td class="mdname" nowrap> <em>timePos</em>, </td> |
---|
| 696 | </tr> |
---|
| 697 | <tr> |
---|
| 698 | <td class="md" nowrap align="right"></td> |
---|
| 699 | <td></td> |
---|
| 700 | <td class="md" nowrap><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> ** </td> |
---|
| 701 | <td class="mdname" nowrap> <em>keyFrame1</em>, </td> |
---|
| 702 | </tr> |
---|
| 703 | <tr> |
---|
| 704 | <td class="md" nowrap align="right"></td> |
---|
| 705 | <td></td> |
---|
| 706 | <td class="md" nowrap><a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> ** </td> |
---|
| 707 | <td class="mdname" nowrap> <em>keyFrame2</em>, </td> |
---|
| 708 | </tr> |
---|
| 709 | <tr> |
---|
| 710 | <td class="md" nowrap align="right"></td> |
---|
| 711 | <td></td> |
---|
| 712 | <td class="md" nowrap>unsigned short * </td> |
---|
| 713 | <td class="mdname" nowrap> <em>firstKeyIndex</em> = 0</td> |
---|
| 714 | </tr> |
---|
| 715 | <tr> |
---|
| 716 | <td></td> |
---|
| 717 | <td class="md">) </td> |
---|
| 718 | <td class="md" colspan="2"> const<code> [virtual, inherited]</code></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 | |
---|
| 729 | </td> |
---|
| 730 | <td> |
---|
| 731 | |
---|
| 732 | <p> |
---|
| 733 | 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. |
---|
| 734 | <p> |
---|
| 735 | <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> |
---|
| 736 | <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> |
---|
| 737 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 738 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 739 | <tr><td valign=top><em>timePos</em> </td><td>The time index in seconds. </td></tr> |
---|
| 740 | <tr><td valign=top><em>keyFrame1</em> </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> |
---|
| 741 | <tr><td valign=top><em>keyFrame2</em> </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> |
---|
| 742 | <tr><td valign=top><em>firstKeyIndex</em> </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> |
---|
| 743 | </table> |
---|
| 744 | </dl> |
---|
| 745 | <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 <= returnValue < 1.0 . </dd></dl> |
---|
| 746 | </td> |
---|
| 747 | </tr> |
---|
| 748 | </table> |
---|
| 749 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka11" doxytag="Ogre::NodeAnimationTrack::getNodeKeyFrame" ></a><p> |
---|
| 750 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 751 | <tr> |
---|
| 752 | <td class="mdRow"> |
---|
| 753 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 754 | <tr> |
---|
| 755 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1TransformKeyFrame.html">TransformKeyFrame</a>* Ogre::NodeAnimationTrack::getNodeKeyFrame </td> |
---|
| 756 | <td class="md" valign="top">( </td> |
---|
| 757 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
| 758 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
| 759 | <td class="md" valign="top"> ) </td> |
---|
| 760 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
| 761 | </tr> |
---|
| 762 | |
---|
| 763 | </table> |
---|
| 764 | </td> |
---|
| 765 | </tr> |
---|
| 766 | </table> |
---|
| 767 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 768 | <tr> |
---|
| 769 | <td> |
---|
| 770 | |
---|
| 771 | </td> |
---|
| 772 | <td> |
---|
| 773 | |
---|
| 774 | <p> |
---|
| 775 | Returns the <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> at the specified index. |
---|
| 776 | <p> |
---|
| 777 | </td> |
---|
| 778 | </tr> |
---|
| 779 | </table> |
---|
| 780 | <a class="anchor" name="Ogre_1_1VertexAnimationTracka17" doxytag="Ogre::NodeAnimationTrack::getNumKeyFrames" ></a><p> |
---|
| 781 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 782 | <tr> |
---|
| 783 | <td class="mdRow"> |
---|
| 784 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 785 | <tr> |
---|
| 786 | <td class="md" nowrap valign="top"> virtual unsigned short Ogre::AnimationTrack::getNumKeyFrames </td> |
---|
| 787 | <td class="md" valign="top">( </td> |
---|
| 788 | <td class="md" nowrap valign="top">void </td> |
---|
| 789 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 790 | <td class="md" valign="top"> ) </td> |
---|
| 791 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
| 792 | </tr> |
---|
| 793 | |
---|
| 794 | </table> |
---|
| 795 | </td> |
---|
| 796 | </tr> |
---|
| 797 | </table> |
---|
| 798 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 799 | <tr> |
---|
| 800 | <td> |
---|
| 801 | |
---|
| 802 | </td> |
---|
| 803 | <td> |
---|
| 804 | |
---|
| 805 | <p> |
---|
| 806 | Returns the number of keyframes in this animation. |
---|
| 807 | <p> |
---|
| 808 | </td> |
---|
| 809 | </tr> |
---|
| 810 | </table> |
---|
| 811 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka7" doxytag="Ogre::NodeAnimationTrack::getUseShortestRotationPath" ></a><p> |
---|
| 812 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 813 | <tr> |
---|
| 814 | <td class="mdRow"> |
---|
| 815 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 816 | <tr> |
---|
| 817 | <td class="md" nowrap valign="top"> virtual bool Ogre::NodeAnimationTrack::getUseShortestRotationPath </td> |
---|
| 818 | <td class="md" valign="top">( </td> |
---|
| 819 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 820 | <td class="md" valign="top"> ) </td> |
---|
| 821 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
| 822 | </tr> |
---|
| 823 | |
---|
| 824 | </table> |
---|
| 825 | </td> |
---|
| 826 | </tr> |
---|
| 827 | </table> |
---|
| 828 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 829 | <tr> |
---|
| 830 | <td> |
---|
| 831 | |
---|
| 832 | </td> |
---|
| 833 | <td> |
---|
| 834 | |
---|
| 835 | <p> |
---|
| 836 | Gets the method of rotation calculation. |
---|
| 837 | <p> |
---|
| 838 | </td> |
---|
| 839 | </tr> |
---|
| 840 | </table> |
---|
| 841 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka12" doxytag="Ogre::NodeAnimationTrack::hasNonZeroKeyFrames" ></a><p> |
---|
| 842 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 843 | <tr> |
---|
| 844 | <td class="mdRow"> |
---|
| 845 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 846 | <tr> |
---|
| 847 | <td class="md" nowrap valign="top"> virtual bool Ogre::NodeAnimationTrack::hasNonZeroKeyFrames </td> |
---|
| 848 | <td class="md" valign="top">( </td> |
---|
| 849 | <td class="md" nowrap valign="top">void </td> |
---|
| 850 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 851 | <td class="md" valign="top"> ) </td> |
---|
| 852 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
| 853 | </tr> |
---|
| 854 | |
---|
| 855 | </table> |
---|
| 856 | </td> |
---|
| 857 | </tr> |
---|
| 858 | </table> |
---|
| 859 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 860 | <tr> |
---|
| 861 | <td> |
---|
| 862 | |
---|
| 863 | </td> |
---|
| 864 | <td> |
---|
| 865 | |
---|
| 866 | <p> |
---|
| 867 | 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. |
---|
| 868 | <p> |
---|
| 869 | |
---|
| 870 | <p> |
---|
| 871 | Reimplemented from <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1NumericAnimationTracka17">Ogre::AnimationTrack</a>. </td> |
---|
| 872 | </tr> |
---|
| 873 | </table> |
---|
| 874 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka13" doxytag="Ogre::NodeAnimationTrack::optimise" ></a><p> |
---|
| 875 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 876 | <tr> |
---|
| 877 | <td class="mdRow"> |
---|
| 878 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 879 | <tr> |
---|
| 880 | <td class="md" nowrap valign="top"> virtual void Ogre::NodeAnimationTrack::optimise </td> |
---|
| 881 | <td class="md" valign="top">( </td> |
---|
| 882 | <td class="md" nowrap valign="top">void </td> |
---|
| 883 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 884 | <td class="md" valign="top"> ) </td> |
---|
| 885 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
| 886 | </tr> |
---|
| 887 | |
---|
| 888 | </table> |
---|
| 889 | </td> |
---|
| 890 | </tr> |
---|
| 891 | </table> |
---|
| 892 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 893 | <tr> |
---|
| 894 | <td> |
---|
| 895 | |
---|
| 896 | </td> |
---|
| 897 | <td> |
---|
| 898 | |
---|
| 899 | <p> |
---|
| 900 | Optimise the current track by removing any duplicate keyframes. |
---|
| 901 | <p> |
---|
| 902 | |
---|
| 903 | <p> |
---|
| 904 | Reimplemented from <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1NumericAnimationTracka18">Ogre::AnimationTrack</a>. </td> |
---|
| 905 | </tr> |
---|
| 906 | </table> |
---|
| 907 | <a class="anchor" name="Ogre_1_1VertexAnimationTracka22" doxytag="Ogre::NodeAnimationTrack::removeAllKeyFrames" ></a><p> |
---|
| 908 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 909 | <tr> |
---|
| 910 | <td class="mdRow"> |
---|
| 911 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 912 | <tr> |
---|
| 913 | <td class="md" nowrap valign="top"> virtual void Ogre::AnimationTrack::removeAllKeyFrames </td> |
---|
| 914 | <td class="md" valign="top">( </td> |
---|
| 915 | <td class="md" nowrap valign="top">void </td> |
---|
| 916 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 917 | <td class="md" valign="top"> ) </td> |
---|
| 918 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 919 | </tr> |
---|
| 920 | |
---|
| 921 | </table> |
---|
| 922 | </td> |
---|
| 923 | </tr> |
---|
| 924 | </table> |
---|
| 925 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 926 | <tr> |
---|
| 927 | <td> |
---|
| 928 | |
---|
| 929 | </td> |
---|
| 930 | <td> |
---|
| 931 | |
---|
| 932 | <p> |
---|
| 933 | Removes all the KeyFrames from this track. |
---|
| 934 | <p> |
---|
| 935 | </td> |
---|
| 936 | </tr> |
---|
| 937 | </table> |
---|
| 938 | <a class="anchor" name="Ogre_1_1VertexAnimationTracka21" doxytag="Ogre::NodeAnimationTrack::removeKeyFrame" ></a><p> |
---|
| 939 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 940 | <tr> |
---|
| 941 | <td class="mdRow"> |
---|
| 942 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 943 | <tr> |
---|
| 944 | <td class="md" nowrap valign="top"> virtual void Ogre::AnimationTrack::removeKeyFrame </td> |
---|
| 945 | <td class="md" valign="top">( </td> |
---|
| 946 | <td class="md" nowrap valign="top">unsigned short </td> |
---|
| 947 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
| 948 | <td class="md" valign="top"> ) </td> |
---|
| 949 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 950 | </tr> |
---|
| 951 | |
---|
| 952 | </table> |
---|
| 953 | </td> |
---|
| 954 | </tr> |
---|
| 955 | </table> |
---|
| 956 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 957 | <tr> |
---|
| 958 | <td> |
---|
| 959 | |
---|
| 960 | </td> |
---|
| 961 | <td> |
---|
| 962 | |
---|
| 963 | <p> |
---|
| 964 | Removes a <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> by it's index. |
---|
| 965 | <p> |
---|
| 966 | </td> |
---|
| 967 | </tr> |
---|
| 968 | </table> |
---|
| 969 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka4" doxytag="Ogre::NodeAnimationTrack::setAssociatedNode" ></a><p> |
---|
| 970 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 971 | <tr> |
---|
| 972 | <td class="mdRow"> |
---|
| 973 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 974 | <tr> |
---|
| 975 | <td class="md" nowrap valign="top"> virtual void Ogre::NodeAnimationTrack::setAssociatedNode </td> |
---|
| 976 | <td class="md" valign="top">( </td> |
---|
| 977 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Node.html">Node</a> * </td> |
---|
| 978 | <td class="mdname1" valign="top" nowrap> <em>node</em> </td> |
---|
| 979 | <td class="md" valign="top"> ) </td> |
---|
| 980 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
| 981 | </tr> |
---|
| 982 | |
---|
| 983 | </table> |
---|
| 984 | </td> |
---|
| 985 | </tr> |
---|
| 986 | </table> |
---|
| 987 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 988 | <tr> |
---|
| 989 | <td> |
---|
| 990 | |
---|
| 991 | </td> |
---|
| 992 | <td> |
---|
| 993 | |
---|
| 994 | <p> |
---|
| 995 | Sets the associated <a class="el" href="classOgre_1_1Node.html">Node</a> object which will be automatically affected by calls to 'apply'. |
---|
| 996 | <p> |
---|
| 997 | </td> |
---|
| 998 | </tr> |
---|
| 999 | </table> |
---|
| 1000 | <a class="anchor" name="Ogre_1_1NodeAnimationTracka6" doxytag="Ogre::NodeAnimationTrack::setUseShortestRotationPath" ></a><p> |
---|
| 1001 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1002 | <tr> |
---|
| 1003 | <td class="mdRow"> |
---|
| 1004 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1005 | <tr> |
---|
| 1006 | <td class="md" nowrap valign="top"> virtual void Ogre::NodeAnimationTrack::setUseShortestRotationPath </td> |
---|
| 1007 | <td class="md" valign="top">( </td> |
---|
| 1008 | <td class="md" nowrap valign="top">bool </td> |
---|
| 1009 | <td class="mdname1" valign="top" nowrap> <em>useShortestPath</em> </td> |
---|
| 1010 | <td class="md" valign="top"> ) </td> |
---|
| 1011 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
| 1012 | </tr> |
---|
| 1013 | |
---|
| 1014 | </table> |
---|
| 1015 | </td> |
---|
| 1016 | </tr> |
---|
| 1017 | </table> |
---|
| 1018 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1019 | <tr> |
---|
| 1020 | <td> |
---|
| 1021 | |
---|
| 1022 | </td> |
---|
| 1023 | <td> |
---|
| 1024 | |
---|
| 1025 | <p> |
---|
| 1026 | Sets the method of rotation calculation. |
---|
| 1027 | <p> |
---|
| 1028 | </td> |
---|
| 1029 | </tr> |
---|
| 1030 | </table> |
---|
| 1031 | <hr><h2>Member Data Documentation</h2> |
---|
| 1032 | <a class="anchor" name="Ogre_1_1VertexAnimationTrackp6" doxytag="Ogre::NodeAnimationTrack::mHandle" ></a><p> |
---|
| 1033 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1034 | <tr> |
---|
| 1035 | <td class="mdRow"> |
---|
| 1036 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1037 | <tr> |
---|
| 1038 | <td class="md" nowrap valign="top"> unsigned short <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackp6">Ogre::AnimationTrack::mHandle</a><code> [protected, inherited]</code> |
---|
| 1039 | </table> |
---|
| 1040 | </td> |
---|
| 1041 | </tr> |
---|
| 1042 | </table> |
---|
| 1043 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1044 | <tr> |
---|
| 1045 | <td> |
---|
| 1046 | |
---|
| 1047 | </td> |
---|
| 1048 | <td> |
---|
| 1049 | |
---|
| 1050 | <p> |
---|
| 1051 | |
---|
| 1052 | <p> |
---|
| 1053 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00155">155</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1054 | </tr> |
---|
| 1055 | </table> |
---|
| 1056 | <a class="anchor" name="Ogre_1_1VertexAnimationTrackp3" doxytag="Ogre::NodeAnimationTrack::mKeyFrames" ></a><p> |
---|
| 1057 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1058 | <tr> |
---|
| 1059 | <td class="mdRow"> |
---|
| 1060 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1061 | <tr> |
---|
| 1062 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackx0">KeyFrameList</a> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackp3">Ogre::AnimationTrack::mKeyFrames</a><code> [protected, inherited]</code> |
---|
| 1063 | </table> |
---|
| 1064 | </td> |
---|
| 1065 | </tr> |
---|
| 1066 | </table> |
---|
| 1067 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1068 | <tr> |
---|
| 1069 | <td> |
---|
| 1070 | |
---|
| 1071 | </td> |
---|
| 1072 | <td> |
---|
| 1073 | |
---|
| 1074 | <p> |
---|
| 1075 | |
---|
| 1076 | <p> |
---|
| 1077 | 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>. </td> |
---|
| 1078 | </tr> |
---|
| 1079 | </table> |
---|
| 1080 | <a class="anchor" name="Ogre_1_1VertexAnimationTrackp4" doxytag="Ogre::NodeAnimationTrack::mMaxKeyFrameTime" ></a><p> |
---|
| 1081 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1082 | <tr> |
---|
| 1083 | <td class="mdRow"> |
---|
| 1084 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1085 | <tr> |
---|
| 1086 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTrackp4">Ogre::AnimationTrack::mMaxKeyFrameTime</a><code> [protected, inherited]</code> |
---|
| 1087 | </table> |
---|
| 1088 | </td> |
---|
| 1089 | </tr> |
---|
| 1090 | </table> |
---|
| 1091 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1092 | <tr> |
---|
| 1093 | <td> |
---|
| 1094 | |
---|
| 1095 | </td> |
---|
| 1096 | <td> |
---|
| 1097 | |
---|
| 1098 | <p> |
---|
| 1099 | |
---|
| 1100 | <p> |
---|
| 1101 | 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>. </td> |
---|
| 1102 | </tr> |
---|
| 1103 | </table> |
---|
| 1104 | <a class="anchor" name="Ogre_1_1VertexAnimationTrackp5" doxytag="Ogre::NodeAnimationTrack::mParent" ></a><p> |
---|
| 1105 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1106 | <tr> |
---|
| 1107 | <td class="mdRow"> |
---|
| 1108 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1109 | <tr> |
---|
| 1110 | <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_1VertexAnimationTrackp5">Ogre::AnimationTrack::mParent</a><code> [protected, inherited]</code> |
---|
| 1111 | </table> |
---|
| 1112 | </td> |
---|
| 1113 | </tr> |
---|
| 1114 | </table> |
---|
| 1115 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1116 | <tr> |
---|
| 1117 | <td> |
---|
| 1118 | |
---|
| 1119 | </td> |
---|
| 1120 | <td> |
---|
| 1121 | |
---|
| 1122 | <p> |
---|
| 1123 | |
---|
| 1124 | <p> |
---|
| 1125 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00154">154</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1126 | </tr> |
---|
| 1127 | </table> |
---|
| 1128 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackp2" doxytag="Ogre::NodeAnimationTrack::mPositionSpline" ></a><p> |
---|
| 1129 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1130 | <tr> |
---|
| 1131 | <td class="mdRow"> |
---|
| 1132 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1133 | <tr> |
---|
| 1134 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> <a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp2">Ogre::NodeAnimationTrack::mPositionSpline</a><code> [mutable, protected]</code> |
---|
| 1135 | </table> |
---|
| 1136 | </td> |
---|
| 1137 | </tr> |
---|
| 1138 | </table> |
---|
| 1139 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1140 | <tr> |
---|
| 1141 | <td> |
---|
| 1142 | |
---|
| 1143 | </td> |
---|
| 1144 | <td> |
---|
| 1145 | |
---|
| 1146 | <p> |
---|
| 1147 | |
---|
| 1148 | <p> |
---|
| 1149 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00288">288</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1150 | </tr> |
---|
| 1151 | </table> |
---|
| 1152 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackp4" doxytag="Ogre::NodeAnimationTrack::mRotationSpline" ></a><p> |
---|
| 1153 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1154 | <tr> |
---|
| 1155 | <td class="mdRow"> |
---|
| 1156 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1157 | <tr> |
---|
| 1158 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RotationalSpline.html">RotationalSpline</a> <a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp4">Ogre::NodeAnimationTrack::mRotationSpline</a><code> [mutable, protected]</code> |
---|
| 1159 | </table> |
---|
| 1160 | </td> |
---|
| 1161 | </tr> |
---|
| 1162 | </table> |
---|
| 1163 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1164 | <tr> |
---|
| 1165 | <td> |
---|
| 1166 | |
---|
| 1167 | </td> |
---|
| 1168 | <td> |
---|
| 1169 | |
---|
| 1170 | <p> |
---|
| 1171 | |
---|
| 1172 | <p> |
---|
| 1173 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00290">290</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1174 | </tr> |
---|
| 1175 | </table> |
---|
| 1176 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackp3" doxytag="Ogre::NodeAnimationTrack::mScaleSpline" ></a><p> |
---|
| 1177 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1178 | <tr> |
---|
| 1179 | <td class="mdRow"> |
---|
| 1180 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1181 | <tr> |
---|
| 1182 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SimpleSpline.html">SimpleSpline</a> <a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp3">Ogre::NodeAnimationTrack::mScaleSpline</a><code> [mutable, protected]</code> |
---|
| 1183 | </table> |
---|
| 1184 | </td> |
---|
| 1185 | </tr> |
---|
| 1186 | </table> |
---|
| 1187 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1188 | <tr> |
---|
| 1189 | <td> |
---|
| 1190 | |
---|
| 1191 | </td> |
---|
| 1192 | <td> |
---|
| 1193 | |
---|
| 1194 | <p> |
---|
| 1195 | |
---|
| 1196 | <p> |
---|
| 1197 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00289">289</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1198 | </tr> |
---|
| 1199 | </table> |
---|
| 1200 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackp1" doxytag="Ogre::NodeAnimationTrack::mSplineBuildNeeded" ></a><p> |
---|
| 1201 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1202 | <tr> |
---|
| 1203 | <td class="mdRow"> |
---|
| 1204 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1205 | <tr> |
---|
| 1206 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp1">Ogre::NodeAnimationTrack::mSplineBuildNeeded</a><code> [mutable, protected]</code> |
---|
| 1207 | </table> |
---|
| 1208 | </td> |
---|
| 1209 | </tr> |
---|
| 1210 | </table> |
---|
| 1211 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1212 | <tr> |
---|
| 1213 | <td> |
---|
| 1214 | |
---|
| 1215 | </td> |
---|
| 1216 | <td> |
---|
| 1217 | |
---|
| 1218 | <p> |
---|
| 1219 | |
---|
| 1220 | <p> |
---|
| 1221 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00287">287</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1222 | </tr> |
---|
| 1223 | </table> |
---|
| 1224 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackp0" doxytag="Ogre::NodeAnimationTrack::mTargetNode" ></a><p> |
---|
| 1225 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1226 | <tr> |
---|
| 1227 | <td class="mdRow"> |
---|
| 1228 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1229 | <tr> |
---|
| 1230 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Node.html">Node</a>* <a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp0">Ogre::NodeAnimationTrack::mTargetNode</a><code> [protected]</code> |
---|
| 1231 | </table> |
---|
| 1232 | </td> |
---|
| 1233 | </tr> |
---|
| 1234 | </table> |
---|
| 1235 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1236 | <tr> |
---|
| 1237 | <td> |
---|
| 1238 | |
---|
| 1239 | </td> |
---|
| 1240 | <td> |
---|
| 1241 | |
---|
| 1242 | <p> |
---|
| 1243 | |
---|
| 1244 | <p> |
---|
| 1245 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00285">285</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1246 | </tr> |
---|
| 1247 | </table> |
---|
| 1248 | <a class="anchor" name="Ogre_1_1NodeAnimationTrackp5" doxytag="Ogre::NodeAnimationTrack::mUseShortestRotationPath" ></a><p> |
---|
| 1249 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 1250 | <tr> |
---|
| 1251 | <td class="mdRow"> |
---|
| 1252 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1253 | <tr> |
---|
| 1254 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1NodeAnimationTrack.html#Ogre_1_1NodeAnimationTrackp5">Ogre::NodeAnimationTrack::mUseShortestRotationPath</a><code> [mutable, protected]</code> |
---|
| 1255 | </table> |
---|
| 1256 | </td> |
---|
| 1257 | </tr> |
---|
| 1258 | </table> |
---|
| 1259 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 1260 | <tr> |
---|
| 1261 | <td> |
---|
| 1262 | |
---|
| 1263 | </td> |
---|
| 1264 | <td> |
---|
| 1265 | |
---|
| 1266 | <p> |
---|
| 1267 | Defines if rotation is done using shortest path. |
---|
| 1268 | <p> |
---|
| 1269 | |
---|
| 1270 | <p> |
---|
| 1271 | Definition at line <a class="el" href="OgreAnimationTrack_8h-source.html#l00292">292</a> of file <a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a>. </td> |
---|
| 1272 | </tr> |
---|
| 1273 | </table> |
---|
| 1274 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 1275 | <li><a class="el" href="OgreAnimationTrack_8h-source.html">OgreAnimationTrack.h</a></ul> |
---|
| 1276 | <hr> |
---|
| 1277 | <p> |
---|
| 1278 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 1279 | <!--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/> |
---|
| 1280 | This 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/> |
---|
| 1281 | <!--/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#"> |
---|
| 1282 | <Work rdf:about=""> |
---|
| 1283 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 1284 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 1285 | </Work> |
---|
| 1286 | <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> --> |
---|
| 1287 | |
---|
| 1288 | Last modified Sun Mar 12 14:38:05 2006 |
---|
| 1289 | </p> |
---|
| 1290 | </body> |
---|
| 1291 | </html> |
---|