Scripting API

btkSetPointLabel

Module BTKPointModifier

Description#

Modifies point's label and returns updated points.

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.
newlabelString with the new label.

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#

  • btkSetPointLabel(h, index, newlabel) modifies the label of the point specified by the index idx.
  • btkSetPointLabel(h, label, newlabel) modifies the label of the point specified by the label label.

Notes#

See also#

btkSetPointDescription, btkSetPointType, btkSetPointsUnit

Syntax#

[points, pointsInfo] = btkSetPointLabel(h, index, newlabel)
[points, pointsInfo] = btkSetPointLabel(h, label, newlabel)

Examples#