Function opencv::ovis::create_triangle_mesh[][src]

pub fn create_triangle_mesh(
    name: &str,
    vertices: &dyn ToInputArray,
    normals: &dyn ToInputArray,
    indices: &dyn ToInputArray
) -> Result<()>
Expand description

creates a triangle mesh from vertex-vertex or face-vertex representation

creates a material with the same name

Parameters

  • name: name of the mesh
  • vertices: float vector of positions
  • normals: float vector of normals
  • indices: int vector of indices

C++ default parameters

  • normals: noArray()
  • indices: noArray()