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§unsafe fn from_raw(
ptr: <WWidgetMerger as OpenCVType<'_>>::ExternReceive
) -> Self
unsafe fn from_raw( ptr: <WWidgetMerger as OpenCVType<'_>>::ExternReceive ) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(self) -> <WWidgetMerger as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <WWidgetMerger as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <WWidgetMerger as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <WWidgetMerger as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(
&mut self
) -> <WWidgetMerger as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self ) -> <WWidgetMerger as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl Debug for WWidgetMerger
impl Debug 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
fn as_raw_mut_WWidgetMerger(&mut self) -> *mut c_void
source§fn 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 Read more
source§fn 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 Read more
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
source§impl Widget3DTraitConst for WWidgetMerger
impl Widget3DTraitConst for WWidgetMerger
source§impl WidgetTrait for WWidgetMerger
impl WidgetTrait for WWidgetMerger
source§impl WidgetTraitConst for WWidgetMerger
impl WidgetTraitConst for WWidgetMerger
impl Send for WWidgetMerger
Auto Trait Implementations§
impl Freeze for WWidgetMerger
impl RefUnwindSafe for WWidgetMerger
impl !Sync for WWidgetMerger
impl Unpin for WWidgetMerger
impl UnwindSafe for WWidgetMerger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more