Function draw_wireframe

Source
pub fn draw_wireframe(
    img: &mut impl ToInputOutputArray,
    pts2d: &impl ToInputArray,
    tris: &impl ToInputArray,
    color: Scalar,
    typ: i32,
    cull_backface: bool,
) -> Result<()>
Expand description

Draw a wireframe of a triangle mesh

§Parameters

  • img: the output image
  • pts2d: the 2d points obtained by [projectPoints]
  • tris: triangle face connectivity
  • color: line color
  • type: line type. See [LineTypes].
  • cullBackface: enable back-face culling based on CCW order

§C++ default parameters

  • typ: LINE_8
  • cull_backface: false