pub trait Detail_MatchesInfoTrait: Detail_MatchesInfoTraitConst {
// Required method
fn as_raw_mut_Detail_MatchesInfo(&mut self) -> *mut c_void;
// Provided methods
fn set_src_img_idx(&mut self, val: i32) { ... }
fn set_dst_img_idx(&mut self, val: i32) { ... }
fn set_matches(&mut self, val: Vector<DMatch>) { ... }
fn set_inliers_mask(&mut self, val: Vector<u8>) { ... }
fn set_num_inliers(&mut self, val: i32) { ... }
fn set_h(&mut self, val: Mat) { ... }
fn set_confidence(&mut self, val: f64) { ... }
fn set(&mut self, other: &impl Detail_MatchesInfoTraitConst) -> Result<()> { ... }
fn get_matches(&mut self) -> Result<Vector<DMatch>> { ... }
fn get_inliers(&mut self) -> Result<Vector<u8>> { ... }
}
Expand description
Mutable methods for crate::stitching::Detail_MatchesInfo
Required Methods§
fn as_raw_mut_Detail_MatchesInfo(&mut self) -> *mut c_void
Provided Methods§
fn set_src_img_idx(&mut self, val: i32)
Sourcefn set_dst_img_idx(&mut self, val: i32)
fn set_dst_img_idx(&mut self, val: i32)
Images indices (optional)
fn set_matches(&mut self, val: Vector<DMatch>)
Sourcefn set_inliers_mask(&mut self, val: Vector<u8>)
fn set_inliers_mask(&mut self, val: Vector<u8>)
Geometrically consistent matches mask
Sourcefn set_num_inliers(&mut self, val: i32)
fn set_num_inliers(&mut self, val: i32)
Number of geometrically consistent matches
Sourcefn set_confidence(&mut self, val: f64)
fn set_confidence(&mut self, val: f64)
Confidence two images are from the same panorama
fn set(&mut self, other: &impl Detail_MatchesInfoTraitConst) -> Result<()>
fn get_matches(&mut self) -> Result<Vector<DMatch>>
fn get_inliers(&mut self) -> Result<Vector<u8>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.