#include <OSGBINLoader.h>
Inheritance diagram for osg::BINLoader::FCIdMapper:

Public Member Functions | |
| FCIdMapper (IDLookupMap *m) | |
| virtual UInt32 | map (UInt32 uiId) |
Public Attributes | |
| const IDLookupMap * | ptrMap |
Definition at line 95 of file OSGBINLoader.h.
|
|
constructor Definition at line 306 of file OSGBINLoader.cpp. 00306 : 00307 ptrMap(m) 00308 { 00309 }
|
|
|
mapper for FieldContainerFactory Implements osg::FieldContainerMapper. Definition at line 313 of file OSGBINLoader.cpp. References ptrMap. 00314 { 00315 //returns id=0 if nil 00316 UInt32 id = 0; 00317 IDLookupMap::const_iterator iterID = ptrMap->find(uiId); 00318 if(!(iterID == ptrMap->end())) 00319 { 00320 id = iterID->second.newId; 00321 } 00322 00323 return id; 00324 }
|
|
|
Definition at line 98 of file OSGBINLoader.h. Referenced by map(). |
1.4.3