svo
Semi-Direct Visual Odometry
|
Container for converged 3D points that are not already assigned to two keyframes. More...
#include <map.h>
Public Types | |
typedef pair< Point *, Feature * > | PointCandidate |
typedef list< PointCandidate > | PointCandidateList |
Public Member Functions | |
MapPointCandidates () | |
~MapPointCandidates () | |
void | newCandidatePoint (Point *point, double depth_sigma2) |
Add a candidate point. | |
void | addCandidatePointToFrame (FramePtr frame) |
Adds the feature to the frame and deletes candidate from list. | |
bool | deleteCandidatePoint (Point *point) |
Remove a candidate point from the list of candidates. | |
void | removeFrameCandidates (FramePtr frame) |
Remove all candidates that belong to a frame. | |
void | reset () |
Reset the candidate list, remove and delete all points. | |
void | deleteCandidate (PointCandidate &c) |
void | emptyTrash () |
Public Attributes | |
boost::mutex | mut_ |
The depth-filter is running in a parallel thread and fills the canidate list. | |
PointCandidateList | candidates_ |
Candidate points are created from converged seeds. | |
list< Point * > | trash_points_ |
Container for converged 3D points that are not already assigned to two keyframes.
typedef pair<Point*, Feature*> svo::MapPointCandidates::PointCandidate |
typedef list<PointCandidate> svo::MapPointCandidates::PointCandidateList |
void svo::MapPointCandidates::addCandidatePointToFrame | ( | FramePtr | frame | ) |
Adds the feature to the frame and deletes candidate from list.
bool svo::MapPointCandidates::deleteCandidatePoint | ( | Point * | point | ) |
Remove a candidate point from the list of candidates.
void svo::MapPointCandidates::emptyTrash | ( | ) |
void svo::MapPointCandidates::newCandidatePoint | ( | Point * | point, |
double | depth_sigma2 | ||
) |
Add a candidate point.
void svo::MapPointCandidates::removeFrameCandidates | ( | FramePtr | frame | ) |
Remove all candidates that belong to a frame.
void svo::MapPointCandidates::reset | ( | ) |
Reset the candidate list, remove and delete all points.
Candidate points are created from converged seeds.
Until the next keyframe, these points can be used for reprojection and pose optimization.
boost::mutex svo::MapPointCandidates::mut_ |
The depth-filter is running in a parallel thread and fills the canidate list.
This mutex controls concurrent access to point_candidates.