ppf_match_3d_Pose3D
import { ppf_match_3d_Pose3D } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
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;_00 argument (number).
Alphaalpha argument (number).
ModelIndexmodel index argument (number).
NumVotesnum votes argument (number).
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;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;NewPoseNew pose to overwrite
updatePose1
Updates the pose with the new one
updatePose1(NewR: Matx33d, NewT: Vec3d): void;NewRnew r argument (Matx33d).
NewTnew 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;Qq argument (Vec4d).
NewTnew t argument (Vec3d).
appendPose
Left multiplies the existing pose in order to update the transformation
appendPose(IncrementalPose: Matx44d): void;IncrementalPoseNew 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.