[][src]Struct leap_sys::_LEAP_DISTORTION_MATRIX

#[repr(C)]pub struct _LEAP_DISTORTION_MATRIX {
    pub matrix: [[_LEAP_DISTORTION_MATRIX__bindgen_ty_1; 64]; 64],
}

\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

impl Clone for _LEAP_DISTORTION_MATRIX[src]

impl Copy for _LEAP_DISTORTION_MATRIX[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.