/
camerasView

camerasView

Description

Sets the Cameras view pane properties

The camerasView commands enable the display of elements of the 2D cameras view like blobs, centroids, threshold map, set cameras' settings, etc.

Functional area

Interface

Command syntax

Syntax

camerasView [-alignWorldVertical boolean] [-zoomToFit] [-tileMode boolean] [-primarySelectFull] [-allViews] [-showCircles boolean] [-showBlobs boolean] [-showThresholdMaps boolean] [-showThresholdGrid boolean] [-paintMode boolean] [-setPaintValue integer] [-showTypes boolean] [-paintTypeRectangle boolean] [-showSettings boolean] [-showNames boolean] [-showMarkers boolean] [-connectLines boolean] [-showAllClips boolean] [-show2DTracks boolean] [-set2DTrackLength integer] [-showCentroidCount boolean] [-showFitMethod boolean] [-showSelectedCircles boolean] [-show3D boolean] [-distort3D boolean] [-opacity float] [-showOrientation boolean] [-snapOrientation boolean] [-showBorder boolean] [-pinCamera boolean]

Arguments

None

Flags

NameFlag argumentsArgument typeExclusive toComments
alignWorldVertical1booleanSet on/off/toggle rotation mode for the selected cameras. If the mode is turned on then the camera view can be rotated using left mouse button. If not, the camera view cannot be moved.
zoomToFit0Zoom to fit the view of the selected cameras
tileMode1booleanShow all cameras view or only view for selected camera
primarySelectFull0

Set the cameras view to show only the selected camera.

allViews0If not specified all options are applied only to the active view. Otherwise options are applied on all Cameras views
showCircles1booleanShow/Hide the centroids on the camera view
showBlobs1booleanShow/Hide the blobs on the camera view
showThresholdMaps1booleanShow/Hide the threshold map for the cameras
showThresholdGrid
boolean

paintMode1booleanSet the paint mode for the selected cameras. In this mode the user can manually edit the threshold map. If the mode is turned on, the threshold map is also on.
setPaintValue1integerSet current value for threshold painting. The value's range is 0-255. Setting the value to 0 results in no paint.
showTypes1booleanShow/Hide the type of the cameras
paintTypeRectangle1booleanSet rectangle mode when painting the threshold map. In this mode user paints the map by selecting and dragging the mouse between two points. The threshold for selected rectangle will be set to current value
showSettings1booleanShow/Hide settings for the selected cameras. User can change the values for "Strobe Intensity", "Threshold", "Gain", "Circularity"
showNames1booleanShow/Hide the names of the cameras
showMarkers1boolean
connectLines1boolean
showAllClips1boolean
show2DTracks1boolean
set2DTrackLength1integer
showCentroidCount
boolean

showFitMethod
boolean

showSelectedCircles
boolean

show3D
boolean

distort3D
boolean

opacity

float

showOrientation

boolean

snapOrientation

boolean

showBorder
boolean

pinCamera
boolean

Return value

void

Examples

// In this example the camera is selected, the camera's settings are 
// changed and threshold map is prepared for drawing
setPrimary MX40_1234;
camerasView -tileMode off;
camerasView -showSettings toggle;setProperty "Strobe_Intensity" 0.739458 -onMod MX40_252;
setProperty "Threshold" 0.350904 -onMod MX40_252;
setProperty "Gain" 3 -onMod MX40_252;
setProperty "Circularity" 0.359940 -onMod MX40_252;
camerasView -showThresholdMaps toggle;
camerasView -paintMode toggle;
camerasView -paintTypeRectangle toggle;
camerasView -setPaintValue 255; 
// draw the threshold map

Additional information

Related commands


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks