Skip to main content

AR2Handle

Struct AR2Handle 

Source
pub struct AR2Handle {
Show 26 fields pub tracking_mode: i32, pub xsize: i32, pub ysize: i32, pub cparam_lt: *mut ARParamLT, pub icp_handle: *mut ICPHandleT, pub pix_format: ARPixelFormat, pub blur_method: i32, pub blur_level: i32, pub search_size: i32, pub template_size1: i32, pub template_size2: i32, pub search_feature_num: i32, pub sim_thresh: f32, pub tracking_thresh: f32, pub wtrans1: Vec<[[f32; 4]; 3]>, pub wtrans2: Vec<[[f32; 4]; 3]>, pub wtrans3: Vec<[[f32; 4]; 3]>, pub pos: Vec<[f32; 2]>, pub pos2d: Vec<[f32; 2]>, pub pos3d: Vec<[f32; 3]>, pub candidate: Vec<AR2TemplateCandidate>, pub candidate2: Vec<AR2TemplateCandidate>, pub used_feature: Vec<AR2TemplateCandidate>, pub templ: Vec<AR2Template>, pub mf_image: Vec<u8>, pub thread_num: i32,
}

Fields§

§tracking_mode: i32§xsize: i32§ysize: i32§cparam_lt: *mut ARParamLT§icp_handle: *mut ICPHandleT§pix_format: ARPixelFormat§blur_method: i32§blur_level: i32§search_size: i32§template_size1: i32§template_size2: i32§search_feature_num: i32§sim_thresh: f32§tracking_thresh: f32§wtrans1: Vec<[[f32; 4]; 3]>§wtrans2: Vec<[[f32; 4]; 3]>§wtrans3: Vec<[[f32; 4]; 3]>§pos: Vec<[f32; 2]>§pos2d: Vec<[f32; 2]>§pos3d: Vec<[f32; 3]>§candidate: Vec<AR2TemplateCandidate>§candidate2: Vec<AR2TemplateCandidate>§used_feature: Vec<AR2TemplateCandidate>§templ: Vec<AR2Template>§mf_image: Vec<u8>§thread_num: i32

Implementations§

Source§

impl AR2Handle

Source

pub fn new(xsize: i32, ysize: i32, pix_format: ARPixelFormat) -> Self

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> 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, 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