Trait opencv::viz::prelude::WWidgetMergerTrait
source · pub trait WWidgetMergerTrait: WWidgetMergerTraitConst + Widget3DTrait {
// Required method
fn as_raw_mut_WWidgetMerger(&mut self) -> *mut c_void;
// Provided methods
fn add_widget(
&mut self,
widget: &impl Widget3DTraitConst,
pose: Affine3d
) -> Result<()> { ... }
fn add_widget_def(&mut self, widget: &impl Widget3DTraitConst) -> Result<()> { ... }
fn finalize(&mut self) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::viz::WWidgetMerger
Required Methods§
fn as_raw_mut_WWidgetMerger(&mut self) -> *mut c_void
Provided Methods§
sourcefn add_widget(
&mut self,
widget: &impl Widget3DTraitConst,
pose: Affine3d
) -> Result<()>
fn add_widget( &mut self, widget: &impl Widget3DTraitConst, pose: Affine3d ) -> Result<()>
Add widget to merge with optional position change
§C++ default parameters
- pose: Affine3d::Identity()
sourcefn add_widget_def(&mut self, widget: &impl Widget3DTraitConst) -> Result<()>
fn add_widget_def(&mut self, widget: &impl Widget3DTraitConst) -> Result<()>
Add widget to merge with optional position change
§Note
This alternative version of WWidgetMergerTrait::add_widget function uses the following default values for its arguments:
- pose: Affine3d::Identity()
Object Safety§
This trait is not object safe.