Trait opencv::hub_prelude::WImage3DTrait[][src]

pub trait WImage3DTrait: Widget3DTrait {
    fn as_raw_WImage3D(&self) -> *const c_void;
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<()> { ... } }

This 3D Widget represents an image in 3D space. :

Required methods

Loading content...

Provided methods

fn set_image(&mut self, image: &dyn ToInputArray) -> Result<()>[src]

Sets the image content of the widget.

Parameters

  • image: BGR or Gray-Scale image.

fn set_size(&mut self, size: Size) -> Result<()>[src]

Sets the image size of the widget.

Parameters

  • size: the new size of the image.
Loading content...

Implementors

Loading content...