#[non_exhaustive]pub struct DepthRepresentationInfo {
pub z_near: Option<f64>,
pub z_far: Option<f64>,
pub d_min: Option<f64>,
pub d_max: Option<f64>,
pub representation_type: DepthRepresentationType,
}Expand description
Depth representation information parsed from auxC subtype data.
The auxC box for depth auxiliary images may contain additional bytes after the null-terminated URN that describe the depth representation. This follows the ISO/IEC 23008-12 depth representation info structure.
iPhone depth maps typically use UniformInverseZ with
z_near/z_far describing the scene depth range.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.z_near: Option<f64>Near clipping plane distance. None if not specified.
z_far: Option<f64>Far clipping plane distance. None if not specified.
d_min: Option<f64>Minimum disparity value. None if not specified.
d_max: Option<f64>Maximum disparity value. None if not specified.
representation_type: DepthRepresentationTypeHow the depth values should be interpreted.
Trait Implementations§
Source§impl Clone for DepthRepresentationInfo
impl Clone for DepthRepresentationInfo
Source§fn clone(&self) -> DepthRepresentationInfo
fn clone(&self) -> DepthRepresentationInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 DepthRepresentationInfo
impl Debug for DepthRepresentationInfo
Source§impl Default for DepthRepresentationInfo
impl Default for DepthRepresentationInfo
Source§fn default() -> DepthRepresentationInfo
fn default() -> DepthRepresentationInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DepthRepresentationInfo
impl RefUnwindSafe for DepthRepresentationInfo
impl Send for DepthRepresentationInfo
impl Sync for DepthRepresentationInfo
impl Unpin for DepthRepresentationInfo
impl UnsafeUnpin for DepthRepresentationInfo
impl UnwindSafe for DepthRepresentationInfo
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