#[repr(C, packed(1))]pub struct OBCameraDistortion {
pub k1: f32,
pub k2: f32,
pub k3: f32,
pub k4: f32,
pub k5: f32,
pub k6: f32,
pub p1: f32,
pub p2: f32,
pub model: OBCameraDistortionModel,
}Expand description
@brief Structure for distortion parameters
Fields§
§k1: f32< Radial distortion factor 1
k2: f32< Radial distortion factor 2
k3: f32< Radial distortion factor 3
k4: f32< Radial distortion factor 4
k5: f32< Radial distortion factor 5
k6: f32< Radial distortion factor 6
p1: f32< Tangential distortion factor 1
p2: f32< Tangential distortion factor 2
model: OBCameraDistortionModelTrait Implementations§
Source§impl Clone for OBCameraDistortion
impl Clone for OBCameraDistortion
Source§fn clone(&self) -> OBCameraDistortion
fn clone(&self) -> OBCameraDistortion
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 moreimpl Copy for OBCameraDistortion
Auto Trait Implementations§
impl Freeze for OBCameraDistortion
impl RefUnwindSafe for OBCameraDistortion
impl Send for OBCameraDistortion
impl Sync for OBCameraDistortion
impl Unpin for OBCameraDistortion
impl UnsafeUnpin for OBCameraDistortion
impl UnwindSafe for OBCameraDistortion
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