提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.iailab.netsdk.lib.enumeration.NET_EM_SHAPE_TYPE; |
|
5 |
|
7412dd
|
6 |
import static com.iailab.netsdk.lib.NetSDKLib.MAX_COMMON_STRING_64; |
H |
7 |
import static com.iailab.netsdk.lib.NetSDKLib.NET_MAX_POLYGON_NUM; |
149dd0
|
8 |
|
H |
9 |
/** |
|
10 |
* PTZ景物点信息 |
|
11 |
* |
|
12 |
* @author : 47040 |
|
13 |
* @since : Created in 2020/10/26 15:56 |
|
14 |
*/ |
|
15 |
public class POINTINFOS extends NetSDKLib.SdkStructure { |
|
16 |
/** |
|
17 |
* 信息点编号 |
|
18 |
*/ |
|
19 |
public int nIndex; |
|
20 |
/** |
|
21 |
* 信息点是否生效 |
|
22 |
*/ |
|
23 |
public byte bEnable; |
|
24 |
/** |
|
25 |
* 该信息点是否有子标题 |
|
26 |
*/ |
|
27 |
public byte bTitleAttribute; |
|
28 |
/** |
|
29 |
* 云台方向与放大倍数(第一个元素为水平角度,0~3600;第二个元素为垂直角度,-1800~1800;第三个元素为放大倍数,0~127) |
|
30 |
*/ |
|
31 |
public POSTION stuPostion; |
|
32 |
/** |
|
33 |
* 景物点位置(使用相对坐标体系,取值均为0-8191在整个屏幕上的位置) |
|
34 |
*/ |
|
35 |
public POINTCOORDINATE stuPoint; |
|
36 |
/** |
|
37 |
* 一级标题名称 |
|
38 |
*/ |
|
39 |
public byte[] szTitleName = new byte[MAX_COMMON_STRING_64]; |
|
40 |
/** |
|
41 |
* 一级标题名称类型 |
|
42 |
*/ |
|
43 |
public byte byTitleType; |
|
44 |
/** |
|
45 |
* 预留字节 |
|
46 |
*/ |
|
47 |
public byte[] byReserved = new byte[3]; |
|
48 |
/** |
|
49 |
* 景物形状 {@link NET_EM_SHAPE_TYPE } |
|
50 |
*/ |
|
51 |
public int emShapeType; |
|
52 |
/** |
|
53 |
* 景物的轮廓,每个点依次表示轮廓顶点坐标 |
|
54 |
*/ |
|
55 |
public NetSDKLib.DH_POINT[] stuPolygon = new NetSDKLib.DH_POINT[NET_MAX_POLYGON_NUM]; |
|
56 |
/** |
|
57 |
* 返回的景物轮廓顶点个数 |
|
58 |
*/ |
|
59 |
public int nRetPolygonPointNum; |
|
60 |
/** |
|
61 |
* 保留字段 |
|
62 |
*/ |
|
63 |
public byte[] byReserved1 = new byte[184]; |
|
64 |
|
|
65 |
public POINTINFOS() { |
|
66 |
for (int i = 0; i < stuPolygon.length; i++) { |
|
67 |
stuPolygon[i] = new NetSDKLib.DH_POINT(); |
|
68 |
} |
|
69 |
} |
|
70 |
} |