1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nw::gfx::AnimEvaluator</title> 49 </head> 50 <body> 51 <h1><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::AnimEvaluator Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class AnimEvaluator : public <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html">nw::gfx::BaseAnimEvaluator</a></pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Class for evaluating general-purpose animations.</p><p>Stores animation data and evaluates the function curve.</p></div> 59 <a name="class" id="class"> 60 <h2>Classes</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64 <th> 65 <a href="../../../nw/gfx/AnimEvaluator/Builder/Overview.html"><CODE>nw::gfx::AnimEvaluator::Builder</CODE></a> 66 </th> 67 <td>Class for building general-purpose animation evaluators.</td> 68 </tr> </table> 69 </div> 70 </a> <a name="variable" id="variable"> 71 <h2>Member Variables</h2> 72 <div class="section"> 73 <table class="members"> 74 <tr> 75 <td width="100"> 76 <span class="protected_style" title="protected">protected</span> </td> 77 <th> 78 <span class="argument">m_SharedCache</span> 79 </th> 80 <td width="100"><a href="../../../nw/gfx/SharedAnimCache/Overview.html">SharedAnimCache</a> *</td> 81 <td>Pointer to the shared cache</td> 82 </tr> </table> 83 </div> 84 </a> <a name="function" id="function"> 85 <h2>Member Functions</h2> 86 <div class="section"> 87 <table class="members"> 88 <tr> 89 <th class="category" colspan="3">Basic Operations</th> 90 </tr> 91 <tr> 92 <td width="100"> <span class="virtual_style" title="virtual">V</span> 93 </td> 94 <th> 95 <a href="../../../nw/gfx/AnimEvaluator/ChangeAnim.html">ChangeAnim</a> 96 </th> 97 <td>Changes animations.</td> 98 </tr> 99 <tr> 100 <td width="100"> </td> 101 <th> 102 <a href="../../../nw/gfx/AnimEvaluator/ForceBindMaterialAnim.html">ForceBindMaterialAnim</a> 103 </th> 104 <td>Switches material names and binds an animation.</td> 105 </tr> 106 <tr> 107 <td width="100"> <span class="virtual_style" title="virtual">V</span> 108 </td> 109 <th> 110 <a href="../../../nw/gfx/AnimEvaluator/TryBind.html">TryBind</a> 111 </th> 112 <td>Binds animations.</td> 113 </tr> 114 <tr> 115 <td width="100"> <span class="virtual_style" title="virtual">V</span> 116 </td> 117 <th> 118 <a href="../../../nw/gfx/AnimEvaluator/Release.html"><CODE>Release</CODE></a> 119 </th> 120 <td>Clears a bound animation.</td> 121 </tr> 122 <tr> 123 <td width="100"> <span class="virtual_style" title="virtual">V</span> 124 </td> 125 <th> 126 <a href="../../../nw/gfx/AnimEvaluator/UpdateFrame.html"><CODE>UpdateFrame</CODE></a> 127 </th> 128 <td>Updates frames.</td> 129 </tr> 130 <tr> 131 <td width="100"> </td> 132 <th> 133 <a href="../../../nw/gfx/BaseAnimEvaluator/Reset.html">Reset</a> 134 </th> 135 <td>Restores the specified member to its state at time of creation.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 136 </tr> 137 <tr> 138 <td width="100"> </td> 139 <th> 140 <a href="../../../nw/gfx/BaseAnimEvaluator/ResetMember.html">ResetMember</a> 141 </th> 142 <td>Resets the specified member to its state when created.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 143 </tr> 144 <tr> 145 <td width="100"> </td> 146 <th> 147 <a href="../../../nw/gfx/AnimObject/Bind.html"><CODE>Bind</CODE></a> 148 </th> 149 <td>Binds animations.(Inherited from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>AnimObject</CODE></a>.</td> 150 </tr> 151 <tr> 152 <th class="category" colspan="3">Evaluation</th> 153 </tr> 154 <tr> 155 <td width="100"> <span class="virtual_style" title="virtual">V</span> 156 </td> 157 <th> 158 <a href="../../../nw/gfx/AnimEvaluator/GetResult.html"><CODE>GetResult</CODE></a> 159 </th> 160 <td>Gets the animation result for a given member.</td> 161 </tr> 162 <tr> 163 <th class="category" colspan="3">Set/Get</th> 164 </tr> 165 <tr> 166 <td width="100"> <span class="virtual_style" title="virtual">V</span> 167 </td> 168 <th> 169 <a href="../../../nw/gfx/AnimEvaluator/HasMemberAnim.html"><CODE>HasMemberAnim</CODE></a> 170 </th> 171 <td>Gets a value indicating whether there are any animations bound to the member.</td> 172 </tr> 173 <tr> 174 <td width="100"> </td> 175 <th> 176 <a href="../../../nw/gfx/BaseAnimEvaluator/GetUserData.html"><CODE>GetUserData</CODE></a> 177 </th> 178 <td>Gets the user data.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 179 </tr> 180 <tr> 181 <td width="100"> </td> 182 <th> 183 <a href="../../../nw/gfx/BaseAnimEvaluator/SetUserData.html">SetUserData</a> 184 </th> 185 <td>Sets the user data.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 186 </tr> 187 <tr> 188 <td width="100"> </td> 189 <th> 190 <a href="../../../nw/gfx/BaseAnimEvaluator/BindIndexTable.html"><CODE>BindIndexTable</CODE></a> 191 </th> 192 <td>Gets a converstion table for converting from a ResAnimGroupMember index to a ResMemberAnim index.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 193 </tr> 194 <tr> 195 <td width="100"> </td> 196 <th> 197 <a href="../../../nw/gfx/BaseAnimEvaluator/ReverseBindIndexTable.html">ReverseBindIndexTable</a> 198 </th> 199 <td>Gets a converstion table for converting from a ResMemberAnim index to a ResAnimGroupMember index.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 200 </tr> 201 <tr> 202 <td width="100"> </td> 203 <th> 204 <a href="../../../nw/gfx/BaseAnimEvaluator/GetAnimData.html"><CODE>GetAnimData</CODE></a> 205 </th> 206 <td>Gets animation data.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 207 </tr> 208 <tr> 209 <td width="100"> </td> 210 <th> 211 <a href="../../../nw/gfx/AnimObject/GetAnimGroup.html"><CODE>GetAnimGroup</CODE></a> 212 </th> 213 <td>Gets the animation group.(Inherited from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>AnimObject</CODE></a>.</td> 214 </tr> 215 <tr> 216 <td width="100"> </td> 217 <th> 218 <a href="../../../nw/gfx/AnimObject/SetAnimGroup.html"><CODE>SetAnimGroup</CODE></a> 219 </th> 220 <td>Sets the animation group.(Inherited from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>AnimObject</CODE></a>.</td> 221 </tr> 222 <tr> 223 <th class="category" colspan="3">Cache</th> 224 </tr> 225 <tr> 226 <td width="100"> <span class="virtual_style" title="virtual">V</span> 227 </td> 228 <th> 229 <a href="../../../nw/gfx/AnimEvaluator/UpdateCache.html"><CODE>UpdateCache</CODE></a> 230 </th> 231 <td>Updates the internal cache within the animation evaluation results if it is out of date.</td> 232 </tr> 233 <tr> 234 <td width="100"> </td> 235 <th> 236 <a href="../../../nw/gfx/AnimEvaluator/UpdateCacheNonVirtual.html">UpdateCacheNonVirtual</a> 237 </th> 238 <td>:private</td> 239 </tr> 240 <tr> 241 <td width="100"> </td> 242 <th> 243 <a href="../../../nw/gfx/AnimEvaluator/UpdateCacheImpl.html">UpdateCacheImpl</a> 244 </th> 245 <td>:private</td> 246 </tr> 247 <tr> 248 <td width="100"> <span class="virtual_style" title="virtual">V</span> 249 </td> 250 <th> 251 <a href="../../../nw/gfx/AnimEvaluator/GetCacheBufferSizeNeeded.html"><CODE>GetCacheBufferSizeNeeded</CODE></a> 252 </th> 253 <td> 254 </td> 255 </tr> 256 <tr> 257 <td width="100"> <span class="virtual_style" title="virtual">V</span> 258 </td> 259 <th> 260 <a href="../../../nw/gfx/AnimEvaluator/GetCacheBuffer.html"><CODE>GetCacheBuffer</CODE></a> 261 </th> 262 <td>Gets the cache buffer.</td> 263 </tr> 264 <tr> 265 <td width="100"> <span class="virtual_style" title="virtual">V</span> 266 </td> 267 <th> 268 <a href="../../../nw/gfx/AnimEvaluator/SetCacheBuffer.html"><CODE>SetCacheBuffer</CODE></a> 269 </th> 270 <td>Sets the cache buffer. The cache buffer specified by this function will not be freed by the destructor.</td> 271 </tr> 272 <tr> 273 <td width="100"> </td> 274 <th> 275 <a href="../../../nw/gfx/AnimEvaluator/SetSharedCacheBuffer.html">SetSharedCacheBuffer</a> 276 </th> 277 <td>Sets so that a cache that can be shared with other AnimEvaluators is used.</td> 278 </tr> 279 <tr> 280 <th class="category" colspan="3">Frame Control</th> 281 </tr> 282 <tr> 283 <td width="100"> </td> 284 <th> 285 <a href="../../../nw/gfx/BaseAnimEvaluator/GetFrame.html">GetFrame</a> 286 </th> 287 <td>Gets a frame.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 288 </tr> 289 <tr> 290 <td width="100"> </td> 291 <th> 292 <a href="../../../nw/gfx/BaseAnimEvaluator/SetFrame.html">SetFrame</a> 293 </th> 294 <td>Sets a frame.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 295 </tr> 296 <tr> 297 <td width="100"> </td> 298 <th> 299 <a href="../../../nw/gfx/BaseAnimEvaluator/ResetFrame.html"><CODE>ResetFrame</CODE></a> 300 </th> 301 <td>Resets the frame.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 302 </tr> 303 <tr> 304 <td width="100"> </td> 305 <th> 306 <a href="../../../nw/gfx/BaseAnimEvaluator/GetStepFrame.html"><CODE>GetStepFrame</CODE></a> 307 </th> 308 <td>Gets the frame step (the amount of increase per frame).(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 309 </tr> 310 <tr> 311 <td width="100"> </td> 312 <th> 313 <a href="../../../nw/gfx/BaseAnimEvaluator/SetStepFrame.html"><CODE>SetStepFrame</CODE></a> 314 </th> 315 <td>Sets the frame's step.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 316 </tr> 317 <tr> 318 <td width="100"> </td> 319 <th> 320 <a href="../../../nw/gfx/BaseAnimEvaluator/GetStartFrame.html">GetStartFrame</a> 321 </th> 322 <td>Gets the starting frame.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 323 </tr> 324 <tr> 325 <td width="100"> </td> 326 <th> 327 <a href="../../../nw/gfx/BaseAnimEvaluator/SetStartFrame.html">SetStartFrame</a> 328 </th> 329 <td>Sets the start frame.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 330 </tr> 331 <tr> 332 <td width="100"> </td> 333 <th> 334 <a href="../../../nw/gfx/BaseAnimEvaluator/GetEndFrame.html">GetEndFrame</a> 335 </th> 336 <td>Gets the end frame.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 337 </tr> 338 <tr> 339 <td width="100"> </td> 340 <th> 341 <a href="../../../nw/gfx/BaseAnimEvaluator/SetEndFrame.html">SetEndFrame</a> 342 </th> 343 <td>Sets the end frame.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 344 </tr> 345 <tr> 346 <td width="100"> </td> 347 <th> 348 <a href="../../../nw/gfx/BaseAnimEvaluator/GetPlayPolicy.html">GetPlayPolicy</a> 349 </th> 350 <td>Gets the animation playback method.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 351 </tr> 352 <tr> 353 <td width="100"> </td> 354 <th> 355 <a href="../../../nw/gfx/BaseAnimEvaluator/SetPlayPolicy.html">SetPlayPolicy</a> 356 </th> 357 <td>Sets the animation playback method.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 358 </tr> 359 <tr> 360 <td width="100"> </td> 361 <th> 362 <a href="../../../nw/gfx/BaseAnimEvaluator/AnimFrameController.html"><CODE>AnimFrameController</CODE></a> 363 </th> 364 <td>Gets the animation frame control information.(Inherited from <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html"><CODE>BaseAnimEvaluator</CODE></a>.</td> 365 </tr> 366 <tr> 367 <th class="category" colspan="3">Create/Destroy</th> 368 </tr> 369 <tr> 370 <td width="100"> </td> 371 <th> 372 <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a> 373 </th> 374 <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.)</td> 375 </tr> </table> 376 </div> 377 </a> 378 <h2>Class Hierarchy</h2> 379 <div class="section"> 380 <p class="hierarchy"><a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a><br /> <a href="../../../nw/gfx/AnimObject/Overview.html">nw::gfx::AnimObject</a><br /> <a href="../../../nw/gfx/BaseAnimEvaluator/Overview.html">nw::gfx::BaseAnimEvaluator</a><br /> <b>nw::gfx::AnimEvaluator</b> 381 </p> 382 </div> 383 <hr><p>CONFIDENTIAL</p></body> 384</html> 385