pub struct ICPTraceFrame {
pub points: DMatrix<f64>,
pub transform: DMatrix<f64>,
pub correspondences: Vec<usize>,
pub mean_error: f64,
}Expand description
One accepted ICP alignment, including the initial alignment. The points, nearest-neighbor indices and error all describe this same state, before the next rigid fit. Rejected divergent updates are not included.
Fields§
§points: DMatrix<f64>§transform: DMatrix<f64>Homogeneous transform from the original current points to points.
correspondences: Vec<usize>Destination index for each current point (many-to-one is allowed).
mean_error: f64Trait Implementations§
Source§impl Clone for ICPTraceFrame
impl Clone for ICPTraceFrame
Auto Trait Implementations§
impl Freeze for ICPTraceFrame
impl RefUnwindSafe for ICPTraceFrame
impl Send for ICPTraceFrame
impl Sync for ICPTraceFrame
impl Unpin for ICPTraceFrame
impl UnsafeUnpin for ICPTraceFrame
impl UnwindSafe for ICPTraceFrame
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.