Difference between revisions of "CameraPanel"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | [[ | + | {{UI Object Header}} |
+ | A real-time view of a camera or grid of cameras. Unlike the [[camera]] object, camerapanel includes a panel that allows access to various functions: | ||
+ | * PTZ functions | ||
+ | * playback mode | ||
+ | ... | ||
+ | |||
+ | == Parameters == | ||
+ | *'''id''': the object's ID, used by UISets | ||
+ | *'''address''': the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini | ||
+ | *'''position''': the object's position. Use the pixels or rows and columns coordinates format | ||
+ | *'''size''': the camera image's width and height | ||
+ | *'''camera list''': optional. If defined, it limits the cameras you can view from this | ||
+ | panel when cycling between cameras (clicking on the camera name, | ||
+ | or the camera view), to those listed here | ||
+ | |||
+ | == Syntax == | ||
+ | (camerapanel[!<id>] <address>; <position>; <width>; <height>; <camera list>) | ||
+ | E.g. | ||
+ | (camerapanel!cam1 livingroom; x3y0; 520; 283) | ||
+ | |||
+ | == UI Attributes == | ||
+ | {{:UI Object Attributes (Common)}} | ||
+ | {{:UI Object Attributes (Camera)}} | ||
+ | === Camerapanel attributes === | ||
+ | {| class="wikitable" | ||
+ | !Name | ||
+ | !Value | ||
+ | !Description | ||
+ | |- | ||
+ | |rowspan="2"|panel | ||
+ | |true | ||
+ | |Position specified as x/y coordinates. E.g. ''x-5y10'' | ||
+ | |- | ||
+ | |false | ||
+ | |Position specified as row/column. E.g. ''r1c2'' | ||
+ | |- | ||
+ | |||
+ | |} |
Revision as of 12:30, 13 January 2014
A real-time view of a camera or grid of cameras. Unlike the camera object, camerapanel includes a panel that allows access to various functions:
- PTZ functions
- playback mode
...
Parameters
- id: the object's ID, used by UISets
- address: the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini
- position: the object's position. Use the pixels or rows and columns coordinates format
- size: the camera image's width and height
- camera list: optional. If defined, it limits the cameras you can view from this
panel when cycling between cameras (clicking on the camera name, or the camera view), to those listed here
Syntax
(camerapanel[!<id>] <address>; <position>; <width>; <height>; <camera list>)
E.g.
(camerapanel!cam1 livingroom; x3y0; 520; 283)
UI Attributes
UI Object Attributes (Common) UI Object Attributes (Camera)
Camerapanel attributes
Name | Value | Description |
---|---|---|
panel | true | Position specified as x/y coordinates. E.g. x-5y10 |
false | Position specified as row/column. E.g. r1c2 |