11#ifndef CAL_CORETRACK_H
12#define CAL_CORETRACK_H
18#include "cal3d/global.h"
19#include "cal3d/matrix.h"
20#include "cal3d/vector.h"
21#include "cal3d/quaternion.h"
73 bool setCoreBoneId(
int coreBoneId);
75 int getCoreKeyframeCount();
79 void removeCoreKeyFrame(
int _i) { m_keyframes.erase( m_keyframes.begin() + _i); }
81 void scale(
float factor);
84 std::vector<CalCoreKeyframe*>::iterator getUpperBound(
float time);
The core keyframe class.
Definition corekeyframe.h:32
Definition coretrack.h:39
int m_coreBoneId
The index of the associated CoreBone in the CoreSkeleton.
Definition coretrack.h:43
int getCoreBoneId()
Returns the ID of the core bone.
Definition coretrack.h:68
std::vector< CalCoreKeyframe * > m_keyframes
List of keyframes, always sorted by time.
Definition coretrack.h:46
The quaternion class.
Definition quaternion.h:36
The vector class.
Definition vector.h:37