22 #ifndef _RENDERENGINE_HH_
23 #define _RENDERENGINE_HH_
93 public:
ScenePtr CreateScene(
const std::string &_name,
94 bool _enableVisualizations,
95 bool _isServer =
false);
99 public:
void RemoveScene(
const std::string &_name);
105 public:
ScenePtr GetScene(
const std::string &_name=
"");
111 public:
ScenePtr GetScene(
unsigned int _index);
115 public:
unsigned int GetSceneCount()
const;
120 public:
void AddResourcePath(
const std::string &_uri);
125 public: RenderPathType GetRenderPathType()
const;
131 #if OGRE_VERSION_MAJOR > 1 || OGRE_VERSION_MINOR >= 9
132 public: Ogre::OverlaySystem *GetOverlaySystem()
const;
139 private:
bool CreateContext();
142 private:
void LoadPlugins();
145 private:
void SetupResources();
148 private:
void SetupRenderSystem();
151 private:
void PreRender();
154 private:
void Render();
157 private:
void PostRender();
160 private:
void CheckSystemCapabilities();
166 private: std::vector< ScenePtr > scenes;
169 private: Ogre::LogManager *logManager;
182 private:
bool headless;
185 private:
bool initialized;
188 private: std::vector<event::ConnectionPtr> connections;
200 #if OGRE_VERSION_MAJOR > 1 || OGRE_VERSION_MINOR >= 9
201 private: Ogre::OverlaySystem *overlaySystem;