BTK Matlab Wrapper  0.3dev.0
Matlab bindings for the Biomechanical ToolKit library (BTK)
btkSetEventId Class Reference

Description

Modify the id of all events which have the required label.

Syntax:
[events, eventsInfo] = btkSetEventId(h, label, newdid)
Parameters
hHandle pointing to a C++ btk::Acquisition object.
labelString with the label of the event to modify.
newidInteger containing the new ID (see the detailed description for the list of known ID).
Return values
eventsA structure with the same format than in the function btkGetEvents
eventsInfoA structure with the same format than in the function btkGetEvents
Detailed description:
Even if there is no rule for the id value, these 3 next values are used in Vicon Workstation and Nexus to distinguish events' type. The value 0 is for general event. Value 1 corresponds to the foot strike event and value 2 for the foot off. Without the use of these values, it is known that Workstation and Nexus put all events in general (default value is 0). For Polygon, one user reported that some points had their values set to 0.
See Also
btkSetEventDescription, btkSetEventLabel, btkSetEventSubject, btkSetEventTime