1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::VertexMorphKeyFrame 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::VertexMorphKeyFrame Class Reference</h1>Specialised <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> which stores absolute vertex positions for a complete buffer, designed to be interpolated with other keys in the same track. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>></code> |
---|
14 | <p> |
---|
15 | <p>Inheritance diagram for Ogre::VertexMorphKeyFrame: |
---|
16 | <p><center><img src="classOgre_1_1VertexMorphKeyFrame.png" usemap="#Ogre::VertexMorphKeyFrame_map" border="0" alt=""></center> |
---|
17 | <map name="Ogre::VertexMorphKeyFrame_map"> |
---|
18 | <area href="classOgre_1_1KeyFrame.html" alt="Ogre::KeyFrame" shape="rect" coords="0,0,179,24"> |
---|
19 | </map> |
---|
20 | <a href="classOgre_1_1VertexMorphKeyFrame-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_1VertexMorphKeyFrame.html#Ogre_1_1VertexMorphKeyFramea0">VertexMorphKeyFrame</a> (const <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a> *parent, <a class="el" href="namespaceOgre.html#a465">Real</a> time)</td></tr> |
---|
24 | |
---|
25 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor, you should not call this but use <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka20">AnimationTrack::createKeyFrame</a> instead. <a href="#Ogre_1_1VertexMorphKeyFramea0"></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_1VertexMorphKeyFrame.html#Ogre_1_1VertexMorphKeyFramea1">~VertexMorphKeyFrame</a> ()</td></tr> |
---|
27 | |
---|
28 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexMorphKeyFrame.html#Ogre_1_1VertexMorphKeyFramea2">setVertexBuffer</a> (const <a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a> &buf)</td></tr> |
---|
29 | |
---|
30 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the vertex buffer containing the source positions for this keyframe. <a href="#Ogre_1_1VertexMorphKeyFramea2"></a><br><br></td></tr> |
---|
31 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexMorphKeyFrame.html#Ogre_1_1VertexMorphKeyFramea3">getVertexBuffer</a> (void) const </td></tr> |
---|
32 | |
---|
33 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the vertex buffer containing positions for this keyframe. <a href="#Ogre_1_1VertexMorphKeyFramea3"></a><br><br></td></tr> |
---|
34 | <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_1KeyFrame.html#Ogre_1_1VertexPoseKeyFramea9">getTime</a> (void) const </td></tr> |
---|
35 | |
---|
36 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the time of this keyframe in the animation sequence. <a href="#Ogre_1_1VertexPoseKeyFramea9"></a><br><br></td></tr> |
---|
37 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1VertexMorphKeyFrame.html#Ogre_1_1VertexMorphKeyFramep0">mBuffer</a></td></tr> |
---|
39 | |
---|
40 | <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_1KeyFrame.html#Ogre_1_1VertexPoseKeyFramep1">mTime</a></td></tr> |
---|
41 | |
---|
42 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1VertexPoseKeyFramep2">mParentTrack</a></td></tr> |
---|
43 | |
---|
44 | </table> |
---|
45 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
46 | Specialised <a class="el" href="classOgre_1_1KeyFrame.html">KeyFrame</a> which stores absolute vertex positions for a complete buffer, designed to be interpolated with other keys in the same track. |
---|
47 | <p> |
---|
48 | |
---|
49 | <p> |
---|
50 | |
---|
51 | <p> |
---|
52 | Definition at line <a class="el" href="OgreKeyFrame_8h-source.html#l00136">136</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> |
---|
53 | <a class="anchor" name="Ogre_1_1VertexMorphKeyFramea0" doxytag="Ogre::VertexMorphKeyFrame::VertexMorphKeyFrame" ></a><p> |
---|
54 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
55 | <tr> |
---|
56 | <td class="mdRow"> |
---|
57 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
58 | <tr> |
---|
59 | <td class="md" nowrap valign="top"> Ogre::VertexMorphKeyFrame::VertexMorphKeyFrame </td> |
---|
60 | <td class="md" valign="top">( </td> |
---|
61 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a> * </td> |
---|
62 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
63 | </tr> |
---|
64 | <tr> |
---|
65 | <td class="md" nowrap align="right"></td> |
---|
66 | <td></td> |
---|
67 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
68 | <td class="mdname" nowrap> <em>time</em></td> |
---|
69 | </tr> |
---|
70 | <tr> |
---|
71 | <td></td> |
---|
72 | <td class="md">) </td> |
---|
73 | <td class="md" colspan="2"></td> |
---|
74 | </tr> |
---|
75 | |
---|
76 | </table> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | </table> |
---|
80 | <table cellspacing=5 cellpadding=0 border=0> |
---|
81 | <tr> |
---|
82 | <td> |
---|
83 | |
---|
84 | </td> |
---|
85 | <td> |
---|
86 | |
---|
87 | <p> |
---|
88 | Default constructor, you should not call this but use <a class="el" href="classOgre_1_1AnimationTrack.html#Ogre_1_1VertexAnimationTracka20">AnimationTrack::createKeyFrame</a> instead. |
---|
89 | <p> |
---|
90 | </td> |
---|
91 | </tr> |
---|
92 | </table> |
---|
93 | <a class="anchor" name="Ogre_1_1VertexMorphKeyFramea1" doxytag="Ogre::VertexMorphKeyFrame::~VertexMorphKeyFrame" ></a><p> |
---|
94 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
95 | <tr> |
---|
96 | <td class="mdRow"> |
---|
97 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
98 | <tr> |
---|
99 | <td class="md" nowrap valign="top"> Ogre::VertexMorphKeyFrame::~<a class="el" href="classOgre_1_1VertexMorphKeyFrame.html">VertexMorphKeyFrame</a> </td> |
---|
100 | <td class="md" valign="top">( </td> |
---|
101 | <td class="mdname1" valign="top" nowrap> </td> |
---|
102 | <td class="md" valign="top"> ) </td> |
---|
103 | <td class="md" nowrap></td> |
---|
104 | </tr> |
---|
105 | |
---|
106 | </table> |
---|
107 | </td> |
---|
108 | </tr> |
---|
109 | </table> |
---|
110 | <table cellspacing=5 cellpadding=0 border=0> |
---|
111 | <tr> |
---|
112 | <td> |
---|
113 | |
---|
114 | </td> |
---|
115 | <td> |
---|
116 | |
---|
117 | <p> |
---|
118 | |
---|
119 | <p> |
---|
120 | Definition at line <a class="el" href="OgreKeyFrame_8h-source.html#l00141">141</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>. </td> |
---|
121 | </tr> |
---|
122 | </table> |
---|
123 | <hr><h2>Member Function Documentation</h2> |
---|
124 | <a class="anchor" name="Ogre_1_1VertexPoseKeyFramea9" doxytag="Ogre::VertexMorphKeyFrame::getTime" ></a><p> |
---|
125 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
126 | <tr> |
---|
127 | <td class="mdRow"> |
---|
128 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
129 | <tr> |
---|
130 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::KeyFrame::getTime </td> |
---|
131 | <td class="md" valign="top">( </td> |
---|
132 | <td class="md" nowrap valign="top">void </td> |
---|
133 | <td class="mdname1" valign="top" nowrap> </td> |
---|
134 | <td class="md" valign="top"> ) </td> |
---|
135 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
136 | </tr> |
---|
137 | |
---|
138 | </table> |
---|
139 | </td> |
---|
140 | </tr> |
---|
141 | </table> |
---|
142 | <table cellspacing=5 cellpadding=0 border=0> |
---|
143 | <tr> |
---|
144 | <td> |
---|
145 | |
---|
146 | </td> |
---|
147 | <td> |
---|
148 | |
---|
149 | <p> |
---|
150 | Gets the time of this keyframe in the animation sequence. |
---|
151 | <p> |
---|
152 | </td> |
---|
153 | </tr> |
---|
154 | </table> |
---|
155 | <a class="anchor" name="Ogre_1_1VertexMorphKeyFramea3" doxytag="Ogre::VertexMorphKeyFrame::getVertexBuffer" ></a><p> |
---|
156 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
157 | <tr> |
---|
158 | <td class="mdRow"> |
---|
159 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
160 | <tr> |
---|
161 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a>& Ogre::VertexMorphKeyFrame::getVertexBuffer </td> |
---|
162 | <td class="md" valign="top">( </td> |
---|
163 | <td class="md" nowrap valign="top">void </td> |
---|
164 | <td class="mdname1" valign="top" nowrap> </td> |
---|
165 | <td class="md" valign="top"> ) </td> |
---|
166 | <td class="md" nowrap> const</td> |
---|
167 | </tr> |
---|
168 | |
---|
169 | </table> |
---|
170 | </td> |
---|
171 | </tr> |
---|
172 | </table> |
---|
173 | <table cellspacing=5 cellpadding=0 border=0> |
---|
174 | <tr> |
---|
175 | <td> |
---|
176 | |
---|
177 | </td> |
---|
178 | <td> |
---|
179 | |
---|
180 | <p> |
---|
181 | Gets the vertex buffer containing positions for this keyframe. |
---|
182 | <p> |
---|
183 | </td> |
---|
184 | </tr> |
---|
185 | </table> |
---|
186 | <a class="anchor" name="Ogre_1_1VertexMorphKeyFramea2" doxytag="Ogre::VertexMorphKeyFrame::setVertexBuffer" ></a><p> |
---|
187 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
188 | <tr> |
---|
189 | <td class="mdRow"> |
---|
190 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
191 | <tr> |
---|
192 | <td class="md" nowrap valign="top"> void Ogre::VertexMorphKeyFrame::setVertexBuffer </td> |
---|
193 | <td class="md" valign="top">( </td> |
---|
194 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a> & </td> |
---|
195 | <td class="mdname1" valign="top" nowrap> <em>buf</em> </td> |
---|
196 | <td class="md" valign="top"> ) </td> |
---|
197 | <td class="md" nowrap></td> |
---|
198 | </tr> |
---|
199 | |
---|
200 | </table> |
---|
201 | </td> |
---|
202 | </tr> |
---|
203 | </table> |
---|
204 | <table cellspacing=5 cellpadding=0 border=0> |
---|
205 | <tr> |
---|
206 | <td> |
---|
207 | |
---|
208 | </td> |
---|
209 | <td> |
---|
210 | |
---|
211 | <p> |
---|
212 | Sets the vertex buffer containing the source positions for this keyframe. |
---|
213 | <p> |
---|
214 | <dl compact><dt><b>Remarks:</b></dt><dd>We assume that positions are the first 3 float elements in this buffer, although we don't necessarily assume they're the only ones in there. </dd></dl> |
---|
215 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
216 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
217 | <tr><td valign=top><em>buf</em> </td><td>Vertex buffer link; will not be modified so can be shared read-only data</td></tr> |
---|
218 | </table> |
---|
219 | </dl> |
---|
220 | </td> |
---|
221 | </tr> |
---|
222 | </table> |
---|
223 | <hr><h2>Member Data Documentation</h2> |
---|
224 | <a class="anchor" name="Ogre_1_1VertexMorphKeyFramep0" doxytag="Ogre::VertexMorphKeyFrame::mBuffer" ></a><p> |
---|
225 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
226 | <tr> |
---|
227 | <td class="mdRow"> |
---|
228 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
229 | <tr> |
---|
230 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a> <a class="el" href="classOgre_1_1VertexMorphKeyFrame.html#Ogre_1_1VertexMorphKeyFramep0">Ogre::VertexMorphKeyFrame::mBuffer</a><code> [protected]</code> |
---|
231 | </table> |
---|
232 | </td> |
---|
233 | </tr> |
---|
234 | </table> |
---|
235 | <table cellspacing=5 cellpadding=0 border=0> |
---|
236 | <tr> |
---|
237 | <td> |
---|
238 | |
---|
239 | </td> |
---|
240 | <td> |
---|
241 | |
---|
242 | <p> |
---|
243 | |
---|
244 | <p> |
---|
245 | Definition at line <a class="el" href="OgreKeyFrame_8h-source.html#l00155">155</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>. </td> |
---|
246 | </tr> |
---|
247 | </table> |
---|
248 | <a class="anchor" name="Ogre_1_1VertexPoseKeyFramep2" doxytag="Ogre::VertexMorphKeyFrame::mParentTrack" ></a><p> |
---|
249 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
250 | <tr> |
---|
251 | <td class="mdRow"> |
---|
252 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
253 | <tr> |
---|
254 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1AnimationTrack.html">AnimationTrack</a>* <a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1VertexPoseKeyFramep2">Ogre::KeyFrame::mParentTrack</a><code> [protected, inherited]</code> |
---|
255 | </table> |
---|
256 | </td> |
---|
257 | </tr> |
---|
258 | </table> |
---|
259 | <table cellspacing=5 cellpadding=0 border=0> |
---|
260 | <tr> |
---|
261 | <td> |
---|
262 | |
---|
263 | </td> |
---|
264 | <td> |
---|
265 | |
---|
266 | <p> |
---|
267 | |
---|
268 | <p> |
---|
269 | Definition at line <a class="el" href="OgreKeyFrame_8h-source.html#l00061">61</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>. </td> |
---|
270 | </tr> |
---|
271 | </table> |
---|
272 | <a class="anchor" name="Ogre_1_1VertexPoseKeyFramep1" doxytag="Ogre::VertexMorphKeyFrame::mTime" ></a><p> |
---|
273 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
274 | <tr> |
---|
275 | <td class="mdRow"> |
---|
276 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
277 | <tr> |
---|
278 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1KeyFrame.html#Ogre_1_1VertexPoseKeyFramep1">Ogre::KeyFrame::mTime</a><code> [protected, inherited]</code> |
---|
279 | </table> |
---|
280 | </td> |
---|
281 | </tr> |
---|
282 | </table> |
---|
283 | <table cellspacing=5 cellpadding=0 border=0> |
---|
284 | <tr> |
---|
285 | <td> |
---|
286 | |
---|
287 | </td> |
---|
288 | <td> |
---|
289 | |
---|
290 | <p> |
---|
291 | |
---|
292 | <p> |
---|
293 | Definition at line <a class="el" href="OgreKeyFrame_8h-source.html#l00060">60</a> of file <a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a>. </td> |
---|
294 | </tr> |
---|
295 | </table> |
---|
296 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
297 | <li><a class="el" href="OgreKeyFrame_8h-source.html">OgreKeyFrame.h</a></ul> |
---|
298 | <hr> |
---|
299 | <p> |
---|
300 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
301 | <!--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/> |
---|
302 | 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/> |
---|
303 | <!--/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#"> |
---|
304 | <Work rdf:about=""> |
---|
305 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
306 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
307 | </Work> |
---|
308 | <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> --> |
---|
309 | |
---|
310 | Last modified Sun Mar 12 14:39:29 2006 |
---|
311 | </p> |
---|
312 | </body> |
---|
313 | </html> |
---|