Project

General

Profile

SO3Engine
SO3::SNodeAnimationTrack Class Reference

#include <SO3NodeAnimationTrack.h>

Inheritance diagram for SO3::SNodeAnimationTrack:
SO3::SAnimTrack SO3::SData

Public Member Functions

 SNodeAnimationTrack (const std::string &animationTrackName, SNodeAnimation *animation, const unsigned short &nodeTrackAnimationId)
 
 ~SNodeAnimationTrack ()
 
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 void RemoveAllKeyFrames ()
 
- Public Member Functions inherited from SO3::SAnimTrack
virtual ~SAnimTrack ()
 
SAnimGetParentAnimation ()
 
Ogre::AnimationTrack * GetOgreAnimationTrackPointer ()
 
AnimTrackType GetType ()
 
void SetOptimise ()
 
Ogre::AnimationTrack * _Clone (Ogre::Animation *tanim, const unsigned short &tid)
 
virtual unsigned short GetNumKeyFrames ()
 
virtual float GetKeyPositionTime (const unsigned int &keyIndex)
 
virtual void RemoveKey (const unsigned int &keyIndex)
 
virtual void Update (const float &pos)
 
- Public Member Functions inherited from SO3::SData
 SData (const std::string &dataName)
 
virtual ~SData ()
 
std::string GetName () const
 
SUserObjectBindingsGetUserObjectBindings ()
 
const SUserObjectBindingsGetUserObjectBindings () const
 

Additional Inherited Members

- Public Types inherited from SO3::SAnimTrack
enum  AnimTrackType {
  SO3_NODE_TRACK = 0 , SO3_VERTEX_TRACK = 1 , SO3_NUMERIC_TRACK = 2 , SO3_POSE_TRACK = 3 ,
  SO3_SEQUENCE_TRACK = 4
}
 
- Protected Member Functions inherited from SO3::SAnimTrack
 SAnimTrack (const std::string &animationTrackName, SAnim *animation, const AnimTrackType &animationTrackType)
 
- Protected Attributes inherited from SO3::SAnimTrack
Ogre::AnimationTrack * ogreAnimationTrack
 
- Protected Attributes inherited from SO3::SData
std::string name
 

Detailed Description

Definition at line 33 of file SO3NodeAnimationTrack.h.

Constructor & Destructor Documentation

◆ SNodeAnimationTrack()

SO3::SNodeAnimationTrack::SNodeAnimationTrack ( const std::string &  animationTrackName,
SNodeAnimation animation,
const unsigned short &  nodeTrackAnimationId 
)

Constructor for a SO3_NODE_TRACK anim track.

Definition at line 32 of file SO3NodeAnimationTrack.cpp.

◆ ~SNodeAnimationTrack()

SO3::SNodeAnimationTrack::~SNodeAnimationTrack ( )

Definition at line 37 of file SO3NodeAnimationTrack.cpp.

Member Function Documentation

◆ CreateKey()

void SO3::SNodeAnimationTrack::CreateKey ( const float &  timepos,
const Ogre::Vector3 &  pos,
const Ogre::Quaternion &  quat,
const Ogre::Vector3 &  scale 
)
virtual

Reimplemented from SO3::SAnimTrack.

Definition at line 47 of file SO3NodeAnimationTrack.cpp.

◆ GetKeyTransform()

void SO3::SNodeAnimationTrack::GetKeyTransform ( const unsigned int &  keyIndex,
Ogre::Vector3 &  pos,
Ogre::Quaternion &  quat,
Ogre::Vector3 &  scale 
)
virtual

Reimplemented from SO3::SAnimTrack.

Definition at line 75 of file SO3NodeAnimationTrack.cpp.

◆ RemoveAllKeyFrames()

void SO3::SNodeAnimationTrack::RemoveAllKeyFrames ( )
virtual

Reimplemented from SO3::SAnimTrack.

Definition at line 94 of file SO3NodeAnimationTrack.cpp.

◆ SetKeyTransform()

void SO3::SNodeAnimationTrack::SetKeyTransform ( const unsigned int &  keyIndex,
const Ogre::Vector3 &  pos,
const Ogre::Quaternion &  quat,
const Ogre::Vector3 &  scale 
)
virtual

Reimplemented from SO3::SAnimTrack.

Definition at line 60 of file SO3NodeAnimationTrack.cpp.


The documentation for this class was generated from the following files: