#[repr(u32)]pub enum DepthMode {
Off = 0,
NFov2x2Binned = 1,
NFovUnbinned = 2,
WFov2x2Binned = 3,
WFovUnbinned = 4,
PassiveIr = 5,
}Variants§
Implementations§
Source§impl DepthMode
impl DepthMode
Sourcepub fn get_dimension(&self) -> Dimension
pub fn get_dimension(&self) -> Dimension
Gets the dimensions of the depth images that the depth camera will produce for a given depth mode
Sourcepub fn get_range(&self) -> Range<u16>
pub fn get_range(&self) -> Range<u16>
Gets the range of values that we expect to see from the depth camera when using a given depth mode, in millimeters
Sourcepub fn get_ir_level(&self) -> Range<u16>
pub fn get_ir_level(&self) -> Range<u16>
Gets the expected min/max IR brightness levels that we expect to see from the IR camera when using a given depth mode
Trait Implementations§
Source§impl From<DepthMode> for k4a_depth_mode_t
impl From<DepthMode> for k4a_depth_mode_t
impl Copy for DepthMode
impl StructuralPartialEq for DepthMode
Auto Trait Implementations§
impl Freeze for DepthMode
impl RefUnwindSafe for DepthMode
impl Send for DepthMode
impl Sync for DepthMode
impl Unpin for DepthMode
impl UnwindSafe for DepthMode
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