#include <SO3AnimTrack.h>
Public Types | |
| enum | AnimTrackType { SO3_NODE_TRACK = 0, SO3_VERTEX_TRACK = 1, SO3_NUMERIC_TRACK = 2, SO3_POSE_TRACK = 3, SO3_SEQUENCE_TRACK = 4 } |
Public Member Functions | |
| ~SAnimTrack () | |
| SAnim * | GetParentAnimation () |
| Ogre::AnimationTrack * | GetOgreAnimationTrackPointer () |
| AnimTrackType | GetType () |
| void | SetOptimise () |
| Ogre::AnimationTrack * | _Clone (Ogre::Animation *tanim, unsigned short tid) |
| virtual unsigned short | GetNumKeyFrames () |
| virtual void | CreateKey (float timepos, Ogre::Vector3 pos, Ogre::Quaternion quat, Ogre::Vector3 scale) |
| virtual void | SetKeyTransform (unsigned int keyIndex, Ogre::Vector3 pos, Ogre::Quaternion quat, Ogre::Vector3 scale) |
| virtual void | GetKeyTransform (unsigned int keyIndex, Ogre::Vector3 &pos, Ogre::Quaternion &quat, Ogre::Vector3 &scale) |
| virtual float | GetKeyPositionTime (unsigned int keyIndex) |
| virtual void | RemoveKey (unsigned int keyIndex) |
| virtual void | RemoveAllKeyFrames () |
| virtual void | Update (float pos) |
Protected Member Functions | |
| SAnimTrack (std::string animationTrackName, SAnim *animation, AnimTrackType animationTrackType) | |
Protected Attributes | |
| Ogre::AnimationTrack * | ogreAnimationTrack |
Definition at line 44 of file SO3AnimTrack.h.
Definition at line 47 of file SO3AnimTrack.h.
| SO3::SAnimTrack::~SAnimTrack | ( | ) |
Definition at line 55 of file SO3AnimTrack.cpp.
| SO3::SAnimTrack::SAnimTrack | ( | std::string | animationTrackName, | |
| SAnim * | animation, | |||
| AnimTrackType | animationTrackType | |||
| ) | [protected] |
Constructor for a anim track.
Definition at line 41 of file SO3AnimTrack.cpp.
| Ogre::AnimationTrack * SO3::SAnimTrack::_Clone | ( | Ogre::Animation * | tanim, | |
| unsigned short | tid | |||
| ) |
Definition at line 132 of file SO3AnimTrack.cpp.
| void SO3::SAnimTrack::CreateKey | ( | float | timepos, | |
| Ogre::Vector3 | pos, | |||
| Ogre::Quaternion | quat, | |||
| Ogre::Vector3 | scale | |||
| ) | [virtual] |
Reimplemented in SO3::SNodeAnimationTrack.
Definition at line 94 of file SO3AnimTrack.cpp.
| float SO3::SAnimTrack::GetKeyPositionTime | ( | unsigned int | keyIndex | ) | [virtual] |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 109 of file SO3AnimTrack.cpp.
| void SO3::SAnimTrack::GetKeyTransform | ( | unsigned int | keyIndex, | |
| Ogre::Vector3 & | pos, | |||
| Ogre::Quaternion & | quat, | |||
| Ogre::Vector3 & | scale | |||
| ) | [virtual] |
Reimplemented in SO3::SNodeAnimationTrack.
Definition at line 102 of file SO3AnimTrack.cpp.
| unsigned short SO3::SAnimTrack::GetNumKeyFrames | ( | ) | [virtual] |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 76 of file SO3AnimTrack.cpp.
| Ogre::AnimationTrack * SO3::SAnimTrack::GetOgreAnimationTrackPointer | ( | ) |
Definition at line 61 of file SO3AnimTrack.cpp.
| SAnim * SO3::SAnimTrack::GetParentAnimation | ( | ) |
Definition at line 71 of file SO3AnimTrack.cpp.
| SAnimTrack::AnimTrackType SO3::SAnimTrack::GetType | ( | ) |
Definition at line 66 of file SO3AnimTrack.cpp.
| void SO3::SAnimTrack::RemoveAllKeyFrames | ( | ) | [virtual] |
Reimplemented in SO3::SNodeAnimationTrack, and SO3::SSequenceAnimationTrack.
Definition at line 128 of file SO3AnimTrack.cpp.
| void SO3::SAnimTrack::RemoveKey | ( | unsigned int | keyIndex | ) | [virtual] |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 122 of file SO3AnimTrack.cpp.
| void SO3::SAnimTrack::SetKeyTransform | ( | unsigned int | keyIndex, | |
| Ogre::Vector3 | pos, | |||
| Ogre::Quaternion | quat, | |||
| Ogre::Vector3 | scale | |||
| ) | [virtual] |
Reimplemented in SO3::SNodeAnimationTrack.
Definition at line 98 of file SO3AnimTrack.cpp.
| void SO3::SAnimTrack::SetOptimise | ( | ) |
Definition at line 84 of file SO3AnimTrack.cpp.
| void SO3::SAnimTrack::Update | ( | float | pos | ) | [virtual] |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 90 of file SO3AnimTrack.cpp.
Ogre::AnimationTrack* SO3::SAnimTrack::ogreAnimationTrack [protected] |
Definition at line 56 of file SO3AnimTrack.h.
1.6.3