| Jafar
   
    | 
Observation of a segment. More...
Observation of a segment.
Definition at line 31 of file segmentFeature.hpp.
#include <segmentFeature.hpp>

| Public Member Functions | |
| SegmentObservation (ObservationType type_, unsigned int _robotId=0) | |
| Constructor. | |
| SegmentObservation (SegmentObservation const &obs) | |
| Copy constructor Constructs an observation from a given observation. | |
| virtual | ~SegmentObservation () | 
| Destructor. | |
| void | setExtremities (jblas::vec2 const &ext1_, jblas::vec2 const &ext2_) | 
| Sets the extremities to the observation. | |
| Public Attributes | |
| jblas::vec2 | ext1 | 
| first extremity in the image plane | |
| jblas::vec2 | ext2 | 
| second extremity in the image plane | |
| jafar::slam::SegmentObservation::SegmentObservation | ( | ObservationType | type_, | 
| unsigned int | _robotId = 0 | ||
| ) |  [inline] | 
Constructor.
Constructs an empty observation from a robot
| _robotId | robot identifier | 
Definition at line 43 of file segmentFeature.hpp.
References JFR_ASSERT, jafar::slam::Observation::SEGMENT_IMAGE, jafar::slam::Observation::SEGMENT_STEREOIMAGE, jafar::slam::Observation::SEGMENTAP_IMAGE, jafar::slam::Observation::SEGMENTID_EXT_IMAGE, and jafar::slam::Observation::SEGMENTID_IMAGE.
| jafar::slam::SegmentObservation::SegmentObservation | ( | SegmentObservation const & | obs | ) |  [inline] | 
Copy constructor Constructs an observation from a given observation.
| obs | The observation to copy | 
Definition at line 53 of file segmentFeature.hpp.
| void jafar::slam::SegmentObservation::setExtremities | ( | jblas::vec2 const & | ext1_, | 
| jblas::vec2 const & | ext2_ | ||
| ) |  [inline] | 
Sets the extremities to the observation.
| ext1_ | the first endpoint | 
| ext2_ | the second endpoint | 
Definition at line 65 of file segmentFeature.hpp.
| Generated on Wed Oct 15 2014 00:37:49 for Jafar by doxygen 1.7.6.1 |   |