trackable.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 * Copyright (C) 2005 by Robot Group Leipzig * 00003 * martius@informatik.uni-leipzig.de * 00004 * fhesse@informatik.uni-leipzig.de * 00005 * der@informatik.uni-leipzig.de * 00006 * * 00007 * This program is free software; you can redistribute it and/or modify * 00008 * it under the terms of the GNU General Public License as published by * 00009 * the Free Software Foundation; either version 2 of the License, or * 00010 * (at your option) any later version. * 00011 * * 00012 * This program is distributed in the hope that it will be useful, * 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00015 * GNU General Public License for more details. * 00016 * * 00017 * You should have received a copy of the GNU General Public License * 00018 * along with this program; if not, write to the * 00019 * Free Software Foundation, Inc., * 00020 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00021 * * 00022 * $Log: trackable.h,v $ 00023 * Revision 1.2 2006/07/14 12:23:57 martius 00024 * selforg becomes HEAD 00025 * 00026 * Revision 1.1.2.6 2006/07/10 11:59:23 martius 00027 * Matrixlib now in selforg 00028 * no namespace std in header files 00029 * 00030 * Revision 1.1.2.5 2006/03/30 12:35:09 martius 00031 * documentation updated 00032 * 00033 * Revision 1.1.2.4 2006/01/31 15:47:37 martius 00034 * virtual destructor 00035 * 00036 * Revision 1.1.2.3 2005/12/11 23:35:08 martius 00037 * *** empty log message *** 00038 * 00039 * Revision 1.1.2.2 2005/11/16 11:23:30 martius 00040 * const 00041 * 00042 * Revision 1.1.2.1 2005/11/14 17:37:56 martius 00043 * moved to selforg 00044 * 00045 * * 00046 ***************************************************************************/ 00047 #ifndef __TRACKABLE_H 00048 #define __TRACKABLE_H 00049 00050 #include <selforg/position.h> 00051 #include <selforg/matrix.h> 00052 00053 /** 00054 * Abstract class (interface) for trackable objects (used for robots) 00055 * 00056 * 00057 */ 00058 class Trackable{ 00059 public: 00060 00061 /** 00062 * Constructor 00063 */ 00064 Trackable(){ 00065 }; 00066 00067 virtual ~Trackable() {}; 00068 00069 /** returns position of the object 00070 @return vector of position (x,y,z) 00071 */ 00072 virtual Position getPosition() const =0; 00073 00074 /** returns linear speed vector of the object 00075 @return vector (vx,vy,vz) 00076 */ 00077 virtual Position getSpeed() const =0; 00078 00079 /** returns the orientation of the object 00080 @return 3x3 rotation matrix 00081 */ 00082 virtual matrix::Matrix getOrientation() const =0; 00083 00084 }; 00085 00086 #endif 00087

Generated on Tue Jan 16 02:14:38 2007 for Robotsystem of the Robot Group Leipzig by doxygen 1.3.8