- Cal3D 0.9 API Reference - |
00001 //****************************************************************************// 00002 // coremorphanimation.h // 00003 // Copyright (C) 2003 Steven Geens // 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_COREMORPHANIMATION_H 00012 #define CAL_COREMOPRHANIMATION_H 00013 00014 //****************************************************************************// 00015 // Includes // 00016 //****************************************************************************// 00017 00018 #include "cal3d/global.h" 00019 00020 //****************************************************************************// 00021 // Class declaration // 00022 //****************************************************************************// 00023 00024 /*****************************************************************************/ 00028 class CAL3D_API CalCoreMorphAnimation 00029 { 00030 // member variables 00031 protected: 00032 std::vector<int> m_vectorCoreMeshID; 00033 std::vector<int> m_vectorMorphTargetID; 00034 00035 // constructors/destructor 00036 public: 00037 CalCoreMorphAnimation(); 00038 virtual ~CalCoreMorphAnimation(); 00039 00040 // member functions 00041 public: 00042 bool addMorphTarget(int coreMeshID,int morphTargetID); 00043 bool create(); 00044 void destroy(); 00045 std::vector<int>& getVectorCoreMeshID(); 00046 std::vector<int>& getVectorMorphTargetID(); 00047 }; 00048 00049 #endif 00050 00051 //****************************************************************************//