#[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

source§

fn clone(&self) -> CAMU_StereoCameraCalibrationData

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CAMU_StereoCameraCalibrationData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CAMU_StereoCameraCalibrationData

source§

fn default() -> CAMU_StereoCameraCalibrationData

Returns the “default value” for a type. Read more
source§

impl Copy for CAMU_StereoCameraCalibrationData

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.