00001 /*************************************************************************** 00002 SimRigidBody.h - description 00003 ------------------- 00004 begin : mar jui 29 2003 00005 copyright : (C) 2003 by Michel DUBOIS, Yann Le Guyadec 00006 email : Michel.Dubois@univ-ubs.fr, Yann.Le-Guyadec@univ-ubs.fr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef SIMRIGIDBODY_H 00019 #define SIMRIGIDBODY_H 00020 00021 #include "RigidBody.h" 00022 #include "Graph.h" 00023 #include "SimIsland.h" 00024 00025 00030 class SimIsland; 00031 00032 class SimRigidBody : public RigidBody, public Vertex { 00033 private : 00034 //SimIsland * simisland; 00035 public: 00036 SimRigidBody(); 00037 ~SimRigidBody(); 00038 SimIsland * getSimIsland() const; 00039 void setSimIsland(SimIsland * aSimIsland); 00040 void setIsEnabled (const bool isEnabled); 00041 bool getIsEnabled () const; 00042 void print(); 00043 Island * getIsland() const; 00044 void setIsland(Island * aIsland); 00045 00046 }; 00047 00048 #endif