@nnepoch/dtc-sdk 3.0.15 → 3.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/dtc-sdk-3.0.17.js +2 -0
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.d.cts +67 -24
- package/dist/esm/index.d.ts +67 -24
- package/dist/esm/index.js +4 -4
- package/docs/api/api/classes/GizmosTool.md +86 -2
- package/docs/api/api/classes/Layer.md +50 -1
- package/docs/api/api/classes/Model.md +7 -7
- package/docs/api/api/classes/Scene.md +6 -134
- package/docs/api/api/classes/UIPOI.md +4 -4
- package/docs/api/application/DTCEngine/classes/DTCEngine.md +4 -0
- package/docs/api/index.md +1 -1
- package/docs/api/typedoc-sidebar.json +36 -0
- package/docs/api/types/enumerations/FilterMode.md +1 -1
- package/docs/api/types/enumerations/UIPopState.md +29 -0
- package/docs/api/types/index.md +9 -0
- package/docs/api/types/interfaces/BuildingFloorItem.md +16 -0
- package/docs/api/types/interfaces/BuildingFloorOverview.md +16 -0
- package/docs/api/types/interfaces/GizmosModelSnapRequest.md +21 -0
- package/docs/api/types/interfaces/GizmosModelSnapResult.md +37 -0
- package/docs/api/types/interfaces/GizmosPolygonSelectRequest.md +21 -0
- package/docs/api/types/interfaces/GizmosPolygonSelectResult.md +11 -0
- package/docs/api/types/interfaces/GizmosStartBatchRequest.md +11 -0
- package/docs/api/types/interfaces/LayerPoiStateRequest.md +21 -0
- package/docs/api/types/interfaces/LayerUpdatePoiStatesRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSetVisibleByAttributeRequest.md +1 -1
- package/docs/api/types/interfaces/UIPOIUpdateStateRequest.md +5 -5
- package/docs/api/types/type-aliases/GizmosModelTarget.md +7 -0
- package/package.json +1 -1
- package/dist/browser/dtc-sdk-3.0.15.js +0 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosPolygonSelectRequest
|
|
2
|
+
|
|
3
|
+
# Interface: GizmosPolygonSelectRequest
|
|
4
|
+
|
|
5
|
+
不传 polygon 时在视频上交互框选;传入时直接查询,不等待鼠标操作。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string` \| `string`[]
|
|
12
|
+
|
|
13
|
+
允许选择的网页模型分组,包含其子分组。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### polygon?
|
|
18
|
+
|
|
19
|
+
> `optional` **polygon?**: [`PointEditorScreenPosition`](PointEditorScreenPosition.md)[]
|
|
20
|
+
|
|
21
|
+
视频图像归一化坐标,至少 3 个顶点,支持凹多边形。
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosPolygonSelectResult
|
|
2
|
+
|
|
3
|
+
# Interface: GizmosPolygonSelectResult
|
|
4
|
+
|
|
5
|
+
只返回选中模型身份;模型及其附属 POI 不会产生两条结果,不会自动占用编辑锁。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### targets
|
|
10
|
+
|
|
11
|
+
> **targets**: [`GizmosStartSimpleRequest`](GizmosStartSimpleRequest.md)[]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosStartBatchRequest
|
|
2
|
+
|
|
3
|
+
# Interface: GizmosStartBatchRequest
|
|
4
|
+
|
|
5
|
+
批量编辑显式列出各模型所属分组,不按全局 ID 猜测。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### targets
|
|
10
|
+
|
|
11
|
+
> **targets**: [`GizmosStartSimpleRequest`](GizmosStartSimpleRequest.md)[]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerPoiStateRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerPoiStateRequest
|
|
4
|
+
|
|
5
|
+
气泡状态项。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### id
|
|
10
|
+
|
|
11
|
+
> **id**: `string`
|
|
12
|
+
|
|
13
|
+
气泡唯一编号,必填。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### state
|
|
18
|
+
|
|
19
|
+
> **state**: `"normal"` \| `"alert"` \| `"offline"` \| [`UIPopState`](../enumerations/UIPopState.md)
|
|
20
|
+
|
|
21
|
+
气泡状态:normal 正常、alert 警告、offline 离线。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerUpdatePoiStatesRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerUpdatePoiStatesRequest
|
|
4
|
+
|
|
5
|
+
Layer.updatePoiStates 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
父图层或分组 ID,可不填。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### poiStates
|
|
18
|
+
|
|
19
|
+
> **poiStates**: [`LayerPoiStateRequest`](LayerPoiStateRequest.md)[]
|
|
20
|
+
|
|
21
|
+
需更新的POI状态列表,至少一个。
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: UIPOIUpdateStateRequest
|
|
4
4
|
|
|
5
|
-
UIPOI.
|
|
5
|
+
UIPOI.updatePoiStates 参数。
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
###
|
|
9
|
+
### parentId
|
|
10
10
|
|
|
11
|
-
> **
|
|
11
|
+
> **parentId**: `string`
|
|
12
12
|
|
|
13
13
|
气泡分组名称。
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### poiStates
|
|
18
18
|
|
|
19
|
-
> **
|
|
19
|
+
> **poiStates**: `Record`\<`string`, `unknown`\>[]
|
|
20
20
|
|
|
21
21
|
气泡状态列表。
|