#[repr(C)]pub struct CAMU_StereoCameraCalibrationData {Show 15 fields
pub isValidRotationXY: u8_,
pub padding: [u8_; 3],
pub scale: f32,
pub rotationZ: f32,
pub translationX: f32,
pub translationY: f32,
pub rotationX: f32,
pub rotationY: f32,
pub angleOfViewRight: f32,
pub angleOfViewLeft: f32,
pub distanceToChart: f32,
pub distanceCameras: f32,
pub imageWidth: s16,
pub imageHeight: s16,
pub reserved: [u8_; 16],
}
Expand description
Stereo camera calibration data.
Fields§
§isValidRotationXY: u8_
< #bool Whether the X and Y rotation data is valid.
padding: [u8_; 3]
< Padding. (Aligns isValidRotationXY to 4 bytes)
scale: f32
< Scale to match the left camera image with the right.
rotationZ: f32
< Z axis rotation to match the left camera image with the right.
translationX: f32
< X axis translation to match the left camera image with the right.
translationY: f32
< Y axis translation to match the left camera image with the right.
rotationX: f32
< X axis rotation to match the left camera image with the right.
rotationY: f32
< Y axis rotation to match the left camera image with the right.
angleOfViewRight: f32
< Right camera angle of view.
angleOfViewLeft: f32
< Left camera angle of view.
distanceToChart: f32
< Distance between cameras and measurement chart.
distanceCameras: f32
< Distance between left and right cameras.
imageWidth: s16
< Image width.
imageHeight: s16
< Image height.
reserved: [u8_; 16]
< Reserved for future use. (unused)
Trait Implementations§
source§impl Clone for CAMU_StereoCameraCalibrationData
impl Clone for CAMU_StereoCameraCalibrationData
source§fn clone(&self) -> CAMU_StereoCameraCalibrationData
fn clone(&self) -> CAMU_StereoCameraCalibrationData
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CAMU_StereoCameraCalibrationData
impl Debug for CAMU_StereoCameraCalibrationData
source§impl Default for CAMU_StereoCameraCalibrationData
impl Default for CAMU_StereoCameraCalibrationData
source§fn default() -> CAMU_StereoCameraCalibrationData
fn default() -> CAMU_StereoCameraCalibrationData
Returns the “default value” for a type. Read more