- Cal3D 0.9 API Reference -

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

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 // Includes                                                                   //
00016 //****************************************************************************//
00017 
00018 #include "cal3d/global.h"
00019 #include "cal3d/matrix.h"
00020 #include "cal3d/vector.h"
00021 #include "cal3d/quaternion.h"
00022 
00023 //****************************************************************************//
00024 // Class declaration                                                          //
00025 //****************************************************************************//
00026 
00027  /*****************************************************************************/
00031 class CAL3D_API CalCoreKeyframe
00032 {
00033 // member variables
00034 protected:
00035   float m_time;
00036   CalVector m_translation;
00037   CalQuaternion m_rotation;
00038 
00039 // constructors/destructor
00040 public:
00041   CalCoreKeyframe();
00042   virtual ~CalCoreKeyframe();
00043 
00044 // member functions
00045 public:
00046   bool create();
00047   void destroy();
00048   const CalQuaternion& getRotation();
00049   float getTime();
00050   const CalVector& getTranslation();
00051   void setRotation(const CalQuaternion& rotation);
00052   void setTime(float time);
00053   void setTranslation(const CalVector& translation);
00054 };
00055 
00056 #endif
00057 
00058 //****************************************************************************//

Generated at Sun Oct 12 18:38:47 2003 by The Cal3D Team with doxygen 1.2.14 © 1997-2001 Dimitri van Heesch