Jafar
|
00001 /* $Id$ */ 00002 00003 #ifndef _SEGMENTS_SET_HPP_ 00004 #define _SEGMENTS_SET_HPP_ 00005 00006 #include <vector> 00007 00008 #include <geom/Declarations.hpp> 00009 00010 namespace jafar { 00011 namespace dseg { 00012 class SegmentHypothesis; 00018 class SegmentsSet { 00019 public: 00020 SegmentsSet(); 00021 SegmentsSet(const SegmentsSet&); 00022 SegmentsSet& operator=(const SegmentsSet& _rhs); 00023 ~SegmentsSet(); 00027 void addSegment( SegmentHypothesis* ); 00031 SegmentHypothesis* segmentAt( unsigned int _index ); 00032 const SegmentHypothesis* segmentAt( unsigned int _index ) const; 00033 SegmentHypothesis* segmentId( unsigned int _id ); 00037 unsigned int count() const; 00038 std::vector< jafar::geom::Segment2D > toSegment2DList() const; 00039 private: 00040 std::vector< SegmentHypothesis* > m_segments; 00041 }; 00042 } 00043 } 00044 00045 #endif
Generated on Wed Oct 15 2014 00:37:18 for Jafar by doxygen 1.7.6.1 |