pub struct DepthConversionOptions {
pub depth_scale: f32,
pub min_depth: f32,
pub max_depth: f32,
}Expand description
Controls conversion from stored depth values to metric camera coordinates.
Fields§
§depth_scale: f32Multiplier converting each stored depth value to meters.
min_depth: f32Inclusive minimum accepted metric depth.
max_depth: f32Inclusive maximum accepted metric depth.
Trait Implementations§
Source§impl Clone for DepthConversionOptions
impl Clone for DepthConversionOptions
Source§fn clone(&self) -> DepthConversionOptions
fn clone(&self) -> DepthConversionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DepthConversionOptions
impl Debug for DepthConversionOptions
Source§impl Default for DepthConversionOptions
impl Default for DepthConversionOptions
Source§impl PartialEq for DepthConversionOptions
impl PartialEq for DepthConversionOptions
Source§fn eq(&self, other: &DepthConversionOptions) -> bool
fn eq(&self, other: &DepthConversionOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DepthConversionOptions
impl StructuralPartialEq for DepthConversionOptions
Auto Trait Implementations§
impl Freeze for DepthConversionOptions
impl RefUnwindSafe for DepthConversionOptions
impl Send for DepthConversionOptions
impl Sync for DepthConversionOptions
impl Unpin for DepthConversionOptions
impl UnsafeUnpin for DepthConversionOptions
impl UnwindSafe for DepthConversionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more