Page principale   Hiérarchie des classes   Liste des composants   Liste des fichiers   Composants   Déclarations   Pages associées  

Solide.h

00001 #include "GD_Objet.h"
00002 
00003 #ifndef SOLIDE_H
00004 #define SOLIDE_H
00005 
00007 #define IS_SOLIDE(gdobjet) (SOLIDE==(gdobjet->getType()/10)*10)
00008 
00012 class Solide: public GD_Objet {
00013  protected:
00014   /*********************************************************/
00016   dGeomID geom;
00018   dBodyID body;
00020   dMass masse;
00021 
00022  public:
00023   /*********************************************************/
00025 
00026     
00031   Solide ( Container* _container=0  );
00032 
00037   virtual ~Solide ( void  );
00038 
00040   /*********************************************************/
00042 
00043     
00045   dGeomID getGeomID ( void );
00047   dBodyID getBodyID ( void );
00048 
00050   /*********************************************************/
00055     
00056   void setPosition ( double* position );
00057   void getPosition ( double* position ); // passer un double[3]
00058 
00059   void setRotation ( double* rotation );
00060   void getRotation ( double* rotation ); // passer un double[3*4]
00061 
00062   void getAABB(double* aabb);
00064   /*********************************************************/
00065 
00066 };
00067 
00068 #endif

Cette documentation a été généré le 24 May 2003 par Doxygen version 1.3-rc3.
Pour tout renseignements :