| - Cal3D 0.11 API Reference - |
00001 //****************************************************************************// 00002 // coreMorphKeyframe.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_COREMORPHKEYFRAME_H 00012 #define CAL_COREMORPHKEYFRAME_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 CalCoreMorphKeyframe 00032 { 00033 // member variables 00034 protected: 00035 float m_time; 00036 float m_weight; 00037 00038 // constructors/destructor 00039 public: 00040 CalCoreMorphKeyframe(); 00041 virtual ~CalCoreMorphKeyframe(); 00042 00043 // member functions 00044 public: 00045 bool create(); 00046 void destroy(); 00047 float getTime() const; 00048 void setTime(float time); 00049 00050 float getWeight() const; 00051 void setWeight(float); 00052 }; 00053 00054 #endif 00055 00056 //****************************************************************************//