1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::Pose 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::Pose Class Reference</h1>A pose is a linked set of vertex offsets applying to one set of vertex data. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1Pose-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map< size_t,<br> |
---|
19 | <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a></td></tr> |
---|
20 | |
---|
21 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A collection of vertex offsets based on the vertex index. <a href="#Ogre_1_1Posew0"></a><br><br></td></tr> |
---|
22 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>< <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew1">VertexOffsetIterator</a></td></tr> |
---|
23 | |
---|
24 | <tr><td class="mdescLeft"> </td><td class="mdescRight">An iterator over the vertex offsets. <a href="#Ogre_1_1Posew1"></a><br><br></td></tr> |
---|
25 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1ConstMapIterator.html">ConstMapIterator</a><<br> |
---|
26 | <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew2">ConstVertexOffsetIterator</a></td></tr> |
---|
27 | |
---|
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">An iterator over the vertex offsets. <a href="#Ogre_1_1Posew2"></a><br><br></td></tr> |
---|
29 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
30 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea0">Pose</a> (<a class="el" href="namespaceOgre.html#a467">ushort</a> target, const <a class="el" href="namespaceOgre.html#a471">String</a> &name=<a class="el" href="classOgre_1_1StringUtil.html#Ogre_1_1StringUtils0">StringUtil::BLANK</a>)</td></tr> |
---|
31 | |
---|
32 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#Ogre_1_1Posea0"></a><br><br></td></tr> |
---|
33 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea1">~Pose</a> ()</td></tr> |
---|
34 | |
---|
35 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea2">getName</a> (void) const </td></tr> |
---|
36 | |
---|
37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of the pose (may be blank). <a href="#Ogre_1_1Posea2"></a><br><br></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a467">ushort</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea3">getTarget</a> (void) const </td></tr> |
---|
39 | |
---|
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the target geometry index of the pose. <a href="#Ogre_1_1Posea3"></a><br><br></td></tr> |
---|
41 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea4">addVertex</a> (size_t index, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &offset)</td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds an offset to a vertex for this pose. <a href="#Ogre_1_1Posea4"></a><br><br></td></tr> |
---|
44 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea5">removeVertex</a> (size_t index)</td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a vertex offset. <a href="#Ogre_1_1Posea5"></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_1Pose.html#Ogre_1_1Posea6">clearVertexOffsets</a> (void)</td></tr> |
---|
48 | |
---|
49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Clear all vertex offsets. <a href="#Ogre_1_1Posea6"></a><br><br></td></tr> |
---|
50 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ConstMapIterator.html">ConstVertexOffsetIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea7">getVertexOffsetIterator</a> (void) const </td></tr> |
---|
51 | |
---|
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator over all the vertex offsets. <a href="#Ogre_1_1Posea7"></a><br><br></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MapIterator.html">VertexOffsetIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea8">getVertexOffsetIterator</a> (void)</td></tr> |
---|
54 | |
---|
55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets an iterator over all the vertex offsets. <a href="#Ogre_1_1Posea8"></a><br><br></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posea9">getVertexOffsets</a> (void) const </td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a const reference to the vertex offsets. <a href="#Ogre_1_1Posea9"></a><br><br></td></tr> |
---|
59 | <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_1Pose.html#Ogre_1_1Posea10">_getHardwareVertexBuffer</a> (size_t numVertices) const </td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a hardware vertex buffer version of the vertex offsets. <a href="#Ogre_1_1Posea10"></a><br><br></td></tr> |
---|
62 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a467">ushort</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posep0">mTarget</a></td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Target geometry index. <a href="#Ogre_1_1Posep0"></a><br><br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posep1">mName</a></td></tr> |
---|
67 | |
---|
68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Optional name. <a href="#Ogre_1_1Posep1"></a><br><br></td></tr> |
---|
69 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posep2">mVertexOffsetMap</a></td></tr> |
---|
70 | |
---|
71 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Primary storage, sparse vertex use. <a href="#Ogre_1_1Posep2"></a><br><br></td></tr> |
---|
72 | <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_1Pose.html#Ogre_1_1Posep3">mBuffer</a></td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Derived hardware buffer, covers all vertices. <a href="#Ogre_1_1Posep3"></a><br><br></td></tr> |
---|
75 | </table> |
---|
76 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
77 | A pose is a linked set of vertex offsets applying to one set of vertex data. |
---|
78 | <p> |
---|
79 | <dl compact><dt><b>Remarks:</b></dt><dd>The target index referred to by the pose has a meaning set by the user of this class; but for example when used by <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> it refers to either the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> shared geometry (0) or a <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> dedicated geometry (1+). <a class="el" href="classOgre_1_1Pose.html">Pose</a> instances can be referred to by keyframes in <a class="el" href="classOgre_1_1VertexAnimationTrack.html">VertexAnimationTrack</a> in order to animate based on blending poses together.</dd></dl> |
---|
80 | |
---|
81 | <p> |
---|
82 | |
---|
83 | <p> |
---|
84 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00045">45</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
85 | <a class="anchor" name="Ogre_1_1Posew2" doxytag="Ogre::Pose::ConstVertexOffsetIterator" ></a><p> |
---|
86 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
87 | <tr> |
---|
88 | <td class="mdRow"> |
---|
89 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
90 | <tr> |
---|
91 | <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1ConstMapIterator.html">ConstMapIterator</a><<a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a>> <a class="el" href="classOgre_1_1ConstMapIterator.html">Ogre::Pose::ConstVertexOffsetIterator</a> |
---|
92 | </table> |
---|
93 | </td> |
---|
94 | </tr> |
---|
95 | </table> |
---|
96 | <table cellspacing=5 cellpadding=0 border=0> |
---|
97 | <tr> |
---|
98 | <td> |
---|
99 | |
---|
100 | </td> |
---|
101 | <td> |
---|
102 | |
---|
103 | <p> |
---|
104 | An iterator over the vertex offsets. |
---|
105 | <p> |
---|
106 | |
---|
107 | <p> |
---|
108 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00064">64</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. </td> |
---|
109 | </tr> |
---|
110 | </table> |
---|
111 | <a class="anchor" name="Ogre_1_1Posew1" doxytag="Ogre::Pose::VertexOffsetIterator" ></a><p> |
---|
112 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
113 | <tr> |
---|
114 | <td class="mdRow"> |
---|
115 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
116 | <tr> |
---|
117 | <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a><<a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a>> <a class="el" href="classOgre_1_1MapIterator.html">Ogre::Pose::VertexOffsetIterator</a> |
---|
118 | </table> |
---|
119 | </td> |
---|
120 | </tr> |
---|
121 | </table> |
---|
122 | <table cellspacing=5 cellpadding=0 border=0> |
---|
123 | <tr> |
---|
124 | <td> |
---|
125 | |
---|
126 | </td> |
---|
127 | <td> |
---|
128 | |
---|
129 | <p> |
---|
130 | An iterator over the vertex offsets. |
---|
131 | <p> |
---|
132 | |
---|
133 | <p> |
---|
134 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00062">62</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. </td> |
---|
135 | </tr> |
---|
136 | </table> |
---|
137 | <a class="anchor" name="Ogre_1_1Posew0" doxytag="Ogre::Pose::VertexOffsetMap" ></a><p> |
---|
138 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
139 | <tr> |
---|
140 | <td class="mdRow"> |
---|
141 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
142 | <tr> |
---|
143 | <td class="md" nowrap valign="top"> typedef std::map<size_t, <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>> <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">Ogre::Pose::VertexOffsetMap</a> |
---|
144 | </table> |
---|
145 | </td> |
---|
146 | </tr> |
---|
147 | </table> |
---|
148 | <table cellspacing=5 cellpadding=0 border=0> |
---|
149 | <tr> |
---|
150 | <td> |
---|
151 | |
---|
152 | </td> |
---|
153 | <td> |
---|
154 | |
---|
155 | <p> |
---|
156 | A collection of vertex offsets based on the vertex index. |
---|
157 | <p> |
---|
158 | |
---|
159 | <p> |
---|
160 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00060">60</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. |
---|
161 | <p> |
---|
162 | Referenced by <a class="el" href="OgrePose_8h-source.html#l00083">getVertexOffsets()</a>. </td> |
---|
163 | </tr> |
---|
164 | </table> |
---|
165 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
166 | <a class="anchor" name="Ogre_1_1Posea0" doxytag="Ogre::Pose::Pose" ></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::Pose::Pose </td> |
---|
173 | <td class="md" valign="top">( </td> |
---|
174 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a467">ushort</a> </td> |
---|
175 | <td class="mdname" nowrap> <em>target</em>, </td> |
---|
176 | </tr> |
---|
177 | <tr> |
---|
178 | <td class="md" nowrap align="right"></td> |
---|
179 | <td></td> |
---|
180 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
181 | <td class="mdname" nowrap> <em>name</em> = <a class="el" href="classOgre_1_1StringUtil.html#Ogre_1_1StringUtils0">StringUtil::BLANK</a></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 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
204 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
205 | <tr><td valign=top><em>target</em> </td><td>The target vertexdata index (0 for shared, 1+ for dedicated at the submesh index + 1) </td></tr> |
---|
206 | <tr><td valign=top><em>name</em> </td><td>Optional name</td></tr> |
---|
207 | </table> |
---|
208 | </dl> |
---|
209 | </td> |
---|
210 | </tr> |
---|
211 | </table> |
---|
212 | <a class="anchor" name="Ogre_1_1Posea1" doxytag="Ogre::Pose::~Pose" ></a><p> |
---|
213 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
214 | <tr> |
---|
215 | <td class="mdRow"> |
---|
216 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
217 | <tr> |
---|
218 | <td class="md" nowrap valign="top"> virtual Ogre::Pose::~<a class="el" href="classOgre_1_1Pose.html">Pose</a> </td> |
---|
219 | <td class="md" valign="top">( </td> |
---|
220 | <td class="mdname1" valign="top" nowrap> </td> |
---|
221 | <td class="md" valign="top"> ) </td> |
---|
222 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
223 | </tr> |
---|
224 | |
---|
225 | </table> |
---|
226 | </td> |
---|
227 | </tr> |
---|
228 | </table> |
---|
229 | <table cellspacing=5 cellpadding=0 border=0> |
---|
230 | <tr> |
---|
231 | <td> |
---|
232 | |
---|
233 | </td> |
---|
234 | <td> |
---|
235 | |
---|
236 | <p> |
---|
237 | </td> |
---|
238 | </tr> |
---|
239 | </table> |
---|
240 | <hr><h2>Member Function Documentation</h2> |
---|
241 | <a class="anchor" name="Ogre_1_1Posea10" doxytag="Ogre::Pose::_getHardwareVertexBuffer" ></a><p> |
---|
242 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
243 | <tr> |
---|
244 | <td class="mdRow"> |
---|
245 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
246 | <tr> |
---|
247 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a>& Ogre::Pose::_getHardwareVertexBuffer </td> |
---|
248 | <td class="md" valign="top">( </td> |
---|
249 | <td class="md" nowrap valign="top">size_t </td> |
---|
250 | <td class="mdname1" valign="top" nowrap> <em>numVertices</em> </td> |
---|
251 | <td class="md" valign="top"> ) </td> |
---|
252 | <td class="md" nowrap> const</td> |
---|
253 | </tr> |
---|
254 | |
---|
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 | Get a hardware vertex buffer version of the vertex offsets. |
---|
268 | <p> |
---|
269 | </td> |
---|
270 | </tr> |
---|
271 | </table> |
---|
272 | <a class="anchor" name="Ogre_1_1Posea4" doxytag="Ogre::Pose::addVertex" ></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"> void Ogre::Pose::addVertex </td> |
---|
279 | <td class="md" valign="top">( </td> |
---|
280 | <td class="md" nowrap valign="top">size_t </td> |
---|
281 | <td class="mdname" nowrap> <em>index</em>, </td> |
---|
282 | </tr> |
---|
283 | <tr> |
---|
284 | <td class="md" nowrap align="right"></td> |
---|
285 | <td></td> |
---|
286 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
287 | <td class="mdname" nowrap> <em>offset</em></td> |
---|
288 | </tr> |
---|
289 | <tr> |
---|
290 | <td></td> |
---|
291 | <td class="md">) </td> |
---|
292 | <td class="md" colspan="2"></td> |
---|
293 | </tr> |
---|
294 | |
---|
295 | </table> |
---|
296 | </td> |
---|
297 | </tr> |
---|
298 | </table> |
---|
299 | <table cellspacing=5 cellpadding=0 border=0> |
---|
300 | <tr> |
---|
301 | <td> |
---|
302 | |
---|
303 | </td> |
---|
304 | <td> |
---|
305 | |
---|
306 | <p> |
---|
307 | Adds an offset to a vertex for this pose. |
---|
308 | <p> |
---|
309 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
310 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
311 | <tr><td valign=top><em>index</em> </td><td>The vertex index </td></tr> |
---|
312 | <tr><td valign=top><em>offset</em> </td><td>The position offset for this pose</td></tr> |
---|
313 | </table> |
---|
314 | </dl> |
---|
315 | </td> |
---|
316 | </tr> |
---|
317 | </table> |
---|
318 | <a class="anchor" name="Ogre_1_1Posea6" doxytag="Ogre::Pose::clearVertexOffsets" ></a><p> |
---|
319 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
320 | <tr> |
---|
321 | <td class="mdRow"> |
---|
322 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
323 | <tr> |
---|
324 | <td class="md" nowrap valign="top"> void Ogre::Pose::clearVertexOffsets </td> |
---|
325 | <td class="md" valign="top">( </td> |
---|
326 | <td class="md" nowrap valign="top">void </td> |
---|
327 | <td class="mdname1" valign="top" nowrap> </td> |
---|
328 | <td class="md" valign="top"> ) </td> |
---|
329 | <td class="md" nowrap></td> |
---|
330 | </tr> |
---|
331 | |
---|
332 | </table> |
---|
333 | </td> |
---|
334 | </tr> |
---|
335 | </table> |
---|
336 | <table cellspacing=5 cellpadding=0 border=0> |
---|
337 | <tr> |
---|
338 | <td> |
---|
339 | |
---|
340 | </td> |
---|
341 | <td> |
---|
342 | |
---|
343 | <p> |
---|
344 | Clear all vertex offsets. |
---|
345 | <p> |
---|
346 | </td> |
---|
347 | </tr> |
---|
348 | </table> |
---|
349 | <a class="anchor" name="Ogre_1_1Posea2" doxytag="Ogre::Pose::getName" ></a><p> |
---|
350 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
351 | <tr> |
---|
352 | <td class="mdRow"> |
---|
353 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
354 | <tr> |
---|
355 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>& Ogre::Pose::getName </td> |
---|
356 | <td class="md" valign="top">( </td> |
---|
357 | <td class="md" nowrap valign="top">void </td> |
---|
358 | <td class="mdname1" valign="top" nowrap> </td> |
---|
359 | <td class="md" valign="top"> ) </td> |
---|
360 | <td class="md" nowrap> const</td> |
---|
361 | </tr> |
---|
362 | |
---|
363 | </table> |
---|
364 | </td> |
---|
365 | </tr> |
---|
366 | </table> |
---|
367 | <table cellspacing=5 cellpadding=0 border=0> |
---|
368 | <tr> |
---|
369 | <td> |
---|
370 | |
---|
371 | </td> |
---|
372 | <td> |
---|
373 | |
---|
374 | <p> |
---|
375 | Return the name of the pose (may be blank). |
---|
376 | <p> |
---|
377 | |
---|
378 | <p> |
---|
379 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00056">56</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. |
---|
380 | <p> |
---|
381 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>. </td> |
---|
382 | </tr> |
---|
383 | </table> |
---|
384 | <a class="anchor" name="Ogre_1_1Posea3" doxytag="Ogre::Pose::getTarget" ></a><p> |
---|
385 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
386 | <tr> |
---|
387 | <td class="mdRow"> |
---|
388 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
389 | <tr> |
---|
390 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a467">ushort</a> Ogre::Pose::getTarget </td> |
---|
391 | <td class="md" valign="top">( </td> |
---|
392 | <td class="md" nowrap valign="top">void </td> |
---|
393 | <td class="mdname1" valign="top" nowrap> </td> |
---|
394 | <td class="md" valign="top"> ) </td> |
---|
395 | <td class="md" nowrap> const</td> |
---|
396 | </tr> |
---|
397 | |
---|
398 | </table> |
---|
399 | </td> |
---|
400 | </tr> |
---|
401 | </table> |
---|
402 | <table cellspacing=5 cellpadding=0 border=0> |
---|
403 | <tr> |
---|
404 | <td> |
---|
405 | |
---|
406 | </td> |
---|
407 | <td> |
---|
408 | |
---|
409 | <p> |
---|
410 | Return the target geometry index of the pose. |
---|
411 | <p> |
---|
412 | |
---|
413 | <p> |
---|
414 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00058">58</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. |
---|
415 | <p> |
---|
416 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00142">Ogre::ushort</a>. </td> |
---|
417 | </tr> |
---|
418 | </table> |
---|
419 | <a class="anchor" name="Ogre_1_1Posea8" doxytag="Ogre::Pose::getVertexOffsetIterator" ></a><p> |
---|
420 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
421 | <tr> |
---|
422 | <td class="mdRow"> |
---|
423 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
424 | <tr> |
---|
425 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MapIterator.html">VertexOffsetIterator</a> Ogre::Pose::getVertexOffsetIterator </td> |
---|
426 | <td class="md" valign="top">( </td> |
---|
427 | <td class="md" nowrap valign="top">void </td> |
---|
428 | <td class="mdname1" valign="top" nowrap> </td> |
---|
429 | <td class="md" valign="top"> ) </td> |
---|
430 | <td class="md" nowrap></td> |
---|
431 | </tr> |
---|
432 | |
---|
433 | </table> |
---|
434 | </td> |
---|
435 | </tr> |
---|
436 | </table> |
---|
437 | <table cellspacing=5 cellpadding=0 border=0> |
---|
438 | <tr> |
---|
439 | <td> |
---|
440 | |
---|
441 | </td> |
---|
442 | <td> |
---|
443 | |
---|
444 | <p> |
---|
445 | Gets an iterator over all the vertex offsets. |
---|
446 | <p> |
---|
447 | </td> |
---|
448 | </tr> |
---|
449 | </table> |
---|
450 | <a class="anchor" name="Ogre_1_1Posea7" doxytag="Ogre::Pose::getVertexOffsetIterator" ></a><p> |
---|
451 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
452 | <tr> |
---|
453 | <td class="mdRow"> |
---|
454 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
455 | <tr> |
---|
456 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ConstMapIterator.html">ConstVertexOffsetIterator</a> Ogre::Pose::getVertexOffsetIterator </td> |
---|
457 | <td class="md" valign="top">( </td> |
---|
458 | <td class="md" nowrap valign="top">void </td> |
---|
459 | <td class="mdname1" valign="top" nowrap> </td> |
---|
460 | <td class="md" valign="top"> ) </td> |
---|
461 | <td class="md" nowrap> const</td> |
---|
462 | </tr> |
---|
463 | |
---|
464 | </table> |
---|
465 | </td> |
---|
466 | </tr> |
---|
467 | </table> |
---|
468 | <table cellspacing=5 cellpadding=0 border=0> |
---|
469 | <tr> |
---|
470 | <td> |
---|
471 | |
---|
472 | </td> |
---|
473 | <td> |
---|
474 | |
---|
475 | <p> |
---|
476 | Gets an iterator over all the vertex offsets. |
---|
477 | <p> |
---|
478 | </td> |
---|
479 | </tr> |
---|
480 | </table> |
---|
481 | <a class="anchor" name="Ogre_1_1Posea9" doxytag="Ogre::Pose::getVertexOffsets" ></a><p> |
---|
482 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
483 | <tr> |
---|
484 | <td class="mdRow"> |
---|
485 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
486 | <tr> |
---|
487 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a>& Ogre::Pose::getVertexOffsets </td> |
---|
488 | <td class="md" valign="top">( </td> |
---|
489 | <td class="md" nowrap valign="top">void </td> |
---|
490 | <td class="mdname1" valign="top" nowrap> </td> |
---|
491 | <td class="md" valign="top"> ) </td> |
---|
492 | <td class="md" nowrap> const</td> |
---|
493 | </tr> |
---|
494 | |
---|
495 | </table> |
---|
496 | </td> |
---|
497 | </tr> |
---|
498 | </table> |
---|
499 | <table cellspacing=5 cellpadding=0 border=0> |
---|
500 | <tr> |
---|
501 | <td> |
---|
502 | |
---|
503 | </td> |
---|
504 | <td> |
---|
505 | |
---|
506 | <p> |
---|
507 | Gets a const reference to the vertex offsets. |
---|
508 | <p> |
---|
509 | |
---|
510 | <p> |
---|
511 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00083">83</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. |
---|
512 | <p> |
---|
513 | References <a class="el" href="OgrePose_8h-source.html#l00060">VertexOffsetMap</a>. </td> |
---|
514 | </tr> |
---|
515 | </table> |
---|
516 | <a class="anchor" name="Ogre_1_1Posea5" doxytag="Ogre::Pose::removeVertex" ></a><p> |
---|
517 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
518 | <tr> |
---|
519 | <td class="mdRow"> |
---|
520 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
521 | <tr> |
---|
522 | <td class="md" nowrap valign="top"> void Ogre::Pose::removeVertex </td> |
---|
523 | <td class="md" valign="top">( </td> |
---|
524 | <td class="md" nowrap valign="top">size_t </td> |
---|
525 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
526 | <td class="md" valign="top"> ) </td> |
---|
527 | <td class="md" nowrap></td> |
---|
528 | </tr> |
---|
529 | |
---|
530 | </table> |
---|
531 | </td> |
---|
532 | </tr> |
---|
533 | </table> |
---|
534 | <table cellspacing=5 cellpadding=0 border=0> |
---|
535 | <tr> |
---|
536 | <td> |
---|
537 | |
---|
538 | </td> |
---|
539 | <td> |
---|
540 | |
---|
541 | <p> |
---|
542 | Remove a vertex offset. |
---|
543 | <p> |
---|
544 | </td> |
---|
545 | </tr> |
---|
546 | </table> |
---|
547 | <hr><h2>Member Data Documentation</h2> |
---|
548 | <a class="anchor" name="Ogre_1_1Posep3" doxytag="Ogre::Pose::mBuffer" ></a><p> |
---|
549 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
550 | <tr> |
---|
551 | <td class="mdRow"> |
---|
552 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
553 | <tr> |
---|
554 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1HardwareVertexBufferSharedPtr.html">HardwareVertexBufferSharedPtr</a> <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posep3">Ogre::Pose::mBuffer</a><code> [mutable, protected]</code> |
---|
555 | </table> |
---|
556 | </td> |
---|
557 | </tr> |
---|
558 | </table> |
---|
559 | <table cellspacing=5 cellpadding=0 border=0> |
---|
560 | <tr> |
---|
561 | <td> |
---|
562 | |
---|
563 | </td> |
---|
564 | <td> |
---|
565 | |
---|
566 | <p> |
---|
567 | Derived hardware buffer, covers all vertices. |
---|
568 | <p> |
---|
569 | |
---|
570 | <p> |
---|
571 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00095">95</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. </td> |
---|
572 | </tr> |
---|
573 | </table> |
---|
574 | <a class="anchor" name="Ogre_1_1Posep1" doxytag="Ogre::Pose::mName" ></a><p> |
---|
575 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
576 | <tr> |
---|
577 | <td class="mdRow"> |
---|
578 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
579 | <tr> |
---|
580 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posep1">Ogre::Pose::mName</a><code> [protected]</code> |
---|
581 | </table> |
---|
582 | </td> |
---|
583 | </tr> |
---|
584 | </table> |
---|
585 | <table cellspacing=5 cellpadding=0 border=0> |
---|
586 | <tr> |
---|
587 | <td> |
---|
588 | |
---|
589 | </td> |
---|
590 | <td> |
---|
591 | |
---|
592 | <p> |
---|
593 | Optional name. |
---|
594 | <p> |
---|
595 | |
---|
596 | <p> |
---|
597 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00091">91</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. </td> |
---|
598 | </tr> |
---|
599 | </table> |
---|
600 | <a class="anchor" name="Ogre_1_1Posep0" doxytag="Ogre::Pose::mTarget" ></a><p> |
---|
601 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
602 | <tr> |
---|
603 | <td class="mdRow"> |
---|
604 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
605 | <tr> |
---|
606 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a467">ushort</a> <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posep0">Ogre::Pose::mTarget</a><code> [protected]</code> |
---|
607 | </table> |
---|
608 | </td> |
---|
609 | </tr> |
---|
610 | </table> |
---|
611 | <table cellspacing=5 cellpadding=0 border=0> |
---|
612 | <tr> |
---|
613 | <td> |
---|
614 | |
---|
615 | </td> |
---|
616 | <td> |
---|
617 | |
---|
618 | <p> |
---|
619 | Target geometry index. |
---|
620 | <p> |
---|
621 | |
---|
622 | <p> |
---|
623 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00089">89</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. </td> |
---|
624 | </tr> |
---|
625 | </table> |
---|
626 | <a class="anchor" name="Ogre_1_1Posep2" doxytag="Ogre::Pose::mVertexOffsetMap" ></a><p> |
---|
627 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
628 | <tr> |
---|
629 | <td class="mdRow"> |
---|
630 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
631 | <tr> |
---|
632 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posew0">VertexOffsetMap</a> <a class="el" href="classOgre_1_1Pose.html#Ogre_1_1Posep2">Ogre::Pose::mVertexOffsetMap</a><code> [protected]</code> |
---|
633 | </table> |
---|
634 | </td> |
---|
635 | </tr> |
---|
636 | </table> |
---|
637 | <table cellspacing=5 cellpadding=0 border=0> |
---|
638 | <tr> |
---|
639 | <td> |
---|
640 | |
---|
641 | </td> |
---|
642 | <td> |
---|
643 | |
---|
644 | <p> |
---|
645 | Primary storage, sparse vertex use. |
---|
646 | <p> |
---|
647 | |
---|
648 | <p> |
---|
649 | Definition at line <a class="el" href="OgrePose_8h-source.html#l00093">93</a> of file <a class="el" href="OgrePose_8h-source.html">OgrePose.h</a>. </td> |
---|
650 | </tr> |
---|
651 | </table> |
---|
652 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
653 | <li><a class="el" href="OgrePose_8h-source.html">OgrePose.h</a></ul> |
---|
654 | <hr> |
---|
655 | <p> |
---|
656 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
657 | <!--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/> |
---|
658 | 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/> |
---|
659 | <!--/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#"> |
---|
660 | <Work rdf:about=""> |
---|
661 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
662 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
663 | </Work> |
---|
664 | <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> --> |
---|
665 | |
---|
666 | Last modified Sun Mar 12 14:41:42 2006 |
---|
667 | </p> |
---|
668 | </body> |
---|
669 | </html> |
---|