Struct leap_sys::_LEAP_DISTORTION_MATRIX
source · [−]#[repr(C)]pub struct _LEAP_DISTORTION_MATRIX {
pub matrix: [[_LEAP_DISTORTION_MATRIX__bindgen_ty_1; 64]; 64],
}
Expand description
\ingroup Structs A matrix containing lens distortion correction coordinates.
Each point in the grid contains the coordinates of the pixel in the image buffer that contains the data for the pixel in the undistorted image corresponding to that point in the grid. Interpolate between points in the matrix to correct image pixels that don’t fall directly underneath a point in the distortion grid.
Current devices use a 64x64 point distortion grid. @since 3.0.0
Fields
matrix: [[_LEAP_DISTORTION_MATRIX__bindgen_ty_1; 64]; 64]
A grid of 2D points. @since 3.0.0
Trait Implementations
sourceimpl Clone for _LEAP_DISTORTION_MATRIX
impl Clone for _LEAP_DISTORTION_MATRIX
sourcefn clone(&self) -> _LEAP_DISTORTION_MATRIX
fn clone(&self) -> _LEAP_DISTORTION_MATRIX
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _LEAP_DISTORTION_MATRIX
impl Debug for _LEAP_DISTORTION_MATRIX
impl Copy for _LEAP_DISTORTION_MATRIX
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_DISTORTION_MATRIX
impl Send for _LEAP_DISTORTION_MATRIX
impl Sync for _LEAP_DISTORTION_MATRIX
impl Unpin for _LEAP_DISTORTION_MATRIX
impl UnwindSafe for _LEAP_DISTORTION_MATRIX
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more