[−][src]Struct azure_kinect::capture::Capture
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]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,