#[repr(C)]pub struct ARMarkerInfo {Show 17 fields
pub area: i32,
pub id: i32,
pub id_patt: i32,
pub id_matrix: i32,
pub dir: i32,
pub dir_patt: i32,
pub dir_matrix: i32,
pub cf: ARdouble,
pub cf_patt: ARdouble,
pub cf_matrix: ARdouble,
pub pos: [ARdouble; 2],
pub line: [[ARdouble; 3]; 4],
pub vertex: [[ARdouble; 2]; 4],
pub marker_info2_ptr: *mut ARMarkerInfo2,
pub cutoff_phase: ARMarkerInfoCutoffPhase,
pub error_corrected: i32,
pub global_id: u64,
}Expand description
Describes a detected trapezoidal area (a candidate for a marker match).
Fields§
§area: i32Area in pixels of the largest connected region
id: i32Marker ID if valid, or -1 if invalid
id_patt: i32§id_matrix: i32§dir: i32Marker direction (0 to 3)
dir_patt: i32§dir_matrix: i32§cf: ARdoubleMarker matching confidence (0.0 to 1.0)
cf_patt: ARdouble§cf_matrix: ARdouble§pos: [ARdouble; 2]2D position of the centre of the marker
line: [[ARdouble; 3]; 4]Line equations for the 4 sides of the marker
vertex: [[ARdouble; 2]; 4]2D positions of the corners of the marker
marker_info2_ptr: *mut ARMarkerInfo2Pointer to source region info for this marker.
cutoff_phase: ARMarkerInfoCutoffPhaseTracking phase at which the marker was cut off
error_corrected: i32The numbers of errors detected and corrected
global_id: u64Global ID for matrix codes
Trait Implementations§
Source§impl Clone for ARMarkerInfo
impl Clone for ARMarkerInfo
Source§fn clone(&self) -> ARMarkerInfo
fn clone(&self) -> ARMarkerInfo
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 ARMarkerInfo
impl Debug for ARMarkerInfo
Auto Trait Implementations§
impl Freeze for ARMarkerInfo
impl RefUnwindSafe for ARMarkerInfo
impl !Send for ARMarkerInfo
impl !Sync for ARMarkerInfo
impl Unpin for ARMarkerInfo
impl UnsafeUnpin for ARMarkerInfo
impl UnwindSafe for ARMarkerInfo
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