[][src]Function opencv::rapid::draw_wireframe

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

Draw a wireframe of a triangle mesh

Parameters

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

C++ default parameters

  • typ: LINE_8
  • cull_backface: false