1 #ifndef OPENMW_COMPONENTS_BULLETSHAPEMANAGER_H
2 #define OPENMW_COMPONENTS_BULLETSHAPEMANAGER_H
18 class BulletShapeInstance;
20 class MultiObjectCache;
32 osg::ref_ptr<const BulletShape>
getShape(
const std::string&
name);
37 osg::ref_ptr<BulletShapeInstance>
cacheInstance(
const std::string& name);
40 osg::ref_ptr<BulletShapeInstance>
getInstance(
const std::string& name);
46 osg::ref_ptr<BulletShapeInstance>
createInstance(
const std::string& name);
osg::ref_ptr< BulletShapeInstance > createInstance(const std::string &name)
Definition: bulletshapemanager.cpp:172
Handles loading and caching of scenes, e.g. .nif files or .osg files.
Definition: scenemanager.hpp:37
osg::ref_ptr< const BulletShape > getShape(const std::string &name)
Definition: bulletshapemanager.cpp:108
osg::ref_ptr< MultiObjectCache > mInstanceCache
Definition: bulletshapemanager.hpp:48
SceneManager * mSceneManager
Definition: bulletshapemanager.hpp:49
Handles caching of NIFFiles.
Definition: niffilemanager.hpp:15
osg::ref_ptr< BulletShapeInstance > cacheInstance(const std::string &name)
Definition: bulletshapemanager.cpp:150
~BulletShapeManager()
Definition: bulletshapemanager.cpp:103
BulletShapeManager(const VFS::Manager *vfs, SceneManager *sceneMgr, NifFileManager *nifFileManager)
Definition: bulletshapemanager.cpp:94
NifFileManager * mNifFileManager
Definition: bulletshapemanager.hpp:50
virtual void updateCache(double referenceTime)
Definition: bulletshapemanager.cpp:181
The main class responsible for loading files from a virtual file system.
Definition: manager.hpp:20
Base class for managers that require a virtual file system and object cache.
Definition: resourcemanager.hpp:17
osg::ref_ptr< BulletShapeInstance > getInstance(const std::string &name)
Definition: bulletshapemanager.cpp:160
Definition: bulletshapemanager.hpp:25
const char * name
Definition: crashcatcher.cpp:59