[][src]Trait realsense_rust::frame::DepthFrame

pub trait DepthFrame where
    Self: VideoFrame
{ fn distance(&self, x: usize, y: usize) -> RsResult<f32> { ... }
fn depth_units(&self) -> RsResult<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) -> RsResult<f32>

Gets distance at given coordinates.

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

Gets the length in meter per distance unit.

Loading content...

Implementors

impl DepthFrame for Frame<Depth>[src]

impl DepthFrame for Frame<Disparity>[src]

Loading content...