40 #ifndef _graphicsmeshmanager_h
41 #define _graphicsmeshmanager_h
44 #include "colourvalue.h"
45 #include "entresolmanager.h"
46 #include "entresolmanagerfactory.h"
47 #include "singleton.h"
52 template<
typename T>
class SharedPtr;
53 typedef SharedPtr<Mesh> MeshPtr;
68 %
template(SingletonMeshManager) Singleton<MeshManager>;
99 virtual void AddMesh(
Mesh* ToAdd);
120 Mesh* LoadMesh(
const String& FilePathAndName);
125 Mesh* LoadMesh(std::istream* Stream);
129 void UnloadMesh(
const String& MeshName);
131 void UnloadAllMeshes();
137 void SaveMesh(
Mesh* ToSave,
const String& FileName,
const String& GroupName);
141 void SaveMesh(
Mesh* ToSave,
const String& FilePathAndName);
146 void SaveMesh(
Mesh* ToSave, std::ostream* Stream);
154 Whole GetNumMeshes();
160 virtual void Initialize();
162 virtual void Deinitialize();
170 virtual String GetImplementationTypeName()
const;
183 Ogre::MeshManager* _GetInternalManager()
const;
199 String GetManagerImplName()
const;
static const ManagerBase::ManagerType InterfaceType
A ManagerType enum value used to describe the type of interface/functionality this manager provides...
ManagerType
A listing of Manager Types.
This is a base class for factories that construct managers used by the Entresol class.
This class is used to check and modify the properties of a graphics mesh.
A factory responsible for the creation and destruction of the default MeshManager.
MeshContainer Meshes
Container storing all of the currently loaded Meshes.
static const String ImplementationName
A String containing the name of this manager implementation.
MeshContainer::const_iterator ConstMeshIterator
Const Iterator type for Mesh instances stored in this class.
This is the base class for all managers that do no describe properties of a single world...
A light-weight handle for manipulating nodes in DOM tree.
MeshContainer::iterator MeshIterator
Iterator type for Mesh instances stored in this class.
std::list< NameValuePair > NameValuePairList
This is a datatype mostly used for describing settings or parameters that can't be declared in advanc...
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
This manager handles the storage, generation, and query of of Graphics Meshes.
std::string String
A datatype used to a series of characters.
std::map< String, Mesh * > MeshContainer
Basic container type for Mesh storage in this class.