Scripting API

btkSetFrameNumber

Module BTKAcquisitionModifier

Description#

Sets points and analogs frames number.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.
numInteger with the new number of frames.
rInteger with the new ratio of analog samples per 3D frames.

Returned Values#

Detailed Description#

  • btkSetFrameNumber(h, num) resizes the number of frames. The analog's frame number will correspond to num multiplied by the ratio set in the acquisition.
  • btkSetFrameNumber(h, num, r) resizes the number of frames where the analog's frame number will correspond to the product num by r.

Notes#

See also#

btkSetAnalogResolution, btkSetAnalogSampleNumberPerFrame, btkSetFirstFrame, btkSetFrequency, btkSetMaxInterpolationGap, btkSetPointNumber

Syntax#

btkSetFrameNumber(h, num)
btkSetFrameNumber(h, num, r)

Examples#