/
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] |
Arguments
None
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
alignWorldVertical | 1 | boolean | — | Set 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. |
zoomToFit | 0 | — | — | Zoom to fit the view of the selected cameras |
tileMode | 1 | boolean | — | Show all cameras view or only view for selected camera |
primarySelectFull | 0 | — | — | Set the cameras view to show only the selected camera. |
allViews | 0 | — | — | If not specified all options are applied only to the active view. Otherwise options are applied on all Cameras views |
showCircles | 1 | boolean | — | Show/Hide the centroids on the camera view |
showBlobs | 1 | boolean | — | Show/Hide the blobs on the camera view |
showThresholdMaps | 1 | boolean | — | Show/Hide the threshold map for the cameras |
showThresholdGrid | boolean | |||
paintMode | 1 | boolean | — | Set 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. |
setPaintValue | 1 | integer | — | Set current value for threshold painting. The value's range is 0-255. Setting the value to 0 results in no paint. |
showTypes | 1 | boolean | — | Show/Hide the type of the cameras |
paintTypeRectangle | 1 | boolean | — | Set 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 |
showSettings | 1 | boolean | — | Show/Hide settings for the selected cameras. User can change the values for "Strobe Intensity", "Threshold", "Gain", "Circularity" |
showNames | 1 | boolean | — | Show/Hide the names of the cameras |
showMarkers | 1 | boolean | — | — |
connectLines | 1 | boolean | — | — |
showAllClips | 1 | boolean | — | — |
show2DTracks | 1 | boolean | — | — |
set2DTrackLength | 1 | integer | — | — |
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
, multiple selections available,