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

pub trait WImage3DTrait: Widget3DTrait {
    pub fn as_raw_WImage3D(&self) -> *const c_void;
pub fn as_raw_mut_WImage3D(&mut self) -> *mut c_void; pub fn set_image(&mut self, image: &dyn ToInputArray) -> Result<()> { ... }
pub fn set_size(&mut self, size: Size) -> Result<()> { ... } }

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

Required methods

Loading content...

Provided methods

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

Sets the image content of the widget.

Parameters

  • image: BGR or Gray-Scale image.

pub 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

impl WImage3DTrait for WImage3D[src]

Loading content...