#[repr(C)]pub struct ARHandle {Show 27 fields
pub ar_debug: i32,
pub ar_pixel_format: ARPixelFormat,
pub ar_pixel_size: i32,
pub ar_labeling_mode: i32,
pub ar_labeling_thresh: i32,
pub ar_image_proc_mode: i32,
pub ar_pattern_detection_mode: i32,
pub ar_marker_extraction_mode: i32,
pub ar_param_lt: *mut ARParamLT,
pub xsize: i32,
pub ysize: i32,
pub marker_num: i32,
pub marker_info: Box<[ARMarkerInfo; 30]>,
pub marker2_num: i32,
pub marker_info2: Box<[ARMarkerInfo2; 30]>,
pub history_num: i32,
pub history: Box<[ARTrackingHistory; 30]>,
pub label_info: ARLabelInfo,
pub patt_handle: *mut ARPattHandle,
pub ar_labeling_thresh_mode: ARLabelingThreshMode,
pub ar_labeling_thresh_auto_interval: i32,
pub ar_labeling_thresh_auto_interval_ttl: i32,
pub ar_labeling_thresh_auto_bracket_over: i32,
pub ar_labeling_thresh_auto_bracket_under: i32,
pub ar_image_proc_info: *mut ARImageProcInfo,
pub patt_ratio: ARdouble,
pub matrix_code_type: ARMatrixCodeType,
}Expand description
Structure holding state of an instance of the square marker tracker.
Fields§
§ar_debug: i32§ar_pixel_format: ARPixelFormat§ar_pixel_size: i32§ar_labeling_mode: i32§ar_labeling_thresh: i32§ar_image_proc_mode: i32§ar_pattern_detection_mode: i32§ar_marker_extraction_mode: i32§ar_param_lt: *mut ARParamLT§xsize: i32§ysize: i32§marker_num: i32§marker_info: Box<[ARMarkerInfo; 30]>§marker2_num: i32§marker_info2: Box<[ARMarkerInfo2; 30]>§history_num: i32§history: Box<[ARTrackingHistory; 30]>§label_info: ARLabelInfo§patt_handle: *mut ARPattHandle§ar_labeling_thresh_mode: ARLabelingThreshMode§ar_labeling_thresh_auto_interval: i32§ar_labeling_thresh_auto_interval_ttl: i32§ar_labeling_thresh_auto_bracket_over: i32§ar_labeling_thresh_auto_bracket_under: i32§ar_image_proc_info: *mut ARImageProcInfo§patt_ratio: ARdouble§matrix_code_type: ARMatrixCodeTypeImplementations§
Source§impl ARHandle
impl ARHandle
pub fn new(param: ARParam) -> Self
pub fn set_pixel_format(&mut self, format: ARPixelFormat)
pub fn set_matrix_code_type(&mut self, code_type: ARMatrixCodeType)
pub fn set_pattern_detection_mode(&mut self, mode: i32)
pub fn get_matrix_code_type(&self) -> ARMatrixCodeType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ARHandle
impl RefUnwindSafe for ARHandle
impl !Send for ARHandle
impl !Sync for ARHandle
impl Unpin for ARHandle
impl UnsafeUnpin for ARHandle
impl UnwindSafe for ARHandle
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