00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef CAL_COREKEYFRAME_H
00012 #define CAL_COREKEYFRAME_H
00013
00014
00015 #include "cal3d/global.h"
00016 #include "cal3d/matrix.h"
00017 #include "cal3d/vector.h"
00018 #include "cal3d/quaternion.h"
00019
00020
00021 class CAL3D_API CalCoreKeyframe
00022 {
00023 public:
00024 CalCoreKeyframe();
00025 ~CalCoreKeyframe() { }
00026
00027 const CalQuaternion& getRotation();
00028 float getTime();
00029 const CalVector& getTranslation();
00030 void setRotation(const CalQuaternion& rotation);
00031 void setTime(float time);
00032 void setTranslation(const CalVector& translation);
00033
00034 private:
00035 float m_time;
00036 CalVector m_translation;
00037 CalQuaternion m_rotation;
00038 };
00039
00040 #endif
00041
00042