pub struct LocalMappingPipeline<K = SimpleKeyframePolicy, T = LinearTriangulator, R = NoopLocalRefiner> {
pub keyframe_policy: K,
pub triangulator: T,
pub local_refiner: R,
pub local_window_config: LocalMapWindowConfig,
pub candidate_validation_config: LandmarkCandidateValidationConfig,
}Fields§
§keyframe_policy: K§triangulator: T§local_refiner: R§local_window_config: LocalMapWindowConfig§candidate_validation_config: LandmarkCandidateValidationConfigImplementations§
Source§impl<K, T> LocalMappingPipeline<K, T, NoopLocalRefiner>where
K: KeyframePolicy,
T: Triangulator,
impl<K, T> LocalMappingPipeline<K, T, NoopLocalRefiner>where
K: KeyframePolicy,
T: Triangulator,
pub const fn new( keyframe_policy: K, triangulator: T, local_window_config: LocalMapWindowConfig, candidate_validation_config: LandmarkCandidateValidationConfig, ) -> Self
Source§impl<K, T, R> LocalMappingPipeline<K, T, R>
impl<K, T, R> LocalMappingPipeline<K, T, R>
pub const fn with_refiner( keyframe_policy: K, triangulator: T, local_refiner: R, local_window_config: LocalMapWindowConfig, candidate_validation_config: LandmarkCandidateValidationConfig, ) -> Self
pub fn reset(&mut self)
pub fn process_keyframe<I>(
&mut self,
map: &VisualMap,
tracking_result: &TrackingResult,
keyframe: Keyframe,
candidates: I,
) -> LocalMappingResultwhere
I: IntoIterator<Item = LandmarkCandidate>,
Trait Implementations§
Source§impl Default for LocalMappingPipeline<SimpleKeyframePolicy, LinearTriangulator, NoopLocalRefiner>
impl Default for LocalMappingPipeline<SimpleKeyframePolicy, LinearTriangulator, NoopLocalRefiner>
impl<K: PartialEq, T: PartialEq, R: PartialEq> StructuralPartialEq for LocalMappingPipeline<K, T, R>
Auto Trait Implementations§
impl<K, T, R> Forget for LocalMappingPipeline<K, T, R>
impl<K, T, R> Freeze for LocalMappingPipeline<K, T, R>
impl<K, T, R> Move for LocalMappingPipeline<K, T, R>
impl<K, T, R> RefUnwindSafe for LocalMappingPipeline<K, T, R>
impl<K, T, R> Send for LocalMappingPipeline<K, T, R>
impl<K, T, R> Sync for LocalMappingPipeline<K, T, R>
impl<K, T, R> Unpin for LocalMappingPipeline<K, T, R>
impl<K, T, R> UnsafeUnpin for LocalMappingPipeline<K, T, R>
impl<K, T, R> UnwindSafe for LocalMappingPipeline<K, T, R>
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.