|
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 |
typedef std::map< std::string,
std::string > | MeshDescription |
typedef std::map< std::string,
SlotDescription > | SlotBank |
Public Member Functions |
| | META_Object (osgCal, CoreModel) |
| | CoreModel () |
| | CoreModel (const CoreModel &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| void | setCollisionDefault (bool collisionDefault) |
| bool | getCollisionDefault () |
| void | setVersion (int version) |
| int | getVersion () |
| CalCoreModel * | getCalCoreModel (void) |
| | Returns the cal3d core model associated with osgCal CoreModel.
|
| void | garbageCollect (void) |
| | Cleans and releases dead objects.
|
| Textures2D * | getTextures2D (const std::string &strFilename) |
| Textures2D * | getTextures2D (int materialId) |
| | Returns the texture associated to a material.
|
| void | setMeshName2Filename (const Name2Filename &meshName2Filename) |
| | Sets the mesh name to mesh filename map.
|
| const Name2Filename & | getMeshName2Filename (void) |
| | Returns the mesh name to file mesh name map.
|
| bool | SubUsingMeshId (int coreMeshId) |
| bool | AddUsingMeshId (int coreMeshId) |
| std::vector< MeshDescription > & | getCommonMeshes () |
const std::map< std::string,
MeshDescription > & | getMeshes () const |
| SlotDescription * | getSlotFromTypeAndName (const std::string &slotType, const std::string &slotName) |
| void | addIncompatibility (const std::string &mesh1, const std::string &mesh2) |
| | Adds an incompatibility between two meshes.
|
| bool | isIncompatible (const std::string &mesh1, const std::string &mesh2) |
| | Tells if two meshes are incompatible Two incompatibles meshes mean they cannot be shown together.
|
const std::map< std::string,
SlotBank > & | getSlots () const |
Public Attributes |
| std::map< std::string, ParameterDescription > | _parameters |
| std::map< std::string, LayerDescription > | _layers |
| std::map< std::string, SlotBank > | _slots |
| std::map< std::string, MeshDescription > | _meshes |
| std::vector< MeshDescription > | _commonMeshes |
| std::map< std::string, Material > | _materials |
| std::map< std::string, CalVector * > | _name2Normal |
| std::string | _path |
| bool | _configurable |
Protected Member Functions |
| virtual | ~CoreModel () |
Protected Attributes |
| CalCoreModel | _calCoreModel |
| | Cal3d core model.
|
| CoreMaterialId2Textures2D | _coreMaterialId2Textures |
| | Material Id to associated texture map.
|
| Name2Filename | _meshName2Filename |
| | Mesh name to mesh filename map.
|
| std::map< int, int > | _mReferenceCountCoreMeshIds |
std::map< std::string, std::vector<
std::string > > | _incompatiblityEntries |
| bool | _collisionDefault |
| int | _version |
| osg::NotifySeverity | _notify |
Friends |
| class | ReaderWriterXFG |
Classes |
| struct | LayerDescription |
| struct | Material |
| struct | ParameterDescription |
| struct | SlotDescription |