Trait LpMotionStabilizerTrait

Source
pub trait LpMotionStabilizerTrait: IMotionStabilizerTrait + LpMotionStabilizerTraitConst {
    // Required method
    fn as_raw_mut_LpMotionStabilizer(&mut self) -> *mut c_void;

    // Provided methods
    fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
    fn set_frame_size(&mut self, val: Size) -> Result<()> { ... }
    fn set_trim_ratio(&mut self, val: f32) -> Result<()> { ... }
    fn set_weight1(&mut self, val: f32) -> Result<()> { ... }
    fn set_weight2(&mut self, val: f32) -> Result<()> { ... }
    fn set_weight3(&mut self, val: f32) -> Result<()> { ... }
    fn set_weight4(&mut self, val: f32) -> Result<()> { ... }
    fn stabilize(
        &mut self,
        size: i32,
        motions: &Vector<Mat>,
        range: &impl RangeTraitConst,
        stabilization_motions: &mut impl MatTrait,
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source

fn set_frame_size(&mut self, val: Size) -> Result<()>

Source

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

Source

fn set_weight1(&mut self, val: f32) -> Result<()>

Source

fn set_weight2(&mut self, val: f32) -> Result<()>

Source

fn set_weight3(&mut self, val: f32) -> Result<()>

Source

fn set_weight4(&mut self, val: f32) -> Result<()>

Source

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> 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§