[][src]Trait opencv::viz::WImage3DTrait

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<()>

Sets the image content of the widget.

Parameters

  • image: BGR or Gray-Scale image.

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

Sets the image size of the widget.

Parameters

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

Implementors

impl WImage3DTrait for WImage3D[src]

Loading content...