Jafar
|
00001 /* $Id$ */ 00002 00003 #ifndef _DSEG3D_SEGMENT3D_OBSERVATION_HPP_ 00004 #define _DSEG3D_SEGMENT3D_OBSERVATION_HPP_ 00005 00006 #include <jmath/jblas.hpp> 00007 #include <geom/Declarations.hpp> 00008 #include <geom/Segment.hpp> 00009 00010 namespace jafar { 00011 namespace dseg { 00012 class SegmentHypothesis; 00013 } 00014 namespace dseg3d { 00018 class Segment3DObservation { 00019 public: 00020 Segment3DObservation( const jafar::geom::Segment3D& _segment3D, 00021 const jblas::vec3& _uvd1, 00022 const jblas::vec3& _uvd2, 00023 const dseg::SegmentHypothesis* _leftSegment, 00024 const dseg::SegmentHypothesis* _rightSegment ); 00025 ~Segment3DObservation(); 00026 const jafar::geom::Segment3D& segment3D() const; 00027 const jblas::vec3& uvd1() const; 00028 const jblas::vec3& uvd2() const; 00029 const dseg::SegmentHypothesis* leftSegment() const; 00030 const dseg::SegmentHypothesis* rightSegment() const; 00031 bool isHorizontal() const; 00032 private: 00033 jafar::geom::Segment3D m_segment3D; 00034 jblas::vec3 m_uvd1; 00035 jblas::vec3 m_uvd2; 00036 const dseg::SegmentHypothesis* m_leftSegment; 00037 const dseg::SegmentHypothesis* m_rightSegment; 00038 }; 00039 } 00040 } 00041 00042 #endif
Generated on Wed Oct 15 2014 00:37:18 for Jafar by doxygen 1.7.6.1 |