MedievalTownNew Class Reference

#include <MedievalTownNewAppBase.h>

Inherits ApplicationBase.

Collaboration diagram for MedievalTownNew:

List of all members.


Public Member Functions

 MedievalTownNew ()
virtual ~MedievalTownNew ()

Protected Member Functions

virtual bool preInit (const CommandLineArgumentWrapper &args)
virtual std::string getConfigFile (const CommandLineArgumentWrapper &args)
virtual bool init (const CommandLineArgumentWrapper &args)
virtual void run ()
virtual void initCoreComponentCallback (CoreComponents comp)
virtual void display (float dt)
virtual void cleanup ()
int setupGLUT (const CommandLineArgumentWrapper &args)

Static Protected Member Functions

static void update ()
static void reshape (int w, int h)
static void mouse (int button, int state, int x, int y)
static void motion (int x, int y)
static void keyboard (unsigned char k, int x, int y)
static void keyboardUp (unsigned char k, int x, int y)

Protected Attributes

std::string configFile
SimpleSceneManager * mgr
bool grabMouse
Skybox skybox
HandRepresentation * hand
float windMillSpeed

Static Protected Attributes

static MedievalTownNewappInstance = NULL

Constructor & Destructor Documentation

MedievalTownNew::MedievalTownNew (  ) 

MedievalTownNew::~MedievalTownNew (  )  [virtual]


Member Function Documentation

void MedievalTownNew::cleanup ( void   )  [protected, virtual]

Implements ApplicationBase.

void MedievalTownNew::display ( float  dt  )  [protected, virtual]

Implements ApplicationBase.

std::string MedievalTownNew::getConfigFile ( const CommandLineArgumentWrapper args  )  [protected, virtual]

Implements ApplicationBase.

bool MedievalTownNew::init ( const CommandLineArgumentWrapper args  )  [protected, virtual]

Implements ApplicationBase.

void MedievalTownNew::initCoreComponentCallback ( CoreComponents  comp  )  [protected, virtual]

Reimplemented from ApplicationBase.

void MedievalTownNew::keyboard ( unsigned char  k,
int  x,
int  y 
) [static, protected]

void MedievalTownNew::keyboardUp ( unsigned char  k,
int  x,
int  y 
) [static, protected]

void MedievalTownNew::motion ( int  x,
int  y 
) [static, protected]

void MedievalTownNew::mouse ( int  button,
int  state,
int  x,
int  y 
) [static, protected]

bool MedievalTownNew::preInit ( const CommandLineArgumentWrapper args  )  [protected, virtual]

Reimplemented from ApplicationBase.

void MedievalTownNew::reshape ( int  w,
int  h 
) [static, protected]

void MedievalTownNew::run (  )  [protected, virtual]

Implements ApplicationBase.

int MedievalTownNew::setupGLUT ( const CommandLineArgumentWrapper args  )  [protected]

void MedievalTownNew::update (  )  [static, protected]


Member Data Documentation

MedievalTownNew * MedievalTownNew::appInstance = NULL [static, protected]

std::string MedievalTownNew::configFile [protected]

bool MedievalTownNew::grabMouse [protected]

HandRepresentation* MedievalTownNew::hand [protected]

SimpleSceneManager* MedievalTownNew::mgr [protected]

float MedievalTownNew::windMillSpeed [protected]


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

Generated on Wed Oct 20 16:11:58 2010 for inVRs by doxygen 1.5.8