00001 //deprecated 00003 // 00004 // PROJECT.....: vpat - Creating Virtual Patients 00005 // RESPONSIBLE.: Carla Freitas e Luciana Nedel 00006 // 00007 // FILE........: vpmotion.h 00008 // DESCRIPTION.: Contain the VPMotion class declarations. 00009 // 00010 // AUTHOR......: Anderson Maciel 00011 // DATE........: June/06/2001 00012 // DESCRIPTION.: Class and new methods declaration. 00013 // 00015 00016 #ifndef __VPJOINTMOTION_H 00017 #define __VPJOINTMOTION_H 00018 00019 00020 #include <string> 00021 using namespace std; 00022 00023 #define FLEX 0 00024 #define ADDUCT 1 00025 #define TWIST 2 00026 00027 //----------------------------------------------------------------------- 00028 // V P J O I N T M O T I O N 00029 //----------------------------------------------------------------------- 00030 00032 // Class Name: VPMovement 00033 // Superclass: none 00034 // Subclass: none 00036 00037 class VPJointMotion { 00038 00039 private: 00040 string jointName; 00041 int motionType; 00042 float t0; 00043 float tf; 00044 float parameter; 00045 float deltaS; 00046 00047 public: 00048 VPJointMotion(); 00049 VPJointMotion( string, int, float, float, float ); 00050 ~VPJointMotion(); 00051 00052 string vpGetJointName(); 00053 int vpGetMotionType(); 00054 float vpGetTimeIni(); 00055 float vpGetTimeFin(); 00056 float vpGetParameter(); 00057 float vpGetDeltaS(); 00058 00059 void vpSetJointName( string ); 00060 void vpSetMotionType( int ); 00061 void vpSetTimeIni( float ); 00062 void vpSetTimeFin( float ); 00063 void vpSetParameter( float ); 00064 void vpSetDeltaS( float ); 00065 00066 }; 00067 00068 #endif