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: &Widget3D, pose: Affine3d) -> Result<()> { ... }
    fn finalize(&mut self) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::viz::WWidgetMerger

Required Methods§

Provided Methods§

source

fn add_widget(&mut self, widget: &Widget3D, pose: Affine3d) -> Result<()>

Add widget to merge with optional position change

C++ default parameters
  • pose: Affine3d::Identity()
source

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

Repacks internal structure to single widget

Implementors§