- Cal3D 0.9 API Reference -

corekeyframe.h

00001 //****************************************************************************//
00002 // corekeyframe.h                                                             //
00003 // Copyright (C) 2001, 2002 Bruno 'Beosil' Heidelberger                       //
00004 //****************************************************************************//
00005 // This library is free software; you can redistribute it and/or modify it    //
00006 // under the terms of the GNU Lesser General Public License as published by   //
00007 // the Free Software Foundation; either version 2.1 of the License, or (at    //
00008 // your option) any later version.                                            //
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 //****************************************************************************//

Generated at Mon Jul 3 11:16:28 2006 by The Cal3D Team with doxygen 1.4.6 © 1997-2001 Dimitri van Heesch