Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Composants | Déclarations

SimLinkedLeg.h

Aller à la documentation de ce fichier.
00001 /***************************************************************************
00002                           SimLinkedLeg.h  -  description
00003                              -------------------
00004     begin                : lun jui 21 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 SIMLINKEDLEG_H
00019 #define SIMLINKEDLEG_H
00020 #include "SimLeg.h"
00021 #include "SimRigidBody.h"
00022 
00026 #ifdef LEGLINK
00027 class SimLeg;
00028  
00029 class SimLinkedLeg {
00030   private :
00031     SimLeg * sleg1;
00032     SimLeg * sleg2;
00033 
00034     SimRigidBody * linkBody;
00035     CylinderGeometry * linkGeometry;
00036     RigidBodyCollider * linkCollider;
00037     
00038   public:
00039       SimLinkedLeg(SimLeg * aSimLeg, SimLeg * anotherSimLeg);
00040       ~SimLinkedLeg();
00041     bool isConnectable();
00042     void link();
00043     void unlink();
00044     Vector3 getAbsPosEnd() const;
00045     Vector3 getAbsPosBody1() const;
00046     Vector3 getAbsPosBody2() const;
00047 
00048 
00049 };
00050 #endif
00051 
00052 
00053 #endif

Généré le Mon Mar 1 01:29:41 2004 par doxygen 1.3.3