Stores all spatial and temporal locations of a single feature in a video stream, along with its 3D estimate. More...
#include <tracks.hpp>
Public Member Functions | |
| void | addFeature (indexedFeature &feat) |
| featureTrack () | |
| cv::Point3d | get3dLoc () |
| cv::Point2f | getCoord (unsigned int cam_idx) |
| bool | occursInSequence (const vector< unsigned int > &indices) |
| void | reset3dLoc (const cv::Point3d &loc) |
| Sets 3d location whether it has been set or not. | |
| void | set3dLoc (const cv::Point3d &loc) |
| Only sets 3d location if it hasn't already been set. | |
Public Attributes | |
| unsigned int | firstOccurence |
| bool | isTriangulated |
| vector< indexedFeature > | locations |
| long int | trackIndex |
| double | velocity_x |
| double | velocity_y |
| double | velocityWeighting |
Protected Attributes | |
| cv::Point3d | xyzEstimate |
Stores all spatial and temporal locations of a single feature in a video stream, along with its 3D estimate.
Definition at line 30 of file tracks.hpp.
Definition at line 7 of file tracks.cpp.
| void featureTrack::addFeature | ( | indexedFeature & | feat | ) | [inline] |
Definition at line 48 of file tracks.hpp.
| cv::Point3d featureTrack::get3dLoc | ( | ) |
Definition at line 268 of file tracks.cpp.
| cv::Point2f featureTrack::getCoord | ( | unsigned int | cam_idx | ) |
Definition at line 248 of file tracks.cpp.
| bool featureTrack::occursInSequence | ( | const vector< unsigned int > & | indices | ) |
Definition at line 233 of file tracks.cpp.
| void featureTrack::reset3dLoc | ( | const cv::Point3d & | loc | ) |
Sets 3d location whether it has been set or not.
Definition at line 23 of file tracks.cpp.
| void featureTrack::set3dLoc | ( | const cv::Point3d & | loc | ) |
Only sets 3d location if it hasn't already been set.
Definition at line 11 of file tracks.cpp.
| unsigned int featureTrack::firstOccurence |
Definition at line 35 of file tracks.hpp.
Definition at line 34 of file tracks.hpp.
Definition at line 33 of file tracks.hpp.
| long int featureTrack::trackIndex |
Definition at line 32 of file tracks.hpp.
| double featureTrack::velocity_x |
Definition at line 37 of file tracks.hpp.
| double featureTrack::velocity_y |
Definition at line 37 of file tracks.hpp.
Definition at line 36 of file tracks.hpp.
cv::Point3d featureTrack::xyzEstimate [protected] |
Definition at line 71 of file tracks.hpp.