RefineAlgorithm.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 #ifndef REFINEALGORITHM_H
00020 #define REFINEALGORITHM_H
00021 
00022 #include "Algorithm.h"
00023 #include "Descriptor.h"
00024 
00025 #define XML_NODE_REFINEALGORITHM "RefineAlgorithm"
00026 
00027 namespace cop
00028 {
00029   class RefineAlgorithm :
00030     public Algorithm<Descriptor*>
00031   {
00032   public:
00033     RefineAlgorithm(void);
00034     ~RefineAlgorithm(void);
00035 
00036     /*************************************************************************************
00037     *
00038     *
00039     *
00040     *
00041     *
00042     *************************************************************************************/
00043     virtual Descriptor* Perform(std::vector<Sensor*> sensors, RelPose* pose, Signature& Object, int &numOfObjects, double& qualityMeasure) = 0;
00044 
00045     double CheckSignature(const Signature& object, const std::vector<Sensor*> &sensors) = 0;
00046 
00047     virtual XMLTag* Save() = 0;//{throw "Save for LocateAlgorithm not implemented\n";}
00048 
00049     static RefineAlgorithm* RefineAlgFactory(XMLTag* tag);
00050 
00051     virtual std::string GetName(){return XML_NODE_REFINEALGORITHM;}
00052 
00053     virtual void SetData(XMLTag* tag){}
00054 
00055   };
00056 }
00057 #endif


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