opencv::prelude

Trait ColoredKinfu_ColoredKinFuTrait

Source
pub trait ColoredKinfu_ColoredKinFuTrait: ColoredKinfu_ColoredKinFuTraitConst {
    // Required method
    fn as_raw_mut_ColoredKinfu_ColoredKinFu(&mut self) -> *mut c_void;

    // Provided methods
    fn reset(&mut self) -> Result<()> { ... }
    fn update(
        &mut self,
        depth: &impl ToInputArray,
        rgb: &impl ToInputArray,
    ) -> Result<bool> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn reset(&mut self) -> Result<()>

Resets the algorithm

Clears current model and resets a pose.

Source

fn update( &mut self, depth: &impl ToInputArray, rgb: &impl ToInputArray, ) -> Result<bool>

Process next depth frame

§Parameters
  • depth: input Mat of depth frame
  • rgb: input Mat of rgb (colored) frame
§Returns

true if succeeded to align new frame with current scene, false if opposite

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§