pub enum KeyframeDecisionReason {
NotLocalized,
MissingPose,
FirstSuccessfulFrame,
Relocalized,
TrackedLandmarkDrop {
frame_id_gap: u64,
tracked_landmarks: usize,
last_keyframe_tracked_landmarks: usize,
min_tracked_landmark_ratio: f64,
},
ThresholdsMet {
frame_id_gap: u64,
translation: f64,
},
FrameIdGapTooSmall {
frame_id_gap: u64,
min_frame_id_gap: u64,
},
MaximumFrameIdGap {
frame_id_gap: u64,
max_frame_id_gap: u64,
},
TranslationTooSmall {
translation: f64,
min_translation: f64,
},
InsufficientTrackingQuality {
inlier_count: usize,
inlier_ratio: f64,
min_inliers: Option<usize>,
min_inlier_ratio: Option<f64>,
},
}Variants§
NotLocalized
MissingPose
FirstSuccessfulFrame
Relocalized
TrackedLandmarkDrop
Fields
ThresholdsMet
FrameIdGapTooSmall
MaximumFrameIdGap
TranslationTooSmall
InsufficientTrackingQuality
Trait Implementations§
Source§impl Clone for KeyframeDecisionReason
impl Clone for KeyframeDecisionReason
Source§impl Debug for KeyframeDecisionReason
impl Debug for KeyframeDecisionReason
Source§impl PartialEq for KeyframeDecisionReason
impl PartialEq for KeyframeDecisionReason
impl StructuralPartialEq for KeyframeDecisionReason
Auto Trait Implementations§
impl Forget for KeyframeDecisionReason
impl Freeze for KeyframeDecisionReason
impl Move for KeyframeDecisionReason
impl RefUnwindSafe for KeyframeDecisionReason
impl Send for KeyframeDecisionReason
impl Sync for KeyframeDecisionReason
impl Unpin for KeyframeDecisionReason
impl UnsafeUnpin for KeyframeDecisionReason
impl UnwindSafe for KeyframeDecisionReason
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,
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.