Scripting API

btkAppendPoint

Module BTKPointModifier

Description#

Appends a new point into the given acquisition and (optionally) returns an updated list of points.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.
typeString with the point's type (see note #1).
labelString containing the label of the inserted point.
valuesMatrix (n,3) of reals where n is the number of frames.

Returned Values#

pointsUpdated list of points. Its format is the same than using the function
pointsInfoUpdated informations related to the points. Its format is the same than using the function

Detailed Description#

Notes#

Note #1: The point's type must be a string corresponding to one of the following string:

  • marker ;
  • angle ;
  • force ;
  • moment ;
  • power ;

Note #2: The residual is an informational parameter and is not used in some commercial softwares. Not supported yet.

See also#

btkClearPoints, btkGetPoints, btkRemovePoint

Syntax#

[points, pointsInfo] = btkAppendPoint(h, type, label, values)

Examples#