Trait realsense_rust::frame::DepthFrameEx[][src]

pub trait DepthFrameEx where
    Self: VideoFrameEx
{ fn distance(&self, x: usize, y: usize) -> Result<f32> { ... }
fn depth_units(&self) -> Result<f32> { ... } }

The trait provides methods on frames with depth data.

Frame types with this trait also implements VideoFrame trait.

Provided methods

fn distance(&self, x: usize, y: usize) -> Result<f32>[src]

Gets distance at given coordinates.

fn depth_units(&self) -> Result<f32>[src]

Gets the length in meter per distance unit.

Loading content...

Implementors

Loading content...