pub trait Dynafu_DynaFuTrait: Dynafu_DynaFuTraitConst {
// Required method
fn as_raw_mut_Dynafu_DynaFu(&mut self) -> *mut c_void;
// Provided methods
fn reset(&mut self) -> Result<()> { ... }
fn update(&mut self, depth: &impl ToInputArray) -> Result<bool> { ... }
fn render_surface(
&mut self,
depth_image: &mut impl ToOutputArray,
vert_image: &mut impl ToOutputArray,
norm_image: &mut impl ToOutputArray,
warp: bool,
) -> Result<()> { ... }
fn render_surface_def(
&mut self,
depth_image: &mut impl ToOutputArray,
vert_image: &mut impl ToOutputArray,
norm_image: &mut impl ToOutputArray,
) -> Result<()> { ... }
}Expand description
Mutable methods for crate::rgbd::Dynafu_DynaFu
Required Methods§
fn as_raw_mut_Dynafu_DynaFu(&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
Sourcefn render_surface(
&mut self,
depth_image: &mut impl ToOutputArray,
vert_image: &mut impl ToOutputArray,
norm_image: &mut impl ToOutputArray,
warp: bool,
) -> Result<()>
fn render_surface( &mut self, depth_image: &mut impl ToOutputArray, vert_image: &mut impl ToOutputArray, norm_image: &mut impl ToOutputArray, warp: bool, ) -> Result<()>
§C++ default parameters
- warp: true
Sourcefn render_surface_def(
&mut self,
depth_image: &mut impl ToOutputArray,
vert_image: &mut impl ToOutputArray,
norm_image: &mut impl ToOutputArray,
) -> Result<()>
fn render_surface_def( &mut self, depth_image: &mut impl ToOutputArray, vert_image: &mut impl ToOutputArray, norm_image: &mut impl ToOutputArray, ) -> Result<()>
§Note
This alternative version of Dynafu_DynaFuTrait::render_surface function uses the following default values for its arguments:
- warp: true
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.