Struct opencv::viz::WWidgetMerger
source · pub struct WWidgetMerger { /* private fields */ }
Expand description
This class allows to merge several widgets to single one.
It has quite limited functionality and can’t merge widgets with different attributes. For instance, if widgetA has color array and widgetB has only global color defined, then result of merge won’t have color at all. The class is suitable for merging large amount of similar widgets. :
Implementations§
source§impl WWidgetMerger
impl WWidgetMerger
pub fn default() -> Result<WWidgetMerger>
Trait Implementations§
source§impl Boxed for WWidgetMerger
impl Boxed for WWidgetMerger
source§impl Drop for WWidgetMerger
impl Drop for WWidgetMerger
source§impl From<WWidgetMerger> for Widget
impl From<WWidgetMerger> for Widget
source§fn from(s: WWidgetMerger) -> Self
fn from(s: WWidgetMerger) -> Self
Converts to this type from the input type.
source§impl From<WWidgetMerger> for Widget3D
impl From<WWidgetMerger> for Widget3D
source§fn from(s: WWidgetMerger) -> Self
fn from(s: WWidgetMerger) -> Self
Converts to this type from the input type.
source§impl WWidgetMergerTrait for WWidgetMerger
impl WWidgetMergerTrait for WWidgetMerger
source§impl WWidgetMergerTraitConst for WWidgetMerger
impl WWidgetMergerTraitConst for WWidgetMerger
fn as_raw_WWidgetMerger(&self) -> *const c_void
source§impl Widget3DTrait for WWidgetMerger
impl Widget3DTrait for WWidgetMerger
fn as_raw_mut_Widget3D(&mut self) -> *mut c_void
source§fn update_pose(&mut self, pose: Affine3d) -> Result<()>
fn update_pose(&mut self, pose: Affine3d) -> Result<()>
Updates pose of the widget by pre-multiplying its current pose. Read more