提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 隐私遮挡信息 |
|
8 |
* @date 2022/07/21 16:59:51 |
|
9 |
*/ |
|
10 |
public class NET_PRIVACY_MASKING_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 遮档块编号,从0开始 |
|
13 |
*/ |
|
14 |
public int nIndex; |
|
15 |
/** |
|
16 |
* 隐私遮挡开关标志 1 开,0关 |
|
17 |
*/ |
|
18 |
public int nEnable; |
|
19 |
/** |
|
20 |
* 每个遮挡块可命名 |
|
21 |
*/ |
|
22 |
public byte[] szName = new byte[64]; |
|
23 |
/** |
|
24 |
* 形状类型为矩形,Rect项有效(默认),形状类型为多边形,此时Polygon有效 |
7412dd
|
25 |
* {@link com.iailab.netsdk.lib.enumeration.EM_PRIVACY_MASKING_TYPE} |
149dd0
|
26 |
*/ |
H |
27 |
public int emShapeType; |
|
28 |
/** |
|
29 |
* 矩形区域,使用相对坐标体系,取值均为0-8192 |
|
30 |
*/ |
|
31 |
public NetSDKLib.DH_RECT stuRect = new NetSDKLib.DH_RECT(); |
|
32 |
/** |
|
33 |
* 多边形顶点坐标,多边形顶点不超过64, 使用相对坐标体系,取值均为0-8192 |
|
34 |
*/ |
|
35 |
public NET_UINT_POINT[] stuPolygon = new NET_UINT_POINT[64]; |
|
36 |
/** |
|
37 |
* 多边形顶点坐标个数 |
|
38 |
*/ |
|
39 |
public int nPointNum; |
|
40 |
/** |
|
41 |
* 遮挡块颜色,下发时nMosaic为0则必填 |
|
42 |
*/ |
|
43 |
public NET_COLOR_RGBA stuColor = new NET_COLOR_RGBA(); |
|
44 |
/** |
|
45 |
* 遮挡块马赛克类型,马赛克时颜色Color无效,具体值参考获取能力后NET_MOSAIC_MASKING_CAPS的nSupportMosaicType字段 |
|
46 |
*/ |
|
47 |
public int nMosaic; |
|
48 |
/** |
|
49 |
* 屏蔽倍率,度数扩大10倍表示 |
|
50 |
*/ |
|
51 |
public int nShieldZoom; |
|
52 |
/** |
|
53 |
* 保留字节 |
|
54 |
*/ |
|
55 |
public byte[] szResvered = new byte[512]; |
|
56 |
|
|
57 |
public NET_PRIVACY_MASKING_INFO() { |
|
58 |
for (int i = 0; i < stuPolygon.length; i++) { |
|
59 |
stuPolygon[i] = new NET_UINT_POINT(); |
|
60 |
} |
|
61 |
} |
|
62 |
} |