#[repr(C)]pub struct OBCameraParam {
pub depthIntrinsic: OBCameraIntrinsic,
pub rgbIntrinsic: OBCameraIntrinsic,
pub depthDistortion: OBCameraDistortion,
pub rgbDistortion: OBCameraDistortion,
pub transform: OBD2CTransform,
pub isMirrored: bool,
}Expand description
@brief Structure for camera parameters
Fields§
§depthIntrinsic: OBCameraIntrinsic< Depth camera internal parameters
rgbIntrinsic: OBCameraIntrinsic< Color camera internal parameters
depthDistortion: OBCameraDistortion< Depth camera distortion parameters
rgbDistortion: OBCameraDistortion< Color camera distortion parameters
transform: OBD2CTransform< Rotation/transformation matrix
isMirrored: bool< Whether the image frame corresponding to this group of parameters is mirrored
Trait Implementations§
Source§impl Clone for OBCameraParam
impl Clone for OBCameraParam
Source§fn clone(&self) -> OBCameraParam
fn clone(&self) -> OBCameraParam
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 OBCameraParam
Auto Trait Implementations§
impl Freeze for OBCameraParam
impl RefUnwindSafe for OBCameraParam
impl Send for OBCameraParam
impl Sync for OBCameraParam
impl Unpin for OBCameraParam
impl UnsafeUnpin for OBCameraParam
impl UnwindSafe for OBCameraParam
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