GUIApplication Class Reference

#include <GUIApplication.h>

Inheritance diagram for GUIApplication:

MyApplication List of all members.

Public Member Functions

 GUIApplication (void)
 ~GUIApplication (void)

Protected Member Functions

void createScene (void)
 initialise the scene and model position
void createSceneWithArgument (void)
 initialise the scene and model position
void createFrameListener (void)
 add frame listener
void createFrameListenerWithArgument (char *)
void setupEventHandlers (void)
bool handleQuit (const CEGUI::EventArgs &e)
 quits from the program
bool handleLoad (const CEGUI::EventArgs &e)
 load an animation from a XML file
bool handleSave (const CEGUI::EventArgs &e)
 save current edited/created animation to XML file
bool handleFileDialogOutput (const CEGUI::EventArgs &e)
 opens a file dialog
bool handleAxisSelection (const CEGUI::EventArgs &e)
 select the axis for a joint and sets the min/max values to rotation slider
bool handlePlay (const CEGUI::EventArgs &e)
 start the animation
bool handleAddAnimationElement (const CEGUI::EventArgs &e)
 add a new animationElement to the current animation
bool handleUndo (const CEGUI::EventArgs &e)
bool handleSlider (const CEGUI::EventArgs &e)
 rewinds the animation with the slider value
bool handleSlider2 (const CEGUI::EventArgs &e)
bool handleJointSlider (const CEGUI::EventArgs &e)
 rotates the selected joint according to jointSlider value
bool handleJointSelection (const CEGUI::EventArgs &e)
bool handleDummy (const CEGUI::EventArgs &e)
bool handleAnimElementSelection (const CEGUI::EventArgs &e)
 jumps to the selected animationElement status
bool handleRemove (const CEGUI::EventArgs &e)
 removes an animationElement from the PapaganAnimation
void loadAnimation (char *aFileName)
 loads the animation in the XML file
void loadModel (void)
 load the 3D model
void resetAngleBoxes ()
 clear the values in the angle boxes
void loadLimitsToJointSlider (char *jointName, char *axisName)
 set the min/max values of the jointSlider
bool handleEdit (const CEGUI::EventArgs &e)
 edit an existing animation
bool handleExport (const CEGUI::EventArgs &e)
 export the current animation to SWF file

Protected Attributes

bool jointSliderDisable
 sets the value in the jointSlider to zero

Private Attributes

CEGUI::OgreCEGUIRenderer * mGUIRenderer
CEGUI::System * mGUISystem
CEGUI::Window * mEditorGuiSheet
Skeleton * mSkeleton
Joints joints

Detailed Description

GUIApplication class extends the MyApplication class


Constructor & Destructor Documentation

GUIApplication::GUIApplication void   ) 
 

GUIApplication::~GUIApplication void   ) 
 


Member Function Documentation

void GUIApplication::createFrameListener void   )  [protected, virtual]
 

add frame listener

Reimplemented from MyApplication.

void GUIApplication::createFrameListenerWithArgument char *   )  [protected, virtual]
 

Implements MyApplication.

void GUIApplication::createScene void   )  [protected, virtual]
 

initialise the scene and model position

Implements MyApplication.

void GUIApplication::createSceneWithArgument void   )  [protected, virtual]
 

initialise the scene and model position

Implements MyApplication.

bool GUIApplication::handleAddAnimationElement const CEGUI::EventArgs &  e  )  [protected]
 

add a new animationElement to the current animation

bool GUIApplication::handleAnimElementSelection const CEGUI::EventArgs &  e  )  [protected]
 

jumps to the selected animationElement status

bool GUIApplication::handleAxisSelection const CEGUI::EventArgs &  e  )  [protected]
 

select the axis for a joint and sets the min/max values to rotation slider

bool GUIApplication::handleDummy const CEGUI::EventArgs &  e  )  [protected]
 

bool GUIApplication::handleEdit const CEGUI::EventArgs &  e  )  [protected]
 

edit an existing animation

bool GUIApplication::handleExport const CEGUI::EventArgs &  e  )  [protected]
 

export the current animation to SWF file

bool GUIApplication::handleFileDialogOutput const CEGUI::EventArgs &  e  )  [protected]
 

opens a file dialog

bool GUIApplication::handleJointSelection const CEGUI::EventArgs &  e  )  [protected]
 

bool GUIApplication::handleJointSlider const CEGUI::EventArgs &  e  )  [protected]
 

rotates the selected joint according to jointSlider value

bool GUIApplication::handleLoad const CEGUI::EventArgs &  e  )  [protected]
 

load an animation from a XML file

bool GUIApplication::handlePlay const CEGUI::EventArgs &  e  )  [protected]
 

start the animation

bool GUIApplication::handleQuit const CEGUI::EventArgs &  e  )  [protected]
 

quits from the program

bool GUIApplication::handleRemove const CEGUI::EventArgs &  e  )  [protected]
 

removes an animationElement from the PapaganAnimation

bool GUIApplication::handleSave const CEGUI::EventArgs &  e  )  [protected]
 

save current edited/created animation to XML file

bool GUIApplication::handleSlider const CEGUI::EventArgs &  e  )  [protected]
 

rewinds the animation with the slider value

bool GUIApplication::handleSlider2 const CEGUI::EventArgs &  e  )  [protected]
 

bool GUIApplication::handleUndo const CEGUI::EventArgs &  e  )  [protected]
 

void GUIApplication::loadAnimation char *  aFileName  )  [protected]
 

loads the animation in the XML file

void GUIApplication::loadLimitsToJointSlider char *  jointName,
char *  axisName
[protected]
 

set the min/max values of the jointSlider

void GUIApplication::loadModel void   )  [protected]
 

load the 3D model

void GUIApplication::resetAngleBoxes  )  [protected]
 

clear the values in the angle boxes

void GUIApplication::setupEventHandlers void   )  [protected]
 


Member Data Documentation

Joints GUIApplication::joints [private]
 

bool GUIApplication::jointSliderDisable [protected]
 

sets the value in the jointSlider to zero

CEGUI::Window* GUIApplication::mEditorGuiSheet [private]
 

CEGUI::OgreCEGUIRenderer* GUIApplication::mGUIRenderer [private]
 

CEGUI::System* GUIApplication::mGUISystem [private]
 

Skeleton* GUIApplication::mSkeleton [private]
 


The documentation for this class was generated from the following files:
Generated on Mon May 29 01:10:34 2006 for Papagan by  doxygen 1.4.6-NO