/
getMarkerConnectionColor

getMarkerConnectionColor

Description

Returns the color of the marker connection between the two given markers as an integer array consisting of RGB values.

Functional area

Data retrieval

Command syntax

Syntax

getMarkerConnectionColor "sourceMarker" "targetMarker"

Arguments

NameTypeRequiredComments
sourceMarkerstringyesMarker at one end of connecting line.
targetMarkerstringyesMarker at other end of connecting line.

Flags

None

Return value

integer array

Returns an integer array of RGB color values for the connection line between two markers.

Examples

// Create a red connection line between LFHD and RFHD.
setMarkerConnection "LFHD" "RFHD" -color 255 0 0;
 
// Get the connection line color between LFHD and RFHD
// and print the RGB values.
int $color[] = `getMarkerConnectionColor "LFHD" "RFHD"`;
print $color;


Additional information

Related commands

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks