Vicon Shogun banner

Description

Swap marker translation data on two indicated markers beginning at the current frame through the end of the file.

When editing marker data, often you will come across "swaps". These are a by-product of optical motion capture systems when the definition (label) of a marker suddenly (over a single frame, or following a gap) swaps its label with a neighboring marker. This is generally brought about by a physical proximity of two markers in excess of the system's ability to resolve.

Shogun's swap command provides options to swiftly remedy these occurrences whether they occur over the entire frame range of the file, or over a subset of the frame range.

Functional area

Data manipulators

Command syntax

Syntax

swap [-all] [-ranges] [-diff] [-currentFrame]

Arguments

None

Flags

NameFlag argumentsArgument typeExclusive toComments
all0rangesSwaps data over entire file
ranges0allSwaps data over the selected ranges only
diff



currentFrame



Return value

void

Examples

select LFWT LWRI; 
swap -ranges;
// Assuming that you have identified the time frame(s) where swaps
// occurred between these two markers, the swap command will fix them
swap;swap -all;
// Performs a swap from the current frame to the start of the move

Additional information

Related commands