00001 #include "Joint.h"
00002
00003 #ifndef GLISSIERE_H
00004 #define GLISSIERE_H
00005
00009 class Glissiere : public Joint {
00010 public:
00011
00013
00014
00021 Glissiere(Container *_container,GD_Objet *_objet1=0,GD_Objet *_objet2=0);
00025 ~Glissiere(void);
00026
00027
00029
00034
00035 void setPosition ( double* position );
00036 void getPosition ( double* position );
00037
00038 void setRotation ( double* rotation );
00039 void getRotation ( double* rotation );
00040
00041 void setEchelle(double* echelle) ;
00042 void getEchelle(double* echelle) ;
00043
00045
00050
00054 void setAnchor ( double *position ) ;
00055
00066 void getAnchor ( double *position , bool voisins=false) const;
00067
00072 void setAxis ( double *axis ) ;
00078 void getAxis ( double *axis ) const;
00079
00090 void setForce(double force);
00091
00097 void setVel(double vel);
00098
00107 void getExtension(double *extension) const;
00108
00114 void getExtensionRate(double *rate) const;
00116
00117
00118 };
00119
00120 #endif