rapid_drawWireframe
import { rapid_drawWireframe } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSimg, pts2d, tris, color
FUNCTIONrapid_drawWireframe
RETURN TYPEvoid
Draw a wireframe of a triangle mesh
rapid_drawWireframe(img: Mat, pts2d: Mat, tris: Mat, color: Scalar, type_: number, cullBackface: boolean): void;3 available overloads
rapid_drawWireframe(img: Mat, pts2d: Mat, tris: Mat, color: Scalar): void;rapid_drawWireframe(img: Mat, pts2d: Mat, tris: Mat, color: Scalar, type_: number): void;rapid_drawWireframe(img: Mat, pts2d: Mat, tris: Mat, color: Scalar, type_: number, cullBackface: boolean): void;imgInput/output value, modified by the native operation. the output image
pts2dthe 2d points obtained by
projectPointstristriangle face connectivity
colorline color
type_line type. See
LineTypes.cullBackfaceenable back-face culling based on CCW order
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.