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

phPositionData.h

Go to the documentation of this file.
00001 #ifndef PHPOSITIONDATA_H
00002 #define PHPOSITIONDATA_H
00003 
00004 #include <phLiveObject.h>
00005 
00006 /* ------------------------------------------------------------------------ */
00007 class phPositionData : public phLiveObject
00008 {
00009 private:
00010     double  m_pose[3];
00011     double  m_size[2];
00012     double  m_px;
00013     double  m_py;
00014     double  m_pa;
00015     double  m_vx;
00016     double  m_vy;
00017     double  m_va;
00018     int     m_stall;
00019 
00020 public:
00021     phPositionData();
00022 
00023     int copy( phObject *copyto_obj);
00024     int swap( phObject *obj);
00025 
00026     int copyData( phPositionData &copyfrom );
00027     int swapData( phPositionData &data );
00028     
00029     int set(double    pose[3],       double    size[2],
00030             double    px,            double    py,            double    pa,
00031             double    vx,            double    vy,            double    va,
00032             int       stall );
00033 
00034     int get(double    *pose[3],      double    *size[2],
00035             double    *px,           double    *py,           double    *pa,
00036             double    *vx,           double    *vy,           double    *va,
00037             int       *stall );
00038 
00039     int getPoseArray( double *pose[3] );
00040     int getSize     ( double *size[2] );
00041 
00042     int getPose( double *px, double *py, double *pa );
00043     double get_px();
00044     double get_py();
00045     double get_pa();
00046     
00047     int getVelocity( double *vx, double *vy, double *va );
00048     double get_vx();
00049     double get_vy();
00050     double get_va();
00051 
00052     int get_stall();
00053 
00054     void print_data( );
00055 };
00056 
00057 #endif /* PHPOSITIONDATA_H */




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:07 2007 for phission by  doxygen 1.4.4