8 #ifndef _OGRE_APPLICATION_H_
9 #define _OGRE_APPLICATION_H_
43 void CreateEnviroment();
53 std::shared_ptr<Ogre::SceneNode> CreateCamera(Ogre::String name, Ogre::SceneNode* targetNode);
54 std::shared_ptr<Ogre::SceneNode> CreateEntityFromMesh(std::string mesh, std::string name);
56 void SetEntityColour(Ogre::String materialName,
57 Ogre::String resourceGroupName,
58 Ogre::ColourValue diffuse,
59 Ogre::ColourValue specular,
60 Ogre::Real shininess);
63 void Run(
bool updateOption=
false,
bool synchroOption=
true);
64 void DestroyNode(Ogre::SceneNode *nodeName);
66 shared_ptr<Ogre::Timer> CreateTimer();
72 shared_ptr<OIS::Mouse>
GetMouse(){
return mouse;}
73 shared_ptr<Ogre::Timer>
GetTimer(){
return timer;}
78 #endif // End of _OGRE_APPLICATION_H_
Ogre::SceneNode * Node
Definition: OgreApplication.h:19
Definition: OgreApplication.h:22
shared_ptr< Ogre::Timer > timer
Definition: OgreApplication.h:38
Ogre::RenderWindow * renderWindow
Definition: OgreApplication.h:31
shared_ptr< OIS::Mouse > GetMouse()
Definition: OgreApplication.h:72
Ogre::SceneManager * sceneManager
Definition: OgreApplication.h:32
OIS::InputManager * inputManager
Definition: OgreApplication.h:36
Ogre::Viewport * viewport
Definition: OgreApplication.h:35
Ogre::RenderWindow * GetRenderWindow()
Definition: OgreApplication.h:75
shared_ptr< OIS::Keyboard > keyboard
Definition: OgreApplication.h:40
shared_ptr< Ogre::OverlaySystem > overlaySystem
Definition: OgreApplication.h:27
Definition: OgreWrapper.h:23
Ogre::SceneManager * GetSceneManager()
Definition: OgreApplication.h:69
Definition: OgreApplication.h:16
shared_ptr< OIS::Mouse > mouse
Definition: OgreApplication.h:39
const OgreWrapper & GetOgreWrapper()
Definition: OgreApplication.h:68
OgreWrapper ogreWrapper
Definition: OgreApplication.h:29
shared_ptr< Ogre::Timer > GetTimer()
Definition: OgreApplication.h:73
Ogre::String Name
Definition: OgreApplication.h:18
shared_ptr< OIS::Keyboard > GetKeyboard()
Definition: OgreApplication.h:71
Ogre::Root * root
Definition: OgreApplication.h:30
Ogre::SceneNode * rootSceneNode
Definition: OgreApplication.h:34