Scripting API

btkSetPointValues

Module BTKPointModifier

Description#

Sets point's coordinates (values) from a numpy matrix.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.
indexInteger containing the index of the point to modify.
labelString containing the label of the point to modify.
vNumpy matrix of reals where the number of rows corresponds to the number of frames in the acquisition and the number of columns corresponds to the components of the point.

Returned Values#

Detailed Description#

To modify only the value of a specific type of point (angles, forces, moments, ...) you can use use the following duos:

Notes#

See also#

btkGetPointsValues, btkGetPoints

Syntax#

btkSetPointValues(h, index, v)
btkSetPointValues(h, label, v)

Examples#