Vicon Shogun banner

Description

Removes the connecting line between markers in the scene.

If no target markers are specified, all connecting lines originating from the source marker are removed. Otherwise, only connecting lines between the source and each specified target marker are removed.

Functional area

Data editing

Command syntax

Syntax

removeMarkerConnection "sourceNode" ["targetNode1" "targetNode2"...]

Arguments

NameTypeRequiredComments
targetMarker1stringnoName of the marker connected to source.
sourceMarkerstringyesName of the marker to remove connection(s) from.

Flags

None

Return value

void

Examples

// Draw connecting lines around the four head markers, and then
// remove some of them.
setMarkerConnection "LFHD" "LBHD" -color 0 255 0;
setMarkerConnection "LBHD" "RBHD" -color 0 255 0;
setMarkerConnection "RBHD" "RFHD" -color 0 255 0;
setMarkerConnection "LFHD" "RFHD" -color 0 255 0;

// Now remove the connection from the LBHD to the RBHD
removeMarkerConnection "LBHD" "RBHD";

// And remove all connections originating from the LFHD
removeMarkerConnection "LFHD";

Additional information

Related commands