Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

vpmovement.h

Go to the documentation of this file.
00001 //deprecated
00003 //
00004 //  PROJECT.....: vpat - Creating Virtual Patients
00005 //  RESPONSIBLE.: Carla Freitas e Luciana Nedel
00006 //
00007 //  FILE........: vpmovment.h
00008 //  DESCRIPTION.: Contain the VPMovement class declarations.
00009 //
00010 //  AUTHOR......: Anderson Maciel
00011 //  DATE........: June/06/2001
00012 //  DESCRIPTION.: Class and new methods declaration.
00013 //
00015 // Registro de Alteracoes
00016 // 04/MAI/04 - Bruno Schneider
00017 // - alterei os includes
00018 
00019 
00020 #ifndef __VPMOVEMENT_H
00021 #define __VPMOVEMENT_H
00022 
00023 #include <vpxml.h>
00024 #include <vpjoint.h>
00025 #include <vpdof.h>
00026 #include <vpjointmotion.h>
00027 
00028 #include <dom/deprecated/DOM_DOMException.hpp>
00029 #include <dom/deprecated/DOMParser.hpp>
00030 #include <dom/deprecated/DOM_NamedNodeMap.hpp>
00031 
00032 #include <string>
00033 using namespace std;
00034 
00035 #define INIT_TIME -0.1
00036 
00037 
00038 //-----------------------------------------------------------------------
00039 // V P M O V E M E N T
00040 //-----------------------------------------------------------------------
00041 
00043 // Class Name: VPMovement
00044 // Superclass: none
00045 // Subclass: none
00047 
00048 class VPMovement {
00049 
00050   private:
00051     string  bodyName;
00052     bool    cycle;
00053     float   deltaT;
00054     float   time;
00055     float   tFinal;
00056     float   time_err;
00057     int     qtdMotion;
00058 
00059     VPJointMotion *motionTimeline;
00060 
00061   public:
00062     VPMovement();
00063       VPMovement( string, bool, float, float );
00064       ~VPMovement();
00065     
00066       float         vpGetDeltaT();
00067       float         vpGetTime();
00068       float         vpGetTimeFinal();
00069       float         vpGetTime_Err();
00070       bool          vpGetCycle();
00071       int           vpGetQtdMotion();
00072       VPJointMotion *vpGetTimeline();
00073     
00074       void  vpSetDeltaT( float );
00075       void  vpSetTime( float );
00076       void  vpSetTimeFinal( float );
00077       void  vpSetTime_Err( float );
00078       void  vpSetCycle( bool );
00079       void  vpSetQtdMotion( int );
00080     
00081       void  vpLoadMotionFile( char *fileName );
00082 };
00083 
00084 #endif

Generated on Tue Sep 6 10:00:05 2005 for VPAT by  doxygen 1.4.4