00001 /*************************************************************************** 00002 SimLink.h - description 00003 ------------------- 00004 begin : ven jun 27 2003 00005 copyright : (C) 2003 by Yann Le Guyadec, Michel DUBOIS 00006 email : Yann.Le-Guyadec@univ-ubs.fr, Michel.Dubois@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 SIMLINK_H 00019 #define SIMLINK_H 00020 #include "SimLeg.h" 00021 #include "FixedJoint.h" 00022 00023 #ifndef LEGLINK 00024 00028 class SimLeg; 00029 class SimLink 00030 { 00031 private : 00032 SimLeg * sleg1; 00033 SimLeg * sleg2; 00034 00035 HingeJoint * linkjoint; 00036 //FixedJoint * linkjoint; 00037 00038 RigidBody * bodyLeg1; 00039 RigidBody * bodyLeg2; 00040 RigidBody * bodyLink; 00041 00042 public: 00043 SimLink(SimLeg * aSimLeg, SimLeg * anotherSimLeg); 00044 ~SimLink(); 00045 }; 00046 00047 #endif 00048 #endif