Skip to content

ppf_match_3d_Pose3D

surface_matchingclassOpenCV 5.0.0
import { ppf_match_3d_Pose3D } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSppf_match_3d_Pose3D
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Class, allowing the storage of a pose. The data structure stores both the quaternions and the matrix forms. It supports IO functionality together with various helper methods to work with poses

Constructors and members

static new

Create an owned ppf_match_3d_Pose3D object. Release native handles with using or delete().

new(Alpha: number, ModelIndex: number, NumVotes: number): ppf_match_3d_Pose3D;
4 available overloads
new(): ppf_match_3d_Pose3D;
new(_0: number): ppf_match_3d_Pose3D;
new(Alpha: number, ModelIndex: number): ppf_match_3d_Pose3D;
new(Alpha: number, ModelIndex: number, NumVotes: number): ppf_match_3d_Pose3D;
_0

0 argument (number).

Alpha

alpha argument (number).

ModelIndex

model index argument (number).

NumVotes

num votes argument (number).

Returns

The ppf_match_3d_Pose3D result.

clone

Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.

clone(): this;
Returns

The this result.

alpha

alpha value for ppf_match_3d_Pose3D.

alpha: number;

residual

residual value for ppf_match_3d_Pose3D.

residual: number;

modelIndex

model index value for ppf_match_3d_Pose3D.

modelIndex: number;

numVotes

num votes value for ppf_match_3d_Pose3D.

numVotes: number;

pose

pose value for ppf_match_3d_Pose3D.

pose: Matx44d;

angle

angle value for ppf_match_3d_Pose3D.

angle: number;

t

t value for ppf_match_3d_Pose3D.

t: Vec3d;

q

q value for ppf_match_3d_Pose3D.

q: Vec4d;

updatePose

Updates the pose with the new one

updatePose(NewPose: Matx44d): void;
NewPose

New pose to overwrite

updatePose1

Updates the pose with the new one

updatePose1(NewR: Matx33d, NewT: Vec3d): void;
NewR

new r argument (Matx33d).

NewT

new t argument (Vec3d).

updatePoseQuat

Updates the pose with the new one, but this time using quaternions to represent rotation

updatePoseQuat(Q: Vec4d, NewT: Vec3d): void;
Q

q argument (Vec4d).

NewT

new t argument (Vec3d).

appendPose

Left multiplies the existing pose in order to update the transformation

appendPose(IncrementalPose: Matx44d): void;
IncrementalPose

New pose to apply

printPose

Print this pose's transformation and vote information through the runtime's output callback.

printPose(): void;

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.