00001 #include "Component/ModelComponent.H" 00002 #include "Component/ModelParam.H" 00003 #include "Media/FrameSeries.H" 00004 #include "Transport/FrameInfo.H" 00005 #include "Raster/GenericFrame.H" 00006 #include "Image/Image.H" 00007 #include "GUI/XWinManaged.H" 00008 #include "GUI/ImageDisplayStream.H" 00009 #include "Image/Image.H" 00010 #include "Image/Pixels.H" 00011 #include "Robots/RobotBrain/RobotBrainComponent.H" 00012 #include "Ice/RobotBrainObjects.ice.H" 00013 #include "Ice/RobotSimEvents.ice.H" 00014 #include "Ice/IceImageUtils.H" 00015 #include <IceUtil/Thread.h> 00016 #include "Robots/SeaBeeIII/CameraManager.H" 00017 #include "Robots/SeaBeeIII/Camera.H" 00018 #include "Image/ShapeOps.H" 00019 #include "Raster/DeBayer.H" 00020 #include <vector> 00021 00022 00023 class StereoRetinaI : public RobotBrainComponent 00024 { 00025 public: 00026 00027 StereoRetinaI(int id, OptionManager& mgr, 00028 const std::string& descrName = "StereoRetina", 00029 const std::string& tagName = "StereoRetina"); 00030 00031 ~StereoRetinaI(); 00032 00033 virtual void evolve(); 00034 00035 //!Get a message 00036 virtual void updateMessage(const RobotSimEvents::EventMessagePtr& eMsg, 00037 const Ice::Current&); 00038 00039 virtual void registerTopics(); 00040 00041 private: 00042 bool itsRunning; 00043 CameraManager cameraManager; 00044 //std::vector<Camera*> cameras; 00045 Camera* camera; 00046 }; 00047