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

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>

Gets distance at given coordinates.

fn depth_units(&self) -> Result<f32>

Gets the length in meter per distance unit.

Loading content...

Implementors

impl DepthFrameEx for DepthFrame[src]

impl DepthFrameEx for DisparityFrame[src]

Loading content...