Scripting API

btkSetPointsUnit

Module BTKPointModifier

Description#

Modifies points' unit.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.
typeString with the type to modify (see the detailed description for the available types).
unitString with the new unit.

Returned Values#

Detailed Description#

The type must be a string corresponding to one of the available type:
  • marker ;
  • angle ;
  • force ;
  • moment ;
  • power ;
By default an acquisition is set with these units:
  • marker: millimeter (mm) ;
  • angle: degres (deg) ;
  • force: newton (N) ;
  • moment: newton millimeter (Nmm) ;
  • power: watt (W) ;

Notes#

See also#

btkGetPointsUnit

Syntax#

btkSetPointsUnit(h, type, unit)

Examples#