Documentation


CellData.h

Go to the documentation of this file.
00001 //
00002 // C++ Interface: CellData
00003 //
00004 // Description: 
00005 //
00006 //
00007 // Author: François Faure <>, (C) 2004
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 #ifndef animal_octreeCellData_h
00013 #define animal_octreeCellData_h
00014 
00015 #include <deque>
00016 #include "fastoctreedeformableconstrained.h"
00017 #include "global.h"
00018 
00019 namespace animal {
00020 
00021 namespace octree {
00022 
00023 class ConstrainedVertex;
00024 class SFVec3fCellConstrained;
00025 typedef std::deque<SFVec3fCellConstrained*> OctreeDataPoints;
00026 
00027 typedef struct
00028 {
00029     std::vector< std::map<ConstrainedVertex*,Vec3d> > influenceMaps;
00030     std::vector<ConstrainedVertex*> vertices;
00031     std::vector<unsigned short> verticesId;
00032     std::vector<void*> parents; // Will be Cell*
00033     std::vector<Vec3d> firstCellVertexParameters; // the parameters of the first vertex in the parent cell
00034 }
00035 CellInfluenceData;
00036 
00042 class CellData{
00043 public:
00044     CellData();
00045 
00046     ~CellData();
00047 
00048     OctreeDataPoints _points;
00049     int _info1;
00050     unsigned int _depth;
00051     Vec3d _initialSize;
00052     CellInfluenceData _influence;
00053 };
00054 
00055 };
00056 
00057 };
00058 
00059 #endif

Generated on Thu Dec 23 13:52:23 2004 by doxygen 1.3.6