- Cal3D 0.9 API Reference -

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

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 // Includes                                                                   //
00016 //****************************************************************************//
00017 
00018 #include "cal3d/global.h"
00019 #include "cal3d/vector.h"
00020 
00021 //****************************************************************************//
00022 // Class declaration                                                          //
00023 //****************************************************************************//
00024 
00025  /*****************************************************************************/
00029 class CAL3D_API CalCoreSubMorphTarget
00030 {
00031 // misc
00032 public:
00034   typedef struct
00035   {
00036      CalVector position;
00037      CalVector normal;
00038   } BlendVertex;
00039   
00040 // member variables
00041 protected:
00042   std::vector<BlendVertex> m_vectorBlendVertex;
00043 
00044 // constructors/destructor
00045 public:
00046   CalCoreSubMorphTarget();
00047   virtual ~CalCoreSubMorphTarget();
00048 
00049 // member functions
00050 public:
00051   bool create();
00052   void destroy();
00053   int getBlendVertexCount();
00054   std::vector<BlendVertex>& getVectorBlendVertex();
00055   bool reserve(int blendVertexCount);
00056   bool setBlendVertex(int vertexId, const BlendVertex& vertex);
00057 };
00058 #endif
00059 //****************************************************************************//

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