pub struct LoopClosureCandidate {
pub query_frame_id: u64,
pub matched_keyframe_id: u64,
pub shared_landmark_count: usize,
pub query_inlier_count: usize,
pub keyframe_observation_count: usize,
pub shared_landmark_ratio: f64,
pub score: f64,
pub geometrically_verified: bool,
pub verification: Option<LoopClosureVerification>,
pub pnp_query_landmark_pairs: Vec<(usize, u64)>,
}Fields§
§query_frame_id: u64§matched_keyframe_id: u64§query_inlier_count: usize§keyframe_observation_count: usize§score: f64§geometrically_verified: booltrue while the candidate has not been rejected by an explicit
verifier. When verify_loop_closure_candidates runs, this becomes
LoopClosureVerification::verified.
verification: Option<LoopClosureVerification>Optional verifier output. Some when verify_loop_closure_candidates
(or another caller) has explicitly run a LoopClosureVerifier over
the candidate; None when only the shared-landmark heuristic has
produced the candidate.
pnp_query_landmark_pairs: Vec<(usize, u64)>Query keypoint index paired with an older-map landmark id by the appearance PnP correspondence builder. Empty for other sources.
Trait Implementations§
Source§impl Clone for LoopClosureCandidate
impl Clone for LoopClosureCandidate
Source§fn clone(&self) -> LoopClosureCandidate
fn clone(&self) -> LoopClosureCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoopClosureCandidate
impl Debug for LoopClosureCandidate
Source§impl PartialEq for LoopClosureCandidate
impl PartialEq for LoopClosureCandidate
impl StructuralPartialEq for LoopClosureCandidate
Auto Trait Implementations§
impl Forget for LoopClosureCandidate
impl Freeze for LoopClosureCandidate
impl Move for LoopClosureCandidate
impl RefUnwindSafe for LoopClosureCandidate
impl Send for LoopClosureCandidate
impl Sync for LoopClosureCandidate
impl Unpin for LoopClosureCandidate
impl UnsafeUnpin for LoopClosureCandidate
impl UnwindSafe for LoopClosureCandidate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.