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::res::ResModel</title> 49 </head> 50 <body> 51 <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/res/Overview.html">res</a>::ResModel</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class ResModel : public <a href="../../../../nw/gfx/res/ResTransformNode/Overview.html">nw::gfx::res::ResTransformNode</a></pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Binary resource class that represents models.</p> 59 </div> 60 <a name="enum" id="enum"> 61 <h2>Enumerated Types</h2> 62 <div class="section"> 63 <table class="members"> 64 <tr> 65 <td width="100"> </td> 66 <th> 67 <a href="../../../../nw/gfx/res/ResTransformNode/Flag.html"><CODE>Flag</CODE></a> 68 </th> 69 <td> 70 (Derived from <a href="../../../../nw/gfx/res/ResTransformNode/Overview.html"><CODE>ResTransformNode</CODE></a>.)</td> 71 </tr> </table> 72 </div> 73 </a> <a name="function" id="function"> 74 <h2>Member Functions</h2> 75 <div class="section"> 76 <table class="members"> 77 <tr> 78 <td width="100"> </td> 79 <th> 80 <a href="../../../../nw/gfx/res/ResModel/ResModel.html">ResModel</a> 81 </th> 82 <td>Constructor.</td> 83 </tr> 84 <tr> 85 <td width="100"> </td> 86 <th> 87 <a href="../../../../nw/gfx/res/ResModel/ptr.html">ptr</a> 88 </th> 89 <td>Gets a pointer to actual data.</td> 90 </tr> 91 <tr> 92 <td width="100"> </td> 93 <th> 94 <a href="../../../../nw/gfx/res/ResModel/ref.html"><CODE>ref</CODE></a> 95 </th> 96 <td>Gets the reference to the actual data.</td> 97 </tr> 98 <tr> 99 <td width="100"> </td> 100 <th> 101 <a href="../../../../nw/gfx/res/ResModel/operator==.html"><CODE>operator==</CODE></a> 102 </th> 103 <td> 104 </td> 105 </tr> 106 <tr> 107 <td width="100"> </td> 108 <th> 109 <a href="../../../../nw/gfx/res/ResModel/operator!=.html"><CODE>operator!=</CODE></a> 110 </th> 111 <td> 112 </td> 113 </tr> 114 <tr> 115 <td width="100"> </td> 116 <th> 117 <a href="../../../../nw/gfx/res/ResModel/GetMeshesCount.html">GetMeshesCount</a> 118 </th> 119 <td>Gets the number of meshes.</td> 120 </tr> 121 <tr> 122 <td width="100"> </td> 123 <th> 124 <a href="../../../../nw/gfx/res/ResModel/GetMeshes.html">GetMeshes</a> 125 </th> 126 <td>Gets a mesh.</td> 127 </tr> 128 <tr> 129 <td width="100"> </td> 130 <th> 131 <a href="../../../../nw/gfx/res/ResModel/GetMaterialsCount.html">GetMaterialsCount</a> 132 </th> 133 <td>Gets the number of materials</td> 134 </tr> 135 <tr> 136 <td width="100"> </td> 137 <th> 138 <a href="../../../../nw/gfx/res/ResModel/GetMaterials.html"><CODE>GetMaterials</CODE></a> 139 </th> 140 <td>Gets the material.</td> 141 </tr> 142 <tr> 143 <td width="100"> </td> 144 <th> 145 <a href="../../../../nw/gfx/res/ResModel/GetMaterialsIndex.html">GetMaterialsIndex</a> 146 </th> 147 <td>Gets the index number of the material in the dictionary.</td> 148 </tr> 149 <tr> 150 <td width="100"> </td> 151 <th> 152 <a href="../../../../nw/gfx/res/ResModel/GetShapesCount.html">GetShapesCount</a> 153 </th> 154 <td>Gets the number of shapes.</td> 155 </tr> 156 <tr> 157 <td width="100"> </td> 158 <th> 159 <a href="../../../../nw/gfx/res/ResModel/GetShapes.html">GetShapes</a> 160 </th> 161 <td>Gets a shape.</td> 162 </tr> 163 <tr> 164 <td width="100"> </td> 165 <th> 166 <a href="../../../../nw/gfx/res/ResModel/GetMeshNodeVisibilitiesCount.html">GetMeshNodeVisibilitiesCount</a> 167 </th> 168 <td>Gets the number of nodes on DCC that include visibility.</td> 169 </tr> 170 <tr> 171 <td width="100"> </td> 172 <th> 173 <a href="../../../../nw/gfx/res/ResModel/GetMeshNodeVisibilities.html">GetMeshNodeVisibilities</a> 174 </th> 175 <td>Gets node visibilities on the DCC.</td> 176 </tr> 177 <tr> 178 <td width="100"> </td> 179 <th> 180 <a href="../../../../nw/gfx/res/ResModel/GetMeshNodeVisibilitiesIndex.html">GetMeshNodeVisibilitiesIndex</a> 181 </th> 182 <td> 183 </td> 184 </tr> 185 <tr> 186 <td width="100"> </td> 187 <th> 188 <a href="../../../../nw/gfx/res/ResModel/IsVisible.html"><CODE>IsVisible</CODE></a> 189 </th> 190 <td>Gets the visibility flag.</td> 191 </tr> 192 <tr> 193 <td width="100"> </td> 194 <th> 195 <a href="../../../../nw/gfx/res/ResModel/SetVisible.html"><CODE>SetVisible</CODE></a> 196 </th> 197 <td>Sets the visibility flag.</td> 198 </tr> 199 <tr> 200 <td width="100"> </td> 201 <th> 202 <a href="../../../../nw/gfx/res/ResModel/IsNonuniformScalable.html">IsNonuniformScalable</a> 203 </th> 204 <td>Gets a flag indicating whether an even scale can be applied.</td> 205 </tr> 206 <tr> 207 <td width="100"> </td> 208 <th> 209 <a href="../../../../nw/gfx/res/ResModel/SetNonuniformScalable.html">SetNonuniformScalable</a> 210 </th> 211 <td>Sets a flag indicating whether an even scale can be applied.</td> 212 </tr> 213 <tr> 214 <td width="100"> </td> 215 <th> 216 <a href="../../../../nw/gfx/res/ResModel/GetLayerId.html"><CODE>GetLayerId</CODE></a> 217 </th> 218 <td>Gets the ID for controlling render order.</td> 219 </tr> 220 <tr> 221 <td width="100"> </td> 222 <th> 223 <a href="../../../../nw/gfx/res/ResModel/SetLayerId.html"><CODE>SetLayerId</CODE></a> 224 </th> 225 <td>Sets the ID for controlling render order.</td> 226 </tr> 227 <tr> 228 <td width="100"> </td> 229 <th> 230 <a href="../../../../nw/gfx/res/ResModel/GetRevision.html"><CODE>GetRevision</CODE></a> 231 </th> 232 <td>Gets the revision.</td> 233 </tr> 234 <tr> 235 <td width="100"> </td> 236 <th> 237 <a href="../../../../nw/gfx/res/ResModel/Setup.html">Setup</a> 238 </th> 239 <td>Initializes a resource.</td> 240 </tr> 241 <tr> 242 <td width="100"> </td> 243 <th> 244 <a href="../../../../nw/gfx/res/ResModel/Cleanup.html"><CODE>Cleanup</CODE></a> 245 </th> 246 <td>Frees a resource.</td> 247 </tr> 248 <tr> 249 <td width="100"> </td> 250 <th> 251 <a href="../../../../nw/gfx/res/ResTransformNode/GetTransform.html"><CODE>GetTransform</CODE></a> 252 </th> 253 <td>Gets transform information.(Derived from <a href="../../../../nw/gfx/res/ResTransformNode/Overview.html"><CODE>ResTransformNode</CODE></a>.)</td> 254 </tr> 255 <tr> 256 <td width="100"> </td> 257 <th> 258 <a href="../../../../nw/gfx/res/ResTransformNode/SetTransform.html"><CODE>SetTransform</CODE></a> 259 </th> 260 <td>Sets transform information.(Derived from <a href="../../../../nw/gfx/res/ResTransformNode/Overview.html"><CODE>ResTransformNode</CODE></a>.)</td> 261 </tr> 262 <tr> 263 <td width="100"> </td> 264 <th> 265 <a href="../../../../nw/gfx/res/ResTransformNode/GetWorldMatrix.html">GetWorldMatrix</a> 266 </th> 267 <td>Gets the world matrix.(Derived from <a href="../../../../nw/gfx/res/ResTransformNode/Overview.html"><CODE>ResTransformNode</CODE></a>.)</td> 268 </tr> 269 <tr> 270 <td width="100"> </td> 271 <th> 272 <a href="../../../../nw/gfx/res/ResTransformNode/SetWorldMatrix.html"><CODE>SetWorldMatrix</CODE></a> 273 </th> 274 <td>Sets the world matrix.(Derived from <a href="../../../../nw/gfx/res/ResTransformNode/Overview.html"><CODE>ResTransformNode</CODE></a>.)</td> 275 </tr> 276 <tr> 277 <td width="100"> </td> 278 <th> 279 <a href="../../../../nw/gfx/res/ResSceneNode/NW_RES_FIELD_FLAGS_DECL.html"><CODE>NW_RES_FIELD_FLAGS_DECL</CODE></a> 280 </th> 281 <td> 282 (Derived from <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html"><CODE>ResSceneNode</CODE></a>.)</td> 283 </tr> 284 <tr> 285 <td width="100"> </td> 286 <th> 287 <a href="../../../../nw/gfx/res/ResSceneNode/GetChildren.html">GetChildren</a> 288 </th> 289 <td>Gets the child scene object.(Derived from <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html"><CODE>ResSceneNode</CODE></a>.)</td> 290 </tr> 291 <tr> 292 <td width="100"> </td> 293 <th> 294 <a href="../../../../nw/gfx/res/ResSceneNode/GetAnimGroupsCount.html">GetAnimGroupsCount</a> 295 </th> 296 <td>Gets the number of groups to be animated.(Derived from <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html"><CODE>ResSceneNode</CODE></a>.)</td> 297 </tr> 298 <tr> 299 <td width="100"> </td> 300 <th> 301 <a href="../../../../nw/gfx/res/ResSceneNode/GetAnimGroups.html">GetAnimGroups</a> 302 </th> 303 <td>Gets the number of groups to be animated.(Derived from <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html"><CODE>ResSceneNode</CODE></a>.)</td> 304 </tr> 305 <tr> 306 <td width="100"> </td> 307 <th> 308 <a href="../../../../nw/gfx/res/ResSceneNode/GetAnimGroupsIndex.html">GetAnimGroupsIndex</a> 309 </th> 310 <td>Gets the index number in dictionary data of the group information to be animated.(Derived from <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html"><CODE>ResSceneNode</CODE></a>.)</td> 311 </tr> 312 <tr> 313 <td width="100"> </td> 314 <th> 315 <a href="../../../../nw/gfx/res/ResSceneNode/IsBranchVisible.html"><CODE>IsBranchVisible</CODE></a> 316 </th> 317 <td>Gets a flag indicating whether to display node branches.(Derived from <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html"><CODE>ResSceneNode</CODE></a>.)</td> 318 </tr> 319 <tr> 320 <td width="100"> </td> 321 <th> 322 <a href="../../../../nw/gfx/res/ResSceneNode/SetBranchVisible.html"><CODE>SetBranchVisible</CODE></a> 323 </th> 324 <td>Sets a flag indicating whether to display node branches.(Derived from <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html"><CODE>ResSceneNode</CODE></a>.)</td> 325 </tr> 326 <tr> 327 <td width="100"> </td> 328 <th> 329 <a href="../../../../nw/gfx/res/ResSceneObject/GetHeader.html"><CODE>GetHeader</CODE></a> 330 </th> 331 <td>Gets the header information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td> 332 </tr> 333 <tr> 334 <td width="100"> </td> 335 <th> 336 <a href="../../../../nw/gfx/res/ResSceneObject/SetHeader.html">SetHeader</a> 337 </th> 338 <td>Sets the header information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td> 339 </tr> 340 <tr> 341 <td width="100"> </td> 342 <th> 343 <a href="../../../../nw/gfx/res/ResSceneObject/GetName.html"><CODE>GetName</CODE></a> 344 </th> 345 <td>Gets the name of the resource.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td> 346 </tr> 347 <tr> 348 <td width="100"> </td> 349 <th> 350 <a href="../../../../nw/gfx/res/ResSceneObject/GetUserDataCount.html"><CODE>GetUserDataCount</CODE></a> 351 </th> 352 <td>Gets the number of instances of user data.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td> 353 </tr> 354 <tr> 355 <td width="100"> </td> 356 <th> 357 <a href="../../../../nw/gfx/res/ResSceneObject/GetUserData.html"><CODE>GetUserData</CODE></a> 358 </th> 359 <td>Gets user data.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td> 360 </tr> 361 <tr> 362 <td width="100"> </td> 363 <th> 364 <a href="../../../../nw/gfx/res/ResSceneObject/GetUserDataIndex.html"><CODE>GetUserDataIndex</CODE></a> 365 </th> 366 <td>Gets the index number of user data in the dictionary.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td> 367 </tr> 368 <tr> 369 <td width="100"> </td> 370 <th> 371 <a href="../../../../nw/gfx/res/ResSceneObject/GetTypeInfo.html"><CODE>GetTypeInfo</CODE></a> 372 </th> 373 <td>Gets instance type information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td> 374 </tr> 375 <tr> 376 <td width="100"> </td> 377 <th> 378 <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a> 379 </th> 380 <td>Determines whether a pointer to a resource is <CODE>null</CODE>.(Derived from <CODE><a href="../../../../nw/ut/ResCommonBase/Overview.html">ResCommonBase</a></CODE>.)</td> 381 </tr> 382 <tr> 383 <td width="100"> 384 <span class="static_style" title="static">S</span> </td> 385 <th> 386 <a href="../../../../nw/gfx/res/ResModel/GetClassName.html"><CODE>GetClassName</CODE></a> 387 </th> 388 <td> 389 </td> 390 </tr> </table> 391 </div> 392 </a> 393 <h2>Class Hierarchy</h2> 394 <div class="section"> 395 <p class="hierarchy"><a href="../../../../nw/ut/ResCommonBase/Overview.html">nw::ut::ResCommonBase</a><br /> <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon</a><br /> <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html">nw::gfx::res::ResSceneObject</a><br /> <a href="../../../../nw/gfx/res/ResSceneNode/Overview.html">nw::gfx::res::ResSceneNode</a><br /> <a href="../../../../nw/gfx/res/ResTransformNode/Overview.html">nw::gfx::res::ResTransformNode</a><br /> <b>nw::gfx::res::ResModel</b> 396 </p> 397 </div> 398 <hr><p>CONFIDENTIAL</p></body> 399</html> 400