Jamie Slowgrove - OOT Assignment 1 - A Mission in Afghanistan
 All Classes Namespaces Files Functions Variables Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OgreApplication Class Reference

#include <OgreApplication.h>

Collaboration diagram for OgreApplication:
Collaboration graph

Public Member Functions

 OgreApplication (void)
 
 ~OgreApplication (void)
 
bool Initialize ()
 
void CleanUp ()
 
std::shared_ptr< Ogre::SceneNode > CreateCamera (Ogre::String name, Ogre::SceneNode *targetNode)
 
std::shared_ptr< Ogre::SceneNode > CreateEntityFromMesh (std::string mesh, std::string name)
 
void SetEntityColour (Ogre::String materialName, Ogre::String resourceGroupName, Ogre::ColourValue diffuse, Ogre::ColourValue specular, Ogre::Real shininess)
 
void CreateIOS ()
 
void Run (bool updateOption=false, bool synchroOption=true)
 
void DestroyNode (Ogre::SceneNode *nodeName)
 
shared_ptr< Ogre::Timer > CreateTimer ()
 
const OgreWrapperGetOgreWrapper ()
 
Ogre::SceneManager * GetSceneManager ()
 
shared_ptr< OIS::Keyboard > GetKeyboard ()
 
shared_ptr< OIS::Mouse > GetMouse ()
 
shared_ptr< Ogre::Timer > GetTimer ()
 
Ogre::RenderWindow * GetRenderWindow ()
 

Private Member Functions

void CreateLights ()
 
void CreateEnviroment ()
 

Private Attributes

shared_ptr< Ogre::OverlaySystem > overlaySystem
 
OgreWrapper ogreWrapper
 
Ogre::Root * root
 
Ogre::RenderWindow * renderWindow
 
Ogre::SceneManager * sceneManager
 
Ogre::SceneNode * rootSceneNode
 
Ogre::Viewport * viewport
 
OIS::InputManager * inputManager
 
shared_ptr< Ogre::Timer > timer
 
shared_ptr< OIS::Mouse > mouse
 
shared_ptr< OIS::Keyboard > keyboard
 

Constructor & Destructor Documentation

OgreApplication::OgreApplication ( void  )
OgreApplication::~OgreApplication ( void  )

Here is the call graph for this function:

Member Function Documentation

void OgreApplication::CleanUp ( )

Here is the caller graph for this function:

shared_ptr< Ogre::SceneNode > OgreApplication::CreateCamera ( Ogre::String  name,
Ogre::SceneNode *  targetNode 
)

Here is the caller graph for this function:

shared_ptr< Ogre::SceneNode > OgreApplication::CreateEntityFromMesh ( std::string  mesh,
std::string  name 
)
void OgreApplication::CreateEnviroment ( )
private
void OgreApplication::CreateIOS ( )

Here is the caller graph for this function:

void OgreApplication::CreateLights ( )
private
shared_ptr< Ogre::Timer > OgreApplication::CreateTimer ( )

Here is the caller graph for this function:

void OgreApplication::DestroyNode ( Ogre::SceneNode *  nodeName)
shared_ptr<OIS::Keyboard> OgreApplication::GetKeyboard ( )
inline

Here is the caller graph for this function:

shared_ptr<OIS::Mouse> OgreApplication::GetMouse ( )
inline

Here is the caller graph for this function:

const OgreWrapper& OgreApplication::GetOgreWrapper ( )
inline

Here is the caller graph for this function:

Ogre::RenderWindow* OgreApplication::GetRenderWindow ( )
inline

Here is the caller graph for this function:

Ogre::SceneManager* OgreApplication::GetSceneManager ( )
inline

Here is the caller graph for this function:

shared_ptr<Ogre::Timer> OgreApplication::GetTimer ( )
inline
bool OgreApplication::Initialize ( )

Here is the call graph for this function:

void OgreApplication::Run ( bool  updateOption = false,
bool  synchroOption = true 
)

Here is the caller graph for this function:

void OgreApplication::SetEntityColour ( Ogre::String  materialName,
Ogre::String  resourceGroupName,
Ogre::ColourValue  diffuse,
Ogre::ColourValue  specular,
Ogre::Real  shininess 
)

Member Data Documentation

OIS::InputManager* OgreApplication::inputManager
private
shared_ptr<OIS::Keyboard> OgreApplication::keyboard
private
shared_ptr<OIS::Mouse> OgreApplication::mouse
private
OgreWrapper OgreApplication::ogreWrapper
private
shared_ptr<Ogre::OverlaySystem> OgreApplication::overlaySystem
private
Ogre::RenderWindow* OgreApplication::renderWindow
private
Ogre::Root* OgreApplication::root
private
Ogre::SceneNode* OgreApplication::rootSceneNode
private
Ogre::SceneManager* OgreApplication::sceneManager
private
shared_ptr<Ogre::Timer> OgreApplication::timer
private
Ogre::Viewport* OgreApplication::viewport
private

The documentation for this class was generated from the following files: