[−][src]Struct azure_kinect::device::Device
Implementations
impl<'_> Device<'_>
[src]
pub fn start_cameras(
&self,
configuration: &k4a_device_configuration_t
) -> Result<Camera, Error>
[src]
&self,
configuration: &k4a_device_configuration_t
) -> Result<Camera, Error>
Starts the K4A device's cameras
pub fn get_serialnum(&self) -> Result<String, Error>
[src]
Get the K4A device serial number
pub fn get_color_control(
&self,
command: k4a_color_control_command_t
) -> Result<(k4a_color_control_mode_t, i32), Error>
[src]
&self,
command: k4a_color_control_command_t
) -> Result<(k4a_color_control_mode_t, i32), Error>
Get the K4A color sensor control value
pub fn set_color_control(
&self,
command: k4a_color_control_command_t,
mode: k4a_color_control_mode_t,
value: i32
) -> Result<(), Error>
[src]
&self,
command: k4a_color_control_command_t,
mode: k4a_color_control_mode_t,
value: i32
) -> Result<(), Error>
Set the K4A color sensor control value
pub fn get_color_control_capabilities(
&self,
command: k4a_color_control_command_t
) -> Result<ColorControlCapabilities, Error>
[src]
&self,
command: k4a_color_control_command_t
) -> Result<ColorControlCapabilities, Error>
pub fn get_raw_calibration(&self) -> Result<Vec<u8>, Error>
[src]
Get the raw calibration blob for the entire K4A device.
pub fn get_calibration(
&self,
depth_mode: k4a_depth_mode_t,
color_resolution: k4a_color_resolution_t
) -> Result<Calibration, Error>
[src]
&self,
depth_mode: k4a_depth_mode_t,
color_resolution: k4a_color_resolution_t
) -> Result<Calibration, Error>
Get the camera calibration for the entire K4A device, which is used for all transformation functions.
pub fn is_sync_connected(&self) -> Result<(bool, bool), Error>
[src]
Get the device jack status for the synchronization connectors
pub fn is_sync_in_connected(&self) -> Result<bool, Error>
[src]
Get the device jack status for the synchronization in connector
pub fn is_sync_out_connected(&self) -> Result<bool, Error>
[src]
Get the device jack status for the synchronization out connector
pub fn get_version(&self) -> Result<k4a_hardware_version_t, Error>
[src]
Get the version numbers of the K4A subsystems' firmware
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Device<'a>
impl<'a> !Send for Device<'a>
impl<'a> !Sync for Device<'a>
impl<'a> Unpin for Device<'a>
impl<'a> !UnwindSafe for Device<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,