#[repr(C, packed(1))]pub struct _LEAP_DEVICE_INFO {
pub size: u32,
pub status: u32,
pub caps: u32,
pub pid: eLeapDevicePID,
pub baseline: u32,
pub serial_length: u32,
pub serial: *mut c_char,
pub h_fov: f32,
pub v_fov: f32,
pub range: u32,
}Expand description
\ingroup Structs Properties of a Leap device. Get a LEAP_DEVICE_INFO by calling LeapGetDeviceInfo() with the handle for device. The device must be open. @since 3.0.0
Fields§
§size: u32Size of this structure. @since 3.0.0
status: u32A combination of eLeapDeviceStatus flags. @since 3.0.0
caps: u32A combination of eLeapDeviceCaps flags. @since 3.0.0
pid: eLeapDevicePIDOne of the eLeapDevicePID members. @since 3.0.0
baseline: u32The device baseline, in micrometers.
The baseline is defined as the distance between the center axis of each lens in a stereo camera system. For other camera systems, this value is set to zero. @since 3.0.0
serial_length: u32The required length of the serial number char buffer including the null character. @since 3.0.0
serial: *mut c_charA pointer to the null-terminated device serial number string. @since 3.0.0
h_fov: f32The horizontal field of view of this device in radians. @since 3.0.0
v_fov: f32The vertical field of view of this device in radians. @since 3.0.0
range: u32The maximum range for this device, in micrometers. @since 3.0.0
Trait Implementations§
Source§impl Clone for _LEAP_DEVICE_INFO
impl Clone for _LEAP_DEVICE_INFO
Source§fn clone(&self) -> _LEAP_DEVICE_INFO
fn clone(&self) -> _LEAP_DEVICE_INFO
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more