LocateAlgorithm.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2009 by Ulrich Friedrich Klank <klank@in.tum.de>
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 3 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00018 
00019 /************************************************************************
00020                         LocateAlgorithm.h - Copyright klank
00021 
00022 
00023 **************************************************************************/
00024 
00025 
00026 #ifndef LOCATEALGORITHM_H
00027 #define LOCATEALGORITHM_H
00028 #include "Algorithm.h"
00029 #include "Reading.h"
00030 #include <string>
00031 #include <vector>
00032 
00033 
00034 namespace cop
00035 {
00040   class LocateAlgorithm : public Algorithm<std::vector<RelPose*> >
00041   {
00042   public:
00043 
00044     // Constructors/Destructors
00045     //
00046     static LocateAlgorithm* LocAlgFactory(XMLTag* tag);
00047 
00048 
00052     LocateAlgorithm (){};
00053 
00057     virtual ~LocateAlgorithm ( ){};
00058 
00067     virtual std::vector<RelPose*> Perform(std::vector<Sensor*> sensors, RelPose* pose, Signature& Object, int &numOfObjects, double& qualityMeasure) = 0;//{throw "Perform for LocateAlgorithm not implemented\n";}
00068 
00069     virtual double CheckSignature(const Signature& object, const std::vector<Sensor*> &sensors){return 0.0;}
00070 
00071     virtual bool TrackingPossible(const Reading& img, const Signature& sig, RelPose* pose);
00072     virtual XMLTag* Save() = 0;//{throw "Save for LocateAlgorithm not implemented\n";}
00073     virtual void SetData(XMLTag* tag){}
00074 
00075   };
00076 }
00077 #endif // LOCATEALGORITHM_H


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 10:48:45