#include <Animation.h>
Public Member Functions | |
| PapaganAnimation (Skeleton *skeleton) | |
| void | addAnimationElement (const AnimationElement &anAnimationElement) |
| void | deleteLast () |
| void | drawAnimationFrame (void) |
| void | saveToXML (char *fileName) |
| calls the Ogre's rendering functions | |
| vector< AnimationElement > | getSignAnimation () |
| save animation to a XML file | |
| void | reset (void) |
| get the vector of AnimationElements that compose this PapaganAnimation | |
| bool | isEnded (void) |
| set Frame No. to zero | |
| void | setState (int state) |
| void | play (void) |
| void | setSkeleton (Skeleton *skeleton) |
| Skeleton * | getSkeleton () |
| void | editAnimationXML (char *, int, char *jointName, char *axisName, int startFrame, int endFrame, float angle) |
| Skeleton of the model. | |
| int | getFrameNo () |
| int | getMaxFrameNo () |
| int | getState () |
| void | rewind (float sliderValue) |
| void | setSignAnimation (vector< AnimationElement > &signAnimation) |
| go to a specific point in the timeline of the PapaganAnimation | |
Protected Member Functions | |
| void | calculateMaxFrameNo () |
Protected Attributes | |
| int | frameNo |
| int | maxFrameNo |
| int | state |
| vector< AnimationElement > | mSignAnimation |
| Skeleton * | skeleton |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
Skeleton of the model.
|
|
|
|
|
|
|
|
|
save animation to a XML file
|
|
|
|
|
|
|
|
|
set Frame No. to zero
|
|
|
|
|
|
get the vector of AnimationElements that compose this PapaganAnimation
|
|
|
|
|
|
calls the Ogre's rendering functions
|
|
|
go to a specific point in the timeline of the PapaganAnimation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6-NO