pub trait Kinfu_KinFuTrait: Kinfu_KinFuTraitConst {
// Required method
fn as_raw_mut_Kinfu_KinFu(&mut self) -> *mut c_void;
// Provided methods
fn reset(&mut self) -> Result<()> { ... }
fn update(&mut self, depth: &impl ToInputArray) -> Result<bool> { ... }
}
Expand description
Mutable methods for crate::rgbd::Kinfu_KinFu
Required Methods§
fn as_raw_mut_Kinfu_KinFu(&mut self) -> *mut c_void
Provided Methods§
Sourcefn update(&mut self, depth: &impl ToInputArray) -> Result<bool>
fn update(&mut self, depth: &impl ToInputArray) -> Result<bool>
Process next depth frame
Integrates depth into voxel space with respect to its ICP-calculated pose. Input image is converted to CV_32F internally if has another type.
§Parameters
- depth: one-channel image which size and depth scale is described in algorithm’s parameters
§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.