EHS
ehs::KeyFrame Class Reference

#include <KeyFrame.h>

Public Member Functions

 KeyFrame ()
 
 KeyFrame (const float num, const float timeStamp, const Vec3_f &pos, const Quat_f &rot, const Vec3_f &scale)
 
 KeyFrame (const float num, const float timeStamp)
 
 KeyFrame (const KeyFrame &kf)
 
KeyFrameoperator= (const KeyFrame &kf)
 
float GetNum () const
 
float GetTimeStamp () const
 
void SetPos (const Vec3_f &newPos)
 
Vec3_f GetPos () const
 
void SetRot (const Quat_f &newRot)
 
Quat_f GetRot () const
 
void SetScale (const Vec3_f &newScale)
 
Vec3_f GetScale () const
 
void CalculateTransform ()
 
Mat4_f GetTrans () const
 

Static Public Member Functions

static Mat4_f Interpolate (const KeyFrame &prev, const KeyFrame &next, const float percentage)
 

Constructor & Destructor Documentation

◆ KeyFrame() [1/4]

ehs::KeyFrame::KeyFrame ( )

◆ KeyFrame() [2/4]

ehs::KeyFrame::KeyFrame ( const float  num,
const float  timeStamp,
const Vec3_f pos,
const Quat_f rot,
const Vec3_f scale 
)

◆ KeyFrame() [3/4]

ehs::KeyFrame::KeyFrame ( const float  num,
const float  timeStamp 
)

◆ KeyFrame() [4/4]

ehs::KeyFrame::KeyFrame ( const KeyFrame kf)

Member Function Documentation

◆ CalculateTransform()

void ehs::KeyFrame::CalculateTransform ( )

◆ GetNum()

float ehs::KeyFrame::GetNum ( ) const

◆ GetPos()

Vec3_f ehs::KeyFrame::GetPos ( ) const

◆ GetRot()

Quat_f ehs::KeyFrame::GetRot ( ) const

◆ GetScale()

Vec3_f ehs::KeyFrame::GetScale ( ) const

◆ GetTimeStamp()

float ehs::KeyFrame::GetTimeStamp ( ) const

◆ GetTrans()

Mat4_f ehs::KeyFrame::GetTrans ( ) const

◆ Interpolate()

Mat4_f ehs::KeyFrame::Interpolate ( const KeyFrame prev,
const KeyFrame next,
const float  percentage 
)
static

◆ operator=()

KeyFrame & ehs::KeyFrame::operator= ( const KeyFrame kf)

◆ SetPos()

void ehs::KeyFrame::SetPos ( const Vec3_f newPos)

◆ SetRot()

void ehs::KeyFrame::SetRot ( const Quat_f newRot)

◆ SetScale()

void ehs::KeyFrame::SetScale ( const Vec3_f newScale)

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