- Cal3D 0.11 API Reference -

coresubmorphtarget.h

00001 //****************************************************************************//
00002 // coresubmorphtarget.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_CORESUBMORPHTARGET_H
00012 #define CAL_CORESUBMORPHTARGET_H
00013 
00014 
00015 #include "cal3d/global.h"
00016 #include "cal3d/vector.h"
00017 
00018 
00019 class CAL3D_API CalCoreSubMorphTarget
00020 {
00021 public:
00022   struct BlendVertex
00023   {
00024      CalVector position;
00025      CalVector normal;
00026   };
00027   
00028 public:
00029   CalCoreSubMorphTarget()  { }
00030   ~CalCoreSubMorphTarget() { }
00031 
00032   int getBlendVertexCount();
00033   std::vector<BlendVertex>& getVectorBlendVertex();
00034   bool reserve(int blendVertexCount);
00035   bool setBlendVertex(int vertexId, const BlendVertex& vertex);
00036 
00037 private:
00038   std::vector<BlendVertex> m_vectorBlendVertex;
00039 };
00040 #endif
00041 //****************************************************************************//

Generated at Thu Jun 29 19:03:59 2006 by The Cal3D Team with Doxygen 1.4.6