pub trait WImage3DTrait: WImage3DTraitConst + Widget3DTrait {
    fn as_raw_mut_WImage3D(&mut self) -> *mut c_void;

    fn set_image(&mut self, image: &dyn ToInputArray) -> Result<()> { ... }
    fn set_size(&mut self, size: Size) -> Result<()> { ... }
}

Required Methods

Provided Methods

Sets the image content of the widget.

Parameters
  • image: BGR or Gray-Scale image.

Sets the image size of the widget.

Parameters
  • size: the new size of the image.

Implementors