ImageInputSystem.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                         ImageInputSystem.h - Copyright klank
00021 
00022 
00023 **************************************************************************/
00024 
00025 
00026 #ifndef IMAGEINPUTSYSTEM_H
00027 #define IMAGEINPUTSYSTEM_H
00028 
00029 #include <string>
00030 #include <vector>
00031 #include "RelPoseFactory.h"
00032 
00033 #include "Sensor.h"
00034 
00035 #define XML_NODE_IMAGEINPUTSYSTEM "ImageInputSystem"
00036 #define XML_ATTIBUTE_READINGCONVERTER "ReadingConverter"
00037 
00038 namespace cop
00039 {
00047   class ImageInputSystem
00048   {
00049   public:
00050 
00051     // Constructors/Destructors
00052     //
00053 
00054 
00058     ImageInputSystem (  XMLTag* ConfigFile );
00059 
00063     virtual ~ImageInputSystem ( );
00064 
00065     XMLTag* Save();
00066 
00070     void AddSensor(Sensor* cam);
00071     Sensor* GetSensor(unsigned int index){if(index < m_cameras.size())return m_cameras[index];else return NULL;}
00072 
00080     std::vector<Sensor*> GetBestSensor(RelPose &pose);
00081     std::vector<Sensor*> GetAllSensors() const {return m_cameras;};
00082     std::string m_stConverterNames;
00083   private:
00084     std::vector<Sensor*> m_cameras;
00085   };
00086 }
00087 #endif // IMAGEINPUTSYSTEM_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Thu May 23 2013 07:38:34