Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MonoImageSegmentManager.hpp
00001 /* $Id$ */
00002 
00003 #ifndef _JAFAR_SLAMSEG_IMAGE_SEGMENT_MANAGER_HPP_
00004 #define _JAFAR_SLAMSEG_IMAGE_SEGMENT_MANAGER_HPP_
00005 
00006 #include <jafarConfig.h>
00007 #include <slam/segmentFeature.hpp>
00008 #include <kernel/IdFactory.hpp>
00009 
00010 namespace jafar {
00011   namespace kernel {
00012     class IdFactory<unsigned int>;
00013   }
00014   namespace datareader {
00015     class ImageReader;
00016   }
00017   namespace dseg {
00018     class DirectSegmentsDetectorBase;
00019     class DirectSegmentsTracker;
00020     class Predictor;
00021     class SegmentsSet;
00022   }
00023   namespace slam {
00024     class BaseSlam;
00025     class SegmentObservationsSelector;
00026   }
00027   namespace slamseg {
00028     class MonoImageSegmentManager {
00029       public:
00030         MonoImageSegmentManager( slam::BaseSlam& _slam, jafar::datareader::ImageReader* _imageReader, const dseg::Predictor* _predictor = 0, kernel::IdFactory<>* _factory = 0, 
00031              slam::Observation::ObservationType type_ = slam::Observation::SEGMENT_IMAGE);
00032         ~MonoImageSegmentManager();
00033         void setObservationsSelector(jafar::slam::SegmentObservationsSelector* _observationsSelector);
00034         void processFrame(unsigned int frameIndex_,unsigned int robotId_ = 0, unsigned int stereoSensorId_ = 0);
00035         dseg::DirectSegmentsDetectorBase* detector();
00036         const dseg::SegmentsSet& currentLines() const;
00037         void setProcessEvents(int events_);
00038       private:
00039         struct Private;
00040         Private* const d;
00041     };
00042   }
00043 }
00044 
00045 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:28 for Jafar by doxygen 1.7.6.1
LAAS-CNRS