Public Types | |
typedef std::vector< osg::ref_ptr< osg::Texture2D > > | Textures2D |
typedef std::map< int, Textures2D > | CoreMaterialId2Textures2D |
typedef std::map< std::string, std::string > | Name2Filename |
Public Member Functions | |
META_Object (osgCal, CoreModel) | |
CoreModel () | |
CoreModel (const CoreModel &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
CalCoreModel * | getCalCoreModel (void) |
void | garbageCollect (void) |
Textures2D * | getTextures2D (const std::string &strFilename) |
Textures2D * | getTextures2D (int materialId) |
void | setMeshName2Filename (const Name2Filename &meshName2Filename) |
const Name2Filename & | getMeshName2Filename (void) |
void | SubUsingMeshId (int coreMeshId) |
void | AddUsingMeshId (int coreMeshId) |
Protected Member Functions | |
virtual | ~CoreModel () |
Protected Attributes | |
CalCoreModel | _calCoreModel |
CoreMaterialId2Textures2D | _coreMaterialId2Textures |
Name2Filename | _meshName2Filename |
std::map< int, int > | _mReferenceCountCoreMeshIds |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|