RecordConfiguration

Struct RecordConfiguration 

Source
pub struct RecordConfiguration { /* private fields */ }

Implementations§

Source§

impl RecordConfiguration

Source

pub fn color_format(&self) -> ImageFormat

Image format used to record the color camera.

Source

pub fn color_resolution(&self) -> ColorResolution

Image resolution used to record the color camera.

Source

pub fn depth_mode(&self) -> DepthMode

Mode used to record the depth camera.

Source

pub fn camera_fps(&self) -> Fps

Frame rate used to record the color and depth camera.

Source

pub fn color_track_enabled(&self) -> bool

True if the recording contains Color camera frames.

Source

pub fn depth_track_enabled(&self) -> bool

True if the recording contains Depth camera frames.

Source

pub fn ir_track_enabled(&self) -> bool

True if the recording contains IR camera frames.

Source

pub fn imu_track_enabled(&self) -> bool

True if the recording contains IMU sample data.

Source

pub fn depth_delay_off_color_usec(&self) -> i32

The delay between color and depth images in the recording. A negative delay means depth images are first { self.value. } and a positive delay means color images are first.

Source

pub fn wired_sync_mode(&self) -> WiredSyncMode

External synchronization mode

Source

pub fn subordinate_delay_off_master_usec(&self) -> u32

The delay between this recording and the externally synced master camera. This value is 0 unless \p wired_sync_mode is set to ::K4A_WIRED_SYNC_MODE_SUBORDINATE

Source

pub fn start_timestamp_offset_usec(&self) -> u32

The timestamp offset of the start of the recording. All recorded timestamps are offset by this value such that the recording starts at timestamp 0. This value can be used to synchronize timestamps between 2 recording files.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.