AnimaL |
Tutorial |
Documentation |
00001 // 00002 // C++ Interface: OctreeODEEngine 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_octreeOctreeODEEngine_h 00013 #define animal_octreeOctreeODEEngine_h 00014 00015 #include <OctreeEngine.h> 00016 00017 namespace animal { 00018 00019 namespace octree { 00020 00026 class OctreeODEEngine : public OctreeEngine 00027 { 00028 public: 00029 OctreeODEEngine(Vec3d bboxMin, Vec3d bboxMax, MFVec3f *points, MFVec3f normals, unsigned int nMaxPointsPerCell); 00030 00031 ~OctreeODEEngine(); 00032 00033 void integrate_VVerlet( FloatingPointType h ); 00034 00035 protected: 00036 virtual void compute_accelerations(int,int,int)=0; 00037 }; 00038 00039 }; 00040 00041 }; 00042 00043 #endif