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

pub trait MeshTrait {
    pub fn as_raw_Mesh(&self) -> *const c_void;
pub fn as_raw_mut_Mesh(&mut self) -> *mut c_void; pub fn cloud(&mut self) -> Mat { ... }
pub fn set_cloud(&mut self, val: Mat) { ... }
pub fn colors(&mut self) -> Mat { ... }
pub fn set_colors(&mut self, val: Mat) { ... }
pub fn normals(&mut self) -> Mat { ... }
pub fn set_normals(&mut self, val: Mat) { ... }
pub fn polygons(&mut self) -> Mat { ... }
pub fn set_polygons(&mut self, val: Mat) { ... }
pub fn texture(&mut self) -> Mat { ... }
pub fn set_texture(&mut self, val: Mat) { ... }
pub fn tcoords(&mut self) -> Mat { ... }
pub fn set_tcoords(&mut self, val: Mat) { ... } }

This class wraps mesh attributes, and it can load a mesh from a ply file. :

Required methods

pub fn as_raw_Mesh(&self) -> *const c_void[src]

pub fn as_raw_mut_Mesh(&mut self) -> *mut c_void[src]

Loading content...

Provided methods

pub fn cloud(&mut self) -> Mat[src]

point coordinates of type CV_32FC3 or CV_64FC3 with only 1 row

pub fn set_cloud(&mut self, val: Mat)[src]

point coordinates of type CV_32FC3 or CV_64FC3 with only 1 row

pub fn colors(&mut self) -> Mat[src]

point color of type CV_8UC3 or CV_8UC4 with only 1 row

pub fn set_colors(&mut self, val: Mat)[src]

point color of type CV_8UC3 or CV_8UC4 with only 1 row

pub fn normals(&mut self) -> Mat[src]

point normals of type CV_32FC3, CV_32FC4, CV_64FC3 or CV_64FC4 with only 1 row

pub fn set_normals(&mut self, val: Mat)[src]

point normals of type CV_32FC3, CV_32FC4, CV_64FC3 or CV_64FC4 with only 1 row

pub fn polygons(&mut self) -> Mat[src]

CV_32SC1 with only 1 row

pub fn set_polygons(&mut self, val: Mat)[src]

CV_32SC1 with only 1 row

pub fn texture(&mut self) -> Mat[src]

pub fn set_texture(&mut self, val: Mat)[src]

pub fn tcoords(&mut self) -> Mat[src]

CV_32FC2 or CV_64FC2 with only 1 row

pub fn set_tcoords(&mut self, val: Mat)[src]

CV_32FC2 or CV_64FC2 with only 1 row

Loading content...

Implementors

impl MeshTrait for Mesh[src]

Loading content...