Skip to main content

ARHandle

Struct ARHandle 

Source
#[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: ARMatrixCodeType

Implementations§

Source§

impl ARHandle

Source

pub fn new(param: ARParam) -> Self

Source

pub fn set_pixel_format(&mut self, format: ARPixelFormat)

Source

pub fn set_matrix_code_type(&mut self, code_type: ARMatrixCodeType)

Source

pub fn set_pattern_detection_mode(&mut self, mode: i32)

Source

pub fn get_matrix_code_type(&self) -> ARMatrixCodeType

Trait Implementations§

Source§

impl Clone for ARHandle

Source§

fn clone(&self) -> ARHandle

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ARHandle

Source§

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

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

impl Default for ARHandle

Source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V