Biomechanical Joint Model
 Author: Anderson Maciel

comejointmotion.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2001 by Anderson Maciel                                 *
00003  *   andi.maciel@gmail.com                                                 *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  **************************************************************************/
00020 
00022 //
00023 //  PROJECT.....: 
00024 //  RESPONSIBLE.: 
00025 //
00026 //  FILE........: vpmotion.h
00027 //  DESCRIPTION.: Contain the COME_Motion class declarations.
00028 //
00029 //  AUTHOR......: Anderson Maciel
00030 //  DATE........: June/06/2001
00031 //  DESCRIPTION.: Class and new methods declaration.
00032 //
00034 
00035 #ifndef __COME_JOINTMOTION_H
00036 #define __COME_JOINTMOTION_H
00037 
00038 
00039 #include        <string>
00040 //using namespace std;
00041 
00042 #define FLEX    0
00043 #define ADDUCT  1
00044 #define TWIST   2
00045 
00046 //-----------------------------------------------------------------------
00047 // V P J O I N T M O T I O N
00048 //-----------------------------------------------------------------------
00049 
00051 // Class Name: COME_Movement
00052 // Superclass: none
00053 // Subclass: none
00054 
00055 class COME_JointMotion {
00056 
00057   private:
00058     string  jointName;
00059     int     motionType;
00060     float   t0;
00061     float   tf;
00062     float   parameter;
00063     float   deltaS;
00064 
00065   public:
00066           COME_JointMotion();
00067           COME_JointMotion( string, int, float, float, float );
00068           ~COME_JointMotion();
00069         
00070           string  getJointName();
00071           int     getMotionType();
00072     float   getTimeIni();
00073     float   getTimeFin();
00074     float   getParameter();
00075     float   getDeltaS();
00076 
00077     void    setJointName( string );
00078     void    setMotionType( int );
00079     void    setTimeIni( float );
00080     void    setTimeFin( float );
00081     void    setParameter( float );
00082     void    setDeltaS( float );
00083         
00084 };
00085 
00086 #endif

Generated on Thu Dec 1 10:13:33 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5