Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
featureSegment.hpp
Go to the documentation of this file.
00001 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00002  * Copyright RIA-LAAS/CNRS, 2011
00003  *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00004  *
00005  * File:      featureSegment.hpp
00006  * Project:   RT-Slam
00007  * Author:    Benjamin HAUTBOIS
00008  *
00009  * Version control
00010  * ===============
00011  *
00012  *  $Id$
00013  *
00014  * Description
00015  * ============
00016  *
00017  *
00018  * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
00019 
00027 #ifndef __FeatureSEGMENT_H__
00028 #define __FeatureSEGMENT_H__
00029 
00030 #ifdef HAVE_MODULE_DSEG
00031 
00032 #include "rtslam/featureAbstract.hpp"
00033 #include "rtslam/appearanceImage.hpp"
00034 #include "rtslam/appearanceSegment.hpp"
00035 #include "boost/shared_ptr.hpp"
00036 
00037 /* --------------------------------------------------------------------- */
00038 /* --- INCLUDE --------------------------------------------------------- */
00039 /* --------------------------------------------------------------------- */
00040 
00041 
00042 namespace jafar {
00043    namespace rtslam {
00044 
00045 //    class RawImageSimu;
00046 //    typedef boost::shared_ptr<RawImageSimu> rawimagesimu_ptr_t2;
00047 
00048       class FeatureSegment;
00049       typedef boost::shared_ptr<FeatureSegment> feat_seg_ptr_t;
00050 
00051       class FeatureSegment: public FeatureAbstract {
00052          public:
00053             FeatureSegment() : FeatureAbstract(4, appearance_ptr_t()) {
00054             }
00055             virtual ~FeatureSegment() {
00056             }
00057             void setup(double u1, double v1, double u2, double v2, double quality);
00058       };
00059 
00060 
00061       class FeatureImageSegment;
00062       typedef boost::shared_ptr<FeatureImageSegment> feat_img_seg_ptr_t;
00063 
00064       class FeatureImageSegment: public FeatureAbstract {
00065          public:
00066             FeatureImageSegment() : FeatureAbstract(4, appearance_ptr_t()) {
00067             }
00068             FeatureImageSegment(int width, int height, int depth)  : FeatureAbstract(4, appearance_ptr_t(new AppearanceImageSegment(width,height,depth))) {
00069             }
00070             virtual ~FeatureImageSegment() {
00071             }
00072             void setup(double u1, double v1, double u2, double v2, double quality);
00073       };
00074    }
00075 
00076 }
00077 
00078 #endif /* HAVE_MODULE_DSEG */
00079 
00080 #endif // #ifndef __FeatureSEGMENT_H__
00081 /*
00082  * Local variables:
00083  * mode: c++
00084  * indent-tabs-mode: t
00085  * tab-width: 2
00086  * c-basic-offset: 2
00087  * End:
00088  */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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