View Source Evision.PPFMatch3D.Pose3D (Evision v0.1.38)

Summary

Types

t()

Type that represents an PPFMatch3D.Pose3D struct.

Types

@type t() :: %Evision.PPFMatch3D.Pose3D{ref: reference()}

Type that represents an PPFMatch3D.Pose3D struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

appendPose(self, incrementalPose)

View Source
@spec appendPose(t(), Evision.Mat.t()) :: t() | {:error, String.t()}

appendPose

Positional Arguments
  • self: Evision.PPFMatch3D.Pose3D.t()

  • incrementalPose: Evision.Mat.t()

    \brief Left multiplies the existing pose in order to update the transformation \param [in] IncrementalPose New pose to apply

Python prototype (for reference only):

appendPose(IncrementalPose) -> None
@spec get_alpha(t()) :: number()
@spec get_angle(t()) :: number()
@spec get_modelIndex(t()) :: integer()
@spec get_numVotes(t()) :: integer()
@spec get_pose(t()) :: Evision.Mat.t()
@spec get_q(t()) :: {number(), number(), number(), number()}
@spec get_residual(t()) :: number()
@spec get_t(t()) :: {number(), number(), number()}
@spec pose3D() :: t() | {:error, String.t()}

Pose3D

Return
  • self: Evision.PPFMatch3D.Pose3D.t()

Python prototype (for reference only):

Pose3D() -> <ppf_match_3d_Pose3D object>
@spec pose3D(number()) :: t() | {:error, String.t()}

Pose3D

Positional Arguments
  • alpha: double
Keyword Arguments
  • modelIndex: size_t.
  • numVotes: size_t.
Return
  • self: Evision.PPFMatch3D.Pose3D.t()

Python prototype (for reference only):

Pose3D(Alpha[, ModelIndex[, NumVotes]]) -> <ppf_match_3d_Pose3D object>
@spec pose3D(number(), [{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

Pose3D

Positional Arguments
  • alpha: double
Keyword Arguments
  • modelIndex: size_t.
  • numVotes: size_t.
Return
  • self: Evision.PPFMatch3D.Pose3D.t()

Python prototype (for reference only):

Pose3D(Alpha[, ModelIndex[, NumVotes]]) -> <ppf_match_3d_Pose3D object>
@spec printPose(t()) :: t() | {:error, String.t()}

printPose

Positional Arguments
  • self: Evision.PPFMatch3D.Pose3D.t()

Python prototype (for reference only):

printPose() -> None
Link to this function

updatePose(self, newPose)

View Source
@spec updatePose(t(), Evision.Mat.t()) :: t() | {:error, String.t()}

updatePose

Positional Arguments
  • self: Evision.PPFMatch3D.Pose3D.t()

  • newPose: Evision.Mat.t()

    \brief Updates the pose with the new one \param [in] NewPose New pose to overwrite

Python prototype (for reference only):

updatePose(NewPose) -> None
Link to this function

updatePose(self, newR, newT)

View Source
@spec updatePose(t(), Evision.Mat.t(), {number(), number(), number()}) ::
  t() | {:error, String.t()}

updatePose

Positional Arguments
  • self: Evision.PPFMatch3D.Pose3D.t()

  • newR: Evision.Mat.t()

  • newT: Vec3d

    \brief Updates the pose with the new one

Python prototype (for reference only):

updatePose(NewR, NewT) -> None
Link to this function

updatePoseQuat(self, q, newT)

View Source
@spec updatePoseQuat(
  t(),
  {number(), number(), number(), number()},
  {number(), number(), number()}
) ::
  t() | {:error, String.t()}

updatePoseQuat

Positional Arguments
  • self: Evision.PPFMatch3D.Pose3D.t()

  • q: Vec4d

  • newT: Vec3d

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

Python prototype (for reference only):

updatePoseQuat(Q, NewT) -> None