SO3Engine
|
#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 | |
virtual | ~SAnimTrack () |
SAnim * | GetParentAnimation () |
Ogre::AnimationTrack * | GetOgreAnimationTrackPointer () |
AnimTrackType | GetType () |
void | SetOptimise () |
Ogre::AnimationTrack * | _Clone (Ogre::Animation *tanim, const unsigned short &tid) |
virtual unsigned short | GetNumKeyFrames () |
virtual void | CreateKey (const float &timepos, const Ogre::Vector3 &pos, const Ogre::Quaternion &quat, const Ogre::Vector3 &scale) |
virtual void | SetKeyTransform (const unsigned int &keyIndex, const Ogre::Vector3 &pos, const Ogre::Quaternion &quat, const Ogre::Vector3 &scale) |
virtual void | GetKeyTransform (const unsigned int &keyIndex, Ogre::Vector3 &pos, Ogre::Quaternion &quat, Ogre::Vector3 &scale) |
virtual float | GetKeyPositionTime (const unsigned int &keyIndex) |
virtual void | RemoveKey (const unsigned int &keyIndex) |
virtual void | RemoveAllKeyFrames () |
virtual void | Update (const float &pos) |
Public Member Functions inherited from SO3::SData | |
SData (const std::string &dataName) | |
virtual | ~SData () |
std::string | GetName () const |
SUserObjectBindings & | GetUserObjectBindings () |
const SUserObjectBindings & | GetUserObjectBindings () const |
Protected Member Functions | |
SAnimTrack (const std::string &animationTrackName, SAnim *animation, const AnimTrackType &animationTrackType) | |
Protected Attributes | |
Ogre::AnimationTrack * | ogreAnimationTrack |
Protected Attributes inherited from SO3::SData | |
std::string | name |
Detailed Description
Definition at line 41 of file SO3AnimTrack.h.
Member Enumeration Documentation
◆ AnimTrackType
Enumerator | |
---|---|
SO3_NODE_TRACK | |
SO3_VERTEX_TRACK | |
SO3_NUMERIC_TRACK | |
SO3_POSE_TRACK | |
SO3_SEQUENCE_TRACK |
Definition at line 44 of file SO3AnimTrack.h.
Constructor & Destructor Documentation
◆ ~SAnimTrack()
|
virtual |
Definition at line 52 of file SO3AnimTrack.cpp.
◆ SAnimTrack()
|
protected |
Constructor for a anim track.
Definition at line 38 of file SO3AnimTrack.cpp.
Member Function Documentation
◆ _Clone()
Ogre::AnimationTrack * SO3::SAnimTrack::_Clone | ( | Ogre::Animation * | tanim, |
const unsigned short & | tid | ||
) |
Definition at line 129 of file SO3AnimTrack.cpp.
◆ CreateKey()
|
virtual |
Reimplemented in SO3::SNodeAnimationTrack.
Definition at line 91 of file SO3AnimTrack.cpp.
◆ GetKeyPositionTime()
|
virtual |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 106 of file SO3AnimTrack.cpp.
◆ GetKeyTransform()
|
virtual |
Reimplemented in SO3::SNodeAnimationTrack.
Definition at line 99 of file SO3AnimTrack.cpp.
◆ GetNumKeyFrames()
|
virtual |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 73 of file SO3AnimTrack.cpp.
◆ GetOgreAnimationTrackPointer()
Ogre::AnimationTrack * SO3::SAnimTrack::GetOgreAnimationTrackPointer | ( | ) |
Definition at line 58 of file SO3AnimTrack.cpp.
◆ GetParentAnimation()
SAnim * SO3::SAnimTrack::GetParentAnimation | ( | ) |
Definition at line 68 of file SO3AnimTrack.cpp.
◆ GetType()
SAnimTrack::AnimTrackType SO3::SAnimTrack::GetType | ( | ) |
Definition at line 63 of file SO3AnimTrack.cpp.
◆ RemoveAllKeyFrames()
|
virtual |
Reimplemented in SO3::SNodeAnimationTrack, and SO3::SSequenceAnimationTrack.
Definition at line 125 of file SO3AnimTrack.cpp.
◆ RemoveKey()
|
virtual |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 119 of file SO3AnimTrack.cpp.
◆ SetKeyTransform()
|
virtual |
Reimplemented in SO3::SNodeAnimationTrack.
Definition at line 95 of file SO3AnimTrack.cpp.
◆ SetOptimise()
void SO3::SAnimTrack::SetOptimise | ( | ) |
Definition at line 81 of file SO3AnimTrack.cpp.
◆ Update()
|
virtual |
Reimplemented in SO3::SSequenceAnimationTrack.
Definition at line 87 of file SO3AnimTrack.cpp.
Member Data Documentation
◆ ogreAnimationTrack
|
protected |
Definition at line 53 of file SO3AnimTrack.h.
The documentation for this class was generated from the following files:
- include/SO3Animation/SO3AnimTrack.h
- src/SO3Animation/SO3AnimTrack.cpp
Generated by 1.9.8