[][src]Struct azure_kinect::capture::Capture

pub struct Capture<'a> { /* fields omitted */ }

Implementations

impl<'_> Capture<'_>[src]

pub fn new(factory: &Factory) -> Result<Capture, Error>[src]

pub fn get_color_image(&self) -> Image[src]

Get the color image associated with the capture

pub fn get_depth_image(&self) -> Image[src]

Get the depth image associated with the capture

pub fn get_ir_image(&self) -> Image[src]

Get the IR image associated with the capture

pub fn set_color_image(&mut self, color_image: Image)[src]

Set / add a color image to the capture

pub fn set_depth_image(&mut self, depth_image: Image)[src]

Set / add a depth image to the capture

pub fn set_ir_image(&mut self, ir_image: Image)[src]

Set / add an IR image to the capture

pub fn set_temperature_c(&mut self, temperature_c: f32)[src]

Set the temperature associated with the capture in Celsius.

pub fn get_temperature_c(&self) -> f32[src]

Get temperature (in Celsius) associated with the capture.

Trait Implementations

impl<'_> Clone for Capture<'_>[src]

impl<'_> Drop for Capture<'_>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Capture<'a>

impl<'a> !Send for Capture<'a>

impl<'a> !Sync for Capture<'a>

impl<'a> Unpin for Capture<'a>

impl<'a> !UnwindSafe for Capture<'a>

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.