Trait ORBTrait

Source
pub trait ORBTrait: Feature2DTrait + ORBTraitConst {
    // Required method
    fn as_raw_mut_ORB(&mut self) -> *mut c_void;

    // Provided methods
    fn set_max_features(&mut self, max_features: i32) -> Result<()> { ... }
    fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()> { ... }
    fn set_n_levels(&mut self, nlevels: i32) -> Result<()> { ... }
    fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()> { ... }
    fn set_first_level(&mut self, first_level: i32) -> Result<()> { ... }
    fn set_wta_k(&mut self, wta_k: i32) -> Result<()> { ... }
    fn set_score_type(&mut self, score_type: ORB_ScoreType) -> Result<()> { ... }
    fn set_patch_size(&mut self, patch_size: i32) -> Result<()> { ... }
    fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::features2d::ORB

Required Methods§

Provided Methods§

Source

fn set_max_features(&mut self, max_features: i32) -> Result<()>

Source

fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>

Source

fn set_n_levels(&mut self, nlevels: i32) -> Result<()>

Source

fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>

Source

fn set_first_level(&mut self, first_level: i32) -> Result<()>

Source

fn set_wta_k(&mut self, wta_k: i32) -> Result<()>

Source

fn set_score_type(&mut self, score_type: ORB_ScoreType) -> Result<()>

Source

fn set_patch_size(&mut self, patch_size: i32) -> Result<()>

Source

fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>

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.

Implementors§