Trait Detail_SphericalWarperTrait

Source
pub trait Detail_SphericalWarperTrait: Detail_SphericalWarperTraitConst {
    // Required method
    fn as_raw_mut_Detail_SphericalWarper(&mut self) -> *mut c_void;

    // Provided methods
    fn build_maps(
        &mut self,
        src_size: Size,
        k: &impl ToInputArray,
        r: &impl ToInputArray,
        xmap: &mut impl ToOutputArray,
        ymap: &mut impl ToOutputArray,
    ) -> Result<Rect> { ... }
    fn warp(
        &mut self,
        src: &impl ToInputArray,
        k: &impl ToInputArray,
        r: &impl ToInputArray,
        interp_mode: i32,
        border_mode: i32,
        dst: &mut impl ToOutputArray,
    ) -> Result<Point> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

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§