[][src]Trait opencv::viz::WText3DTrait

pub trait WText3DTrait: Widget3DTrait {
    pub fn as_raw_WText3D(&self) -> *const c_void;
pub fn as_raw_mut_WText3D(&mut self) -> *mut c_void; pub fn set_text(&mut self, text: &str) -> Result<()> { ... }
pub fn get_text(&self) -> Result<String> { ... } }

This 3D Widget represents 3D text. The text always faces the camera.

Required methods

Loading content...

Provided methods

pub fn set_text(&mut self, text: &str) -> Result<()>[src]

Sets the text content of the widget.

Parameters

  • text: Text content of the widget.

pub fn get_text(&self) -> Result<String>[src]

Returns the current text content of the widget.

Loading content...

Implementors

impl WText3DTrait for WText3D[src]

Loading content...