00001 /*************************************************************************** 00002 SimJoint.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 SIMJOINT_H 00019 #define SIMJOINT_H 00020 00021 #include "Joint.h" 00022 #include "Controller.h" 00023 #include "SimRigidBody.h" 00024 #include "Graph.h" 00025 00030 class SimJoint : public Joint, public Connection , public Controller { 00031 public: 00032 SimJoint(SimRigidBody * body1, SimRigidBody * body2); 00033 ~SimJoint(); 00034 void swap(); 00035 void setIsEnabled (const bool isEnabled); 00036 void virtual print() const; 00037 }; 00038 00039 #endif