#include <GUIApplication.h>
Inheritance diagram for GUIApplication:
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 |
|
|
|
|
|
add frame listener
Reimplemented from MyApplication. |
|
Implements MyApplication. |
|
initialise the scene and model position
Implements MyApplication. |
|
initialise the scene and model position
Implements MyApplication. |
|
add a new animationElement to the current animation
|
|
jumps to the selected animationElement status
|
|
select the axis for a joint and sets the min/max values to rotation slider
|
|
|
|
edit an existing animation
|
|
export the current animation to SWF file
|
|
opens a file dialog
|
|
|
|
rotates the selected joint according to jointSlider value
|
|
load an animation from a XML file
|
|
start the animation
|
|
quits from the program
|
|
removes an animationElement from the PapaganAnimation
|
|
save current edited/created animation to XML file
|
|
rewinds the animation with the slider value
|
|
|
|
|
|
loads the animation in the XML file
|
|
set the min/max values of the jointSlider
|
|
load the 3D model
|
|
clear the values in the angle boxes
|
|
|
|
|
|
sets the value in the jointSlider to zero
|
|
|
|
|
|
|
|
|