@anov/3d 0.0.137 → 0.0.139
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/anov3d.js +10 -10
- package/dist/anov3d.js.map +1 -1
- package/dist/applicationApi.js +17 -9
- package/dist/applicationApi.js.map +1 -1
- package/dist/factory/3d.js +6 -7
- package/dist/factory/3d.js.map +1 -1
- package/dist/factory/globalControl.js +3 -3
- package/dist/factory/globalControl.js.map +1 -1
- package/dist/factory/unit/CameraPoi.js +5 -6
- package/dist/factory/unit/CameraPoi.js.map +1 -1
- package/dist/factory/unit/areaBoundingBox.js +3 -3
- package/dist/factory/unit/areaBoundingBox.js.map +1 -1
- package/dist/factory/unit/circle.js +4 -4
- package/dist/factory/unit/circle.js.map +1 -1
- package/dist/factory/unit/cylinder.js +5 -5
- package/dist/factory/unit/cylinder.js.map +1 -1
- package/dist/factory/unit/districtLine.js +4 -4
- package/dist/factory/unit/districtLine.js.map +1 -1
- package/dist/factory/unit/glsl/heat/frag.js.map +1 -1
- package/dist/factory/unit/glsl/heat/ver.js.map +1 -1
- package/dist/factory/unit/glsl/highway/fragmentShader.js.map +1 -1
- package/dist/factory/unit/glsl/highway/fragmentShader2.js.map +1 -1
- package/dist/factory/unit/glsl/highway/vertexShader.js.map +1 -1
- package/dist/factory/unit/handle.js +3 -3
- package/dist/factory/unit/handle.js.map +1 -1
- package/dist/factory/unit/index.js +13 -14
- package/dist/factory/unit/index.js.map +1 -1
- package/dist/factory/unit/inspection/InspectionObject.js +4 -4
- package/dist/factory/unit/inspection/InspectionObject.js.map +1 -1
- package/dist/factory/unit/inspection/defaultFirstPerspectiveControls.js +3 -3
- package/dist/factory/unit/inspection/defaultFirstPerspectiveControls.js.map +1 -1
- package/dist/factory/unit/inspection/index.js +6 -8
- package/dist/factory/unit/inspection/index.js.map +1 -1
- package/dist/factory/unit/inspection/lineData.js.map +1 -1
- package/dist/factory/unit/inspection/map.js +3 -3
- package/dist/factory/unit/inspection/map.js.map +1 -1
- package/dist/factory/unit/inspection/tubeGeometry.js +3 -3
- package/dist/factory/unit/inspection/tubeGeometry.js.map +1 -1
- package/dist/factory/unit/layer/rise.js.map +1 -1
- package/dist/factory/unit/line.js +3 -3
- package/dist/factory/unit/line.js.map +1 -1
- package/dist/factory/unit/poi.js +5 -5
- package/dist/factory/unit/poi.js.map +1 -1
- package/dist/factory/unit/region.js +3 -3
- package/dist/factory/unit/region.js.map +1 -1
- package/dist/factory/unit/slice.js +3 -3
- package/dist/factory/unit/slice.js.map +1 -1
- package/dist/factory/unit/wall.js +3 -3
- package/dist/factory/unit/wall.js.map +1 -1
- package/dist/factory/utils/areaBoundingBox.js.map +1 -1
- package/dist/factory/utils/constant.js +6 -6
- package/dist/factory/utils/constant.js.map +1 -1
- package/dist/factory/utils/finirMaterial.js +0 -1
- package/dist/factory/utils/finirMaterial.js.map +1 -1
- package/dist/factory/utils/fontMesh.js +3 -3
- package/dist/factory/utils/fontMesh.js.map +1 -1
- package/dist/factory/utils/ground.js.map +1 -1
- package/dist/factory/utils/index.js.map +1 -1
- package/dist/factory/utils/observe.js +1 -1
- package/dist/factory/utils/observe.js.map +1 -1
- package/dist/factory/utils/switchMaterial.js.map +1 -1
- package/dist/hooksManager.js +1 -1
- package/dist/hooksManager.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/messageStatus.js +3 -3
- package/dist/messageStatus.js.map +1 -1
- package/dist/module/camera/index.js +3 -3
- package/dist/module/camera/index.js.map +1 -1
- package/dist/module/develop/index.js +3 -3
- package/dist/module/develop/index.js.map +1 -1
- package/dist/module/entity/baseEntity.js +146 -0
- package/dist/module/entity/baseEntity.js.map +1 -0
- package/dist/module/entity/dispose.js.map +1 -1
- package/dist/module/entity/hybridList.js +3 -3
- package/dist/module/entity/hybridList.js.map +1 -1
- package/dist/module/entity/index.js +149 -150
- package/dist/module/entity/index.js.map +1 -1
- package/dist/module/entity/model/index.js +116 -0
- package/dist/module/entity/model/index.js.map +1 -0
- package/dist/module/entity/model/load/loadGlb.js +19 -0
- package/dist/module/entity/model/load/loadGlb.js.map +1 -0
- package/dist/module/entity/model/load.js +47 -0
- package/dist/module/entity/model/load.js.map +1 -0
- package/dist/module/entity/poi/index.js +22 -43
- package/dist/module/entity/poi/index.js.map +1 -1
- package/dist/module/entity/poi/style/base.js +104 -0
- package/dist/module/entity/poi/style/base.js.map +1 -0
- package/dist/module/entity/poi/style/index.js +67 -0
- package/dist/module/entity/poi/style/index.js.map +1 -0
- package/dist/module/entity/poi/style/title_01.js +62 -0
- package/dist/module/entity/poi/style/title_01.js.map +1 -0
- package/dist/module/entity/poi/style/title_pin_01.js +68 -0
- package/dist/module/entity/poi/style/title_pin_01.js.map +1 -0
- package/dist/module/entity/poi/style/title_pin_02.js +70 -0
- package/dist/module/entity/poi/style/title_pin_02.js.map +1 -0
- package/dist/module/entity/poi/type.js.map +1 -1
- package/dist/module/entity/spline/index.js +29 -0
- package/dist/module/entity/spline/index.js.map +1 -0
- package/dist/module/entity/spline/resource.js +2 -0
- package/dist/module/entity/spline/resource.js.map +1 -0
- package/dist/module/entity/spline/style/index.js +47 -0
- package/dist/module/entity/spline/style/index.js.map +1 -0
- package/dist/module/entity/spline/style/line_01.js +67 -0
- package/dist/module/entity/spline/style/line_01.js.map +1 -0
- package/dist/module/entity/spline/style/line_texture_01.js +85 -0
- package/dist/module/entity/spline/style/line_texture_01.js.map +1 -0
- package/dist/module/entity/spline/type.js +2 -0
- package/dist/module/entity/spline/type.js.map +1 -0
- package/dist/module/entity/strategy.js +45 -2
- package/dist/module/entity/strategy.js.map +1 -1
- package/dist/module/entity/type.js +2 -0
- package/dist/module/entity/type.js.map +1 -0
- package/dist/module/entity/utils.js +14 -0
- package/dist/module/entity/utils.js.map +1 -1
- package/dist/module/environment/index.js +6 -6
- package/dist/module/environment/index.js.map +1 -1
- package/dist/module/environment/season/index.js +6 -8
- package/dist/module/environment/season/index.js.map +1 -1
- package/dist/module/environment/time/index.js.map +1 -1
- package/dist/module/eventBus/index.js +3 -3
- package/dist/module/eventBus/index.js.map +1 -1
- package/dist/module/model/index.js +6 -6
- package/dist/module/model/index.js.map +1 -1
- package/dist/module/scene/index.js +3 -3
- package/dist/module/scene/index.js.map +1 -1
- package/dist/sdkEntry.js +3 -3
- package/dist/sdkEntry.js.map +1 -1
- package/dist/utils/abstract.js +3 -3
- package/dist/utils/abstract.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/messageFn.js +8 -8
- package/dist/utils/messageFn.js.map +1 -1
- package/package.json +5 -4
- package/dist/anov3d.d.ts +0 -27
- package/dist/applicationApi.d.ts +0 -68
- package/dist/factory/3d.d.ts +0 -72
- package/dist/factory/globalControl.d.ts +0 -7
- package/dist/factory/globalData.d.ts +0 -1
- package/dist/factory/regionData.d.ts +0 -36
- package/dist/factory/type.d.ts +0 -10
- package/dist/factory/unit/CameraPoi.d.ts +0 -66
- package/dist/factory/unit/areaBoundingBox.d.ts +0 -7
- package/dist/factory/unit/circle.d.ts +0 -22
- package/dist/factory/unit/cylinder.d.ts +0 -24
- package/dist/factory/unit/districtLine.d.ts +0 -22
- package/dist/factory/unit/glsl/heat/frag.d.ts +0 -2
- package/dist/factory/unit/glsl/heat/ver.d.ts +0 -2
- package/dist/factory/unit/glsl/highway/fragmentShader.d.ts +0 -2
- package/dist/factory/unit/glsl/highway/fragmentShader2.d.ts +0 -2
- package/dist/factory/unit/glsl/highway/vertexShader.d.ts +0 -2
- package/dist/factory/unit/handle.d.ts +0 -42
- package/dist/factory/unit/index.d.ts +0 -9
- package/dist/factory/unit/inspection/InspectionObject.d.ts +0 -49
- package/dist/factory/unit/inspection/defaultFirstPerspectiveControls.d.ts +0 -6
- package/dist/factory/unit/inspection/index.d.ts +0 -52
- package/dist/factory/unit/inspection/lineData.d.ts +0 -26
- package/dist/factory/unit/inspection/map.d.ts +0 -11
- package/dist/factory/unit/inspection/tubeGeometry.d.ts +0 -16
- package/dist/factory/unit/layer/rise.d.ts +0 -6
- package/dist/factory/unit/line.d.ts +0 -13
- package/dist/factory/unit/poi.d.ts +0 -21
- package/dist/factory/unit/region.d.ts +0 -12
- package/dist/factory/unit/slice.d.ts +0 -12
- package/dist/factory/unit/wall.d.ts +0 -16
- package/dist/factory/utils/areaBoundingBox.d.ts +0 -14
- package/dist/factory/utils/constant.d.ts +0 -12
- package/dist/factory/utils/finirMaterial.d.ts +0 -4
- package/dist/factory/utils/fontMesh.d.ts +0 -10
- package/dist/factory/utils/ground.d.ts +0 -40
- package/dist/factory/utils/index.d.ts +0 -2
- package/dist/factory/utils/observe.d.ts +0 -3
- package/dist/factory/utils/switchMaterial.d.ts +0 -17
- package/dist/hooksManager.d.ts +0 -2
- package/dist/index.d.ts +0 -18
- package/dist/messageStatus.d.ts +0 -52
- package/dist/module/camera/index.d.ts +0 -74
- package/dist/module/develop/index.d.ts +0 -19
- package/dist/module/entity/dispose.d.ts +0 -6
- package/dist/module/entity/hybridList.d.ts +0 -11
- package/dist/module/entity/index.d.ts +0 -68
- package/dist/module/entity/poi/constant.d.ts +0 -48
- package/dist/module/entity/poi/constant.js +0 -54
- package/dist/module/entity/poi/constant.js.map +0 -1
- package/dist/module/entity/poi/index.d.ts +0 -13
- package/dist/module/entity/poi/label.d.ts +0 -9
- package/dist/module/entity/poi/label.js +0 -46
- package/dist/module/entity/poi/label.js.map +0 -1
- package/dist/module/entity/poi/resource.d.ts +0 -4
- package/dist/module/entity/poi/title.d.ts +0 -77
- package/dist/module/entity/poi/title.js +0 -265
- package/dist/module/entity/poi/title.js.map +0 -1
- package/dist/module/entity/poi/type.d.ts +0 -88
- package/dist/module/entity/strategy.d.ts +0 -3
- package/dist/module/entity/utils.d.ts +0 -4
- package/dist/module/environment/index.d.ts +0 -50
- package/dist/module/environment/season/index.d.ts +0 -22
- package/dist/module/environment/time/index.d.ts +0 -10
- package/dist/module/environment/weather/type.d.ts +0 -15
- package/dist/module/eventBus/index.d.ts +0 -27
- package/dist/module/model/index.d.ts +0 -15
- package/dist/module/scene/index.d.ts +0 -16
- package/dist/sdkEntry.d.ts +0 -5
- package/dist/utils/abstract.d.ts +0 -6
- package/dist/utils/index.d.ts +0 -30
- package/dist/utils/messageFn.d.ts +0 -19
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Object3D } from '@anov/3d-core';
|
|
2
|
-
import { SpritePoi } from '@anov/3d-ability';
|
|
3
|
-
import type Factory3D from '../3d';
|
|
4
|
-
declare class CircleManage {
|
|
5
|
-
private gobal;
|
|
6
|
-
private scene;
|
|
7
|
-
readonly circleMesh: Map<string, Object3D>;
|
|
8
|
-
private interactionManager;
|
|
9
|
-
private peoplePoi;
|
|
10
|
-
private clickPoi;
|
|
11
|
-
eventListener: Set<Function>;
|
|
12
|
-
poiRemoveEventListener: Function;
|
|
13
|
-
constructor(gobal: Factory3D);
|
|
14
|
-
generateCircle(belongTo: string): void;
|
|
15
|
-
remove(): void;
|
|
16
|
-
setVisible(visible?: boolean): void;
|
|
17
|
-
private bindEvent;
|
|
18
|
-
updateScale(poi: SpritePoi, ratio?: number): void;
|
|
19
|
-
private getCameraPosition;
|
|
20
|
-
private getData;
|
|
21
|
-
}
|
|
22
|
-
export default CircleManage;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Object3D } from '@anov/3d-core';
|
|
2
|
-
import { Mesh } from '@anov/3d-core';
|
|
3
|
-
import type Factory3D from '../3d';
|
|
4
|
-
declare type CylinderManageOption = {
|
|
5
|
-
visible?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare class CylinderManage {
|
|
8
|
-
private scene;
|
|
9
|
-
readonly cylinderMesh: Map<string, Object3D>;
|
|
10
|
-
private option;
|
|
11
|
-
private gobal;
|
|
12
|
-
private currentoperate;
|
|
13
|
-
private highLightAreaId;
|
|
14
|
-
private hoverAreaId;
|
|
15
|
-
constructor(gobal: Factory3D, options?: CylinderManageOption);
|
|
16
|
-
generateCylinder(): void;
|
|
17
|
-
setVisible(visible?: boolean): void;
|
|
18
|
-
getMesh(data: any): Mesh;
|
|
19
|
-
private cameraListenerHandle;
|
|
20
|
-
private cameraAddListener;
|
|
21
|
-
private controlAddListener;
|
|
22
|
-
private cameraRemoveListener;
|
|
23
|
-
}
|
|
24
|
-
export default CylinderManage;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Mesh } from '@anov/3d-core';
|
|
2
|
-
import type { Object3D } from '@anov/3d-core';
|
|
3
|
-
import type { createBloomSelectedTool } from '@anov/3d-ability';
|
|
4
|
-
import type Factory3D from '../3d';
|
|
5
|
-
declare class DistrictLineManage {
|
|
6
|
-
private gobal;
|
|
7
|
-
private scene;
|
|
8
|
-
readonly lineMesh: Map<string, Object3D>;
|
|
9
|
-
activeLine: Mesh;
|
|
10
|
-
color: string;
|
|
11
|
-
bloomSelected: ReturnType<typeof createBloomSelectedTool>['bloomSelected'];
|
|
12
|
-
isShow: boolean;
|
|
13
|
-
constructor(gobal: Factory3D);
|
|
14
|
-
generateLine(): void;
|
|
15
|
-
setHighLightLine(id: any): void;
|
|
16
|
-
setMeshMaterial(mesh: any, color?: string): void;
|
|
17
|
-
removeHighLightLine(id: any): void;
|
|
18
|
-
show(): void;
|
|
19
|
-
hide(): void;
|
|
20
|
-
remove(): void;
|
|
21
|
-
}
|
|
22
|
-
export default DistrictLineManage;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type Anov3D from '../../sdkEntry';
|
|
2
|
-
import type { BaseModule } from '../../utils/abstract';
|
|
3
|
-
export declare const map: {
|
|
4
|
-
HF: number;
|
|
5
|
-
HPU: number;
|
|
6
|
-
LLCV: number;
|
|
7
|
-
CMP1: number;
|
|
8
|
-
CMP2: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const invertMap: {
|
|
11
|
-
0.048: string;
|
|
12
|
-
0.155: string;
|
|
13
|
-
0.247: string;
|
|
14
|
-
0.4: string;
|
|
15
|
-
0.682: string;
|
|
16
|
-
};
|
|
17
|
-
declare class HandlerManage implements BaseModule {
|
|
18
|
-
app: Anov3D;
|
|
19
|
-
constructor(app: Anov3D);
|
|
20
|
-
clickPerson(params: any): void;
|
|
21
|
-
clickBar(params: any): void;
|
|
22
|
-
clickCamera(params: any): void;
|
|
23
|
-
clickGasCancel(): void;
|
|
24
|
-
releaseBar(): void;
|
|
25
|
-
click(name: any): void;
|
|
26
|
-
setInspectTarget(params: {
|
|
27
|
-
target: string;
|
|
28
|
-
}): any;
|
|
29
|
-
stopInspect(): void;
|
|
30
|
-
continueInspect(): void;
|
|
31
|
-
highlightInspectTarget(params: {
|
|
32
|
-
target: string;
|
|
33
|
-
highlight: boolean;
|
|
34
|
-
}): void;
|
|
35
|
-
setViewType(params: {
|
|
36
|
-
viewType: string;
|
|
37
|
-
}): void;
|
|
38
|
-
setFOV(params: {
|
|
39
|
-
fov: number;
|
|
40
|
-
}): void;
|
|
41
|
-
}
|
|
42
|
-
export default HandlerManage;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { LineCurve3, Vector3 } from '@anov/3d-core';
|
|
2
|
-
import type { Css2DPoi } from '@anov/3d-ability';
|
|
3
|
-
declare class InspectionObject {
|
|
4
|
-
model: any;
|
|
5
|
-
private inspection;
|
|
6
|
-
private control;
|
|
7
|
-
private isLock;
|
|
8
|
-
private isAnimation;
|
|
9
|
-
walkCurveMesh: any;
|
|
10
|
-
tempPathMesh: any;
|
|
11
|
-
css2d: Css2DPoi;
|
|
12
|
-
temp: any;
|
|
13
|
-
tempDemo: any;
|
|
14
|
-
isStartUp: boolean;
|
|
15
|
-
initialMinCameraQuaternion: any;
|
|
16
|
-
contineCount: number;
|
|
17
|
-
compassInfo: {
|
|
18
|
-
verticalSpeed: number;
|
|
19
|
-
horizontalSpeed: number;
|
|
20
|
-
height: number;
|
|
21
|
-
};
|
|
22
|
-
constructor(inspection: any);
|
|
23
|
-
private loadModel;
|
|
24
|
-
private breathinglamp;
|
|
25
|
-
private loadPosAudio;
|
|
26
|
-
startMove(curve: any): Promise<void>;
|
|
27
|
-
/**
|
|
28
|
-
* send compass info
|
|
29
|
-
* not use useframe, because useframe will be lose some frame
|
|
30
|
-
*/
|
|
31
|
-
private sendCompassInfo;
|
|
32
|
-
get getSportsProgress(): any;
|
|
33
|
-
subscription(): Promise<unknown>;
|
|
34
|
-
private checkAnimation;
|
|
35
|
-
generateTempPath(currentPosition: Vector3, targetPosition: Vector3): LineCurve3;
|
|
36
|
-
private startRotate;
|
|
37
|
-
private generateTempPathMesh;
|
|
38
|
-
private cleanTempPathMesh;
|
|
39
|
-
private takeOffAnimation;
|
|
40
|
-
gotoTarget(targetPosition: Vector3, targetProgress: number): void;
|
|
41
|
-
setSpeed(speed: number): void;
|
|
42
|
-
stop(): void;
|
|
43
|
-
contineMove(): void;
|
|
44
|
-
/**
|
|
45
|
-
* todo: now temporarily not implemented
|
|
46
|
-
*/
|
|
47
|
-
dispose(): void;
|
|
48
|
-
}
|
|
49
|
-
export default InspectionObject;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { Object3D } from '@anov/3d-core';
|
|
2
|
-
import { Group, Mesh, PerspectiveCamera } from '@anov/3d-core';
|
|
3
|
-
import type Factory3D from '../../3d';
|
|
4
|
-
declare class Inspection {
|
|
5
|
-
gobal: Factory3D;
|
|
6
|
-
inspectionObject: any;
|
|
7
|
-
curve: any;
|
|
8
|
-
groundCurve: any;
|
|
9
|
-
line: Group;
|
|
10
|
-
viewElement: HTMLDivElement;
|
|
11
|
-
isHide: boolean;
|
|
12
|
-
anchorObject: Map<string, Group>;
|
|
13
|
-
mapAnchorObject: Map<string, Mesh>;
|
|
14
|
-
anchorGroup: Group;
|
|
15
|
-
mapAnchorGroup: Group;
|
|
16
|
-
minCamera: PerspectiveCamera;
|
|
17
|
-
InspectionPathObject: Object3D;
|
|
18
|
-
groundMaterial: any;
|
|
19
|
-
mapMaterial: any;
|
|
20
|
-
map: any;
|
|
21
|
-
mapCamera: any;
|
|
22
|
-
defaultFirstPerspectiveControls: any;
|
|
23
|
-
constructor(gobal: Factory3D);
|
|
24
|
-
/**
|
|
25
|
-
* create view element, use to switch view [like a button]
|
|
26
|
-
*/
|
|
27
|
-
private createViewElement;
|
|
28
|
-
/**
|
|
29
|
-
* generate inspection path
|
|
30
|
-
* @param linePosition
|
|
31
|
-
*/
|
|
32
|
-
private generateInspectionPath;
|
|
33
|
-
private onHandleToggleView;
|
|
34
|
-
setSelectedAnchorObject(params: {
|
|
35
|
-
target: string;
|
|
36
|
-
highlight: boolean;
|
|
37
|
-
}): void;
|
|
38
|
-
/**
|
|
39
|
-
* make ground road
|
|
40
|
-
*/
|
|
41
|
-
private makeGroundRoad;
|
|
42
|
-
private anchorMesh;
|
|
43
|
-
private setMapView;
|
|
44
|
-
private setMapViewAnchorPoint;
|
|
45
|
-
private setInspectionCamera;
|
|
46
|
-
get getPathLength(): any;
|
|
47
|
-
startInspection(line: any): void;
|
|
48
|
-
goToInspectionTarget(targetProgress: number): void;
|
|
49
|
-
show(): void;
|
|
50
|
-
hide(): void;
|
|
51
|
-
}
|
|
52
|
-
export default Inspection;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from '@anov/3d-core';
|
|
2
|
-
export declare const flyLinePoints: Vector3[];
|
|
3
|
-
export declare const groundLinePoints: Vector3[];
|
|
4
|
-
export declare const targetProgresspoints: {
|
|
5
|
-
0.048: {
|
|
6
|
-
lookAt: string;
|
|
7
|
-
name: string;
|
|
8
|
-
};
|
|
9
|
-
0.155: {
|
|
10
|
-
lookAt: string;
|
|
11
|
-
name: string;
|
|
12
|
-
};
|
|
13
|
-
0.247: {
|
|
14
|
-
lookAt: string;
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
0.4: {
|
|
18
|
-
lookAt: string;
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
0.682: {
|
|
22
|
-
lookAt: string;
|
|
23
|
-
name: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare const isCheck: (currentProgress: any) => boolean;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Curve, Group, ShaderMaterial, type Vector3 } from '@anov/3d-core';
|
|
2
|
-
import type Inspection from './';
|
|
3
|
-
declare class InspectionMap {
|
|
4
|
-
map: Group;
|
|
5
|
-
inspection: Inspection;
|
|
6
|
-
groundMaterial: ShaderMaterial;
|
|
7
|
-
constructor(inspection: any);
|
|
8
|
-
generate(line: Curve<Vector3>): void;
|
|
9
|
-
private generateMapPlane;
|
|
10
|
-
}
|
|
11
|
-
export default InspectionMap;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, QuadraticBezierCurve3, Vector3 } from '@anov/3d-core';
|
|
2
|
-
declare class TubeGeometry extends BufferGeometry {
|
|
3
|
-
type: string;
|
|
4
|
-
parameters: {
|
|
5
|
-
path: QuadraticBezierCurve3;
|
|
6
|
-
tubularSegments: number;
|
|
7
|
-
radius: number;
|
|
8
|
-
radialSegments: number;
|
|
9
|
-
closed: boolean;
|
|
10
|
-
};
|
|
11
|
-
tangents: Vector3[];
|
|
12
|
-
normals: Vector3[];
|
|
13
|
-
binormals: Vector3[];
|
|
14
|
-
constructor(path?: QuadraticBezierCurve3, tubularSegments?: number, radius?: number, radialSegments?: number, closed?: boolean);
|
|
15
|
-
}
|
|
16
|
-
export default TubeGeometry;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Object3D } from '@anov/3d-core';
|
|
2
|
-
import type Factory3D from '../3d';
|
|
3
|
-
declare type LineManageOption = {
|
|
4
|
-
visible?: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare class LineManage {
|
|
7
|
-
private scene;
|
|
8
|
-
readonly lineMesh: Map<string, Object3D>;
|
|
9
|
-
private option;
|
|
10
|
-
constructor(gobal: Factory3D, options?: LineManageOption);
|
|
11
|
-
generateLine(): void;
|
|
12
|
-
}
|
|
13
|
-
export default LineManage;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Object3D } from '@anov/3d-core';
|
|
2
|
-
import { SpritePoi } from '@anov/3d-ability';
|
|
3
|
-
declare class PoiManage {
|
|
4
|
-
private gobal;
|
|
5
|
-
private scene;
|
|
6
|
-
private dialogPoi;
|
|
7
|
-
readonly poiMesh: Map<string, Object3D>;
|
|
8
|
-
readonly poiEventListener: Set<Function>;
|
|
9
|
-
private wallManage;
|
|
10
|
-
private interactionManager;
|
|
11
|
-
private poiWidth;
|
|
12
|
-
private poiHeight;
|
|
13
|
-
constructor(gobal: any);
|
|
14
|
-
generatePoi(): Promise<void>;
|
|
15
|
-
updateScale(poi: SpritePoi, ratio: number, hratio: any): void;
|
|
16
|
-
getDom(data: any): HTMLDivElement;
|
|
17
|
-
remove(): void;
|
|
18
|
-
reset(): void;
|
|
19
|
-
private addDialogPanel;
|
|
20
|
-
}
|
|
21
|
-
export default PoiManage;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Object3D } from '@anov/3d-core';
|
|
2
|
-
import { BufferGeometry } from '@anov/3d-core';
|
|
3
|
-
import type Factory3D from '../3d';
|
|
4
|
-
declare class RegionPlane {
|
|
5
|
-
private scene;
|
|
6
|
-
readonly planeMesh: Map<string, Object3D>;
|
|
7
|
-
constructor(gobal: Factory3D);
|
|
8
|
-
generatePlane(): void;
|
|
9
|
-
createFaceGeometry(point1: any, point2: any, point3: any, point4: any): BufferGeometry<import("@anov/3d-core").NormalBufferAttributes>;
|
|
10
|
-
remove(): void;
|
|
11
|
-
}
|
|
12
|
-
export default RegionPlane;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Group, ShaderMaterial } from '@anov/3d-core';
|
|
2
|
-
import type Factory3D from '../3d';
|
|
3
|
-
declare class SliceManage {
|
|
4
|
-
private gobal;
|
|
5
|
-
private scene;
|
|
6
|
-
mesh: Group;
|
|
7
|
-
private pointCount;
|
|
8
|
-
constructor(gobal: Factory3D);
|
|
9
|
-
generateSlice(): void;
|
|
10
|
-
createRandomPlane(material: ShaderMaterial): Group;
|
|
11
|
-
}
|
|
12
|
-
export default SliceManage;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Object3D } from '@anov/3d-core';
|
|
2
|
-
import { ShaderMaterial } from '@anov/3d-core';
|
|
3
|
-
import type Factory3D from '../3d';
|
|
4
|
-
export declare const walllMaterial: ShaderMaterial;
|
|
5
|
-
declare type WallManageOption = {
|
|
6
|
-
visible?: boolean;
|
|
7
|
-
};
|
|
8
|
-
declare class WallManage {
|
|
9
|
-
private scene;
|
|
10
|
-
readonly wallMesh: Map<string, Object3D>;
|
|
11
|
-
private option;
|
|
12
|
-
private time;
|
|
13
|
-
constructor(gobal: Factory3D, options?: WallManageOption);
|
|
14
|
-
generateWall(): void;
|
|
15
|
-
}
|
|
16
|
-
export default WallManage;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Box3, Vector3 } from '@anov/3d-core';
|
|
2
|
-
/**
|
|
3
|
-
* create areaBounding box
|
|
4
|
-
* @param points
|
|
5
|
-
* @param height
|
|
6
|
-
*/
|
|
7
|
-
export declare const createAreaBoundingBox: (points: number[][], height: number) => Box3;
|
|
8
|
-
/**
|
|
9
|
-
* collisionDetection
|
|
10
|
-
* @param box
|
|
11
|
-
* @param position
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const collisionDetection: (box: Box3, position: Vector3) => boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum SceneStyle {
|
|
2
|
-
'real' = 0,
|
|
3
|
-
'tech' = 1,
|
|
4
|
-
'white' = 2
|
|
5
|
-
}
|
|
6
|
-
export declare enum SceneTag {
|
|
7
|
-
'overview' = "Overview",
|
|
8
|
-
'people-management' = "Person",
|
|
9
|
-
'smart-inspection' = "Inspection",
|
|
10
|
-
'security-operation' = "Maintenance",
|
|
11
|
-
'standBy' = "StandBy"
|
|
12
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { MeshStandardMaterial, ShaderMaterial } from '@anov/3d-core';
|
|
2
|
-
export declare const finirMaterialV2: ShaderMaterial;
|
|
3
|
-
export declare const finirMaterialV1: MeshStandardMaterial;
|
|
4
|
-
export declare const createFinirMaterial: (rimColor: string, rimPower: number) => MeshStandardMaterial;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Vector3 } from '@anov/3d-core';
|
|
2
|
-
import { Color, Mesh } from '@anov/3d-core';
|
|
3
|
-
declare type FontMeshOption = {
|
|
4
|
-
position: Vector3;
|
|
5
|
-
color?: Color;
|
|
6
|
-
size?: number;
|
|
7
|
-
rotate?: number;
|
|
8
|
-
};
|
|
9
|
-
declare const createFontMesh: (text: string, options: FontMeshOption) => Promise<Mesh>;
|
|
10
|
-
export default createFontMesh;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ShaderMaterial, Vector4 } from '@anov/3d-core';
|
|
2
|
-
export declare const uniforms: {
|
|
3
|
-
_Texture: {
|
|
4
|
-
value: import("@anov/3d-core").Texture;
|
|
5
|
-
};
|
|
6
|
-
_Texture_ST: {
|
|
7
|
-
value: Vector4;
|
|
8
|
-
};
|
|
9
|
-
_Color: {
|
|
10
|
-
value: Vector4;
|
|
11
|
-
};
|
|
12
|
-
_ColorS: {
|
|
13
|
-
value: number;
|
|
14
|
-
};
|
|
15
|
-
_TextureMask: {
|
|
16
|
-
value: import("@anov/3d-core").Texture;
|
|
17
|
-
};
|
|
18
|
-
_TexturePlane: {
|
|
19
|
-
value: import("@anov/3d-core").Texture;
|
|
20
|
-
};
|
|
21
|
-
_MaskUV: {
|
|
22
|
-
value: number;
|
|
23
|
-
};
|
|
24
|
-
_ColorMask: {
|
|
25
|
-
value: Vector4;
|
|
26
|
-
};
|
|
27
|
-
_ColorMaskS: {
|
|
28
|
-
value: number;
|
|
29
|
-
};
|
|
30
|
-
_Speed: {
|
|
31
|
-
value: Vector4;
|
|
32
|
-
};
|
|
33
|
-
_OP: {
|
|
34
|
-
value: number;
|
|
35
|
-
};
|
|
36
|
-
_Time: {
|
|
37
|
-
value: number;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const material: ShaderMaterial;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Material, Object3D } from '@anov/3d-core';
|
|
2
|
-
declare type SwitchMaterialOptions = {
|
|
3
|
-
speed?: number;
|
|
4
|
-
start?: number;
|
|
5
|
-
end?: number;
|
|
6
|
-
callback?: () => void;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* todo 代码合并
|
|
10
|
-
* @param mesh
|
|
11
|
-
* @param material
|
|
12
|
-
* @param options
|
|
13
|
-
*/
|
|
14
|
-
declare const switchMaterialV2: (mesh: Object3D<import("@anov/3d-core").Event> & {
|
|
15
|
-
material: Material;
|
|
16
|
-
}, material: Material, options?: SwitchMaterialOptions) => void;
|
|
17
|
-
export default switchMaterialV2;
|
package/dist/hooksManager.d.ts
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Anov3D from './sdkEntry';
|
|
2
|
-
export declare const defaultCameraParams: {
|
|
3
|
-
fov: number;
|
|
4
|
-
near: number;
|
|
5
|
-
far: number;
|
|
6
|
-
position: {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
z: number;
|
|
10
|
-
};
|
|
11
|
-
lookAt: {
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
z: number;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export { createInstance } from './applicationApi';
|
|
18
|
-
export default Anov3D;
|
package/dist/messageStatus.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export declare const messageStatus: {
|
|
2
|
-
Success: {
|
|
3
|
-
code: number;
|
|
4
|
-
msg: string;
|
|
5
|
-
};
|
|
6
|
-
SerializeFailed: {
|
|
7
|
-
code: number;
|
|
8
|
-
msg: string;
|
|
9
|
-
};
|
|
10
|
-
NameNotFound: {
|
|
11
|
-
code: number;
|
|
12
|
-
msg: string;
|
|
13
|
-
};
|
|
14
|
-
IDNotFound: {
|
|
15
|
-
code: number;
|
|
16
|
-
msg: string;
|
|
17
|
-
};
|
|
18
|
-
ParamsNotFound: {
|
|
19
|
-
code: number;
|
|
20
|
-
msg: string;
|
|
21
|
-
};
|
|
22
|
-
MissingKeyField: {
|
|
23
|
-
code: number;
|
|
24
|
-
msg: string;
|
|
25
|
-
};
|
|
26
|
-
EventNotRegister: {
|
|
27
|
-
code: number;
|
|
28
|
-
msg: string;
|
|
29
|
-
};
|
|
30
|
-
ModuleNotRegister: {
|
|
31
|
-
code: number;
|
|
32
|
-
msg: string;
|
|
33
|
-
};
|
|
34
|
-
EventHandleFailed: {
|
|
35
|
-
code: number;
|
|
36
|
-
msg: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export declare enum EMessageStatus {
|
|
40
|
-
Success = 200,
|
|
41
|
-
SerializeFailed = 500,
|
|
42
|
-
NameNotFound = 400,
|
|
43
|
-
IDNotFound = 400,
|
|
44
|
-
ParamsNotFound = 400,
|
|
45
|
-
MissingKeyField = 400,
|
|
46
|
-
EventNotRegister = 400,
|
|
47
|
-
ModuleNotRegister = 404,
|
|
48
|
-
EventHandleFailed = 422
|
|
49
|
-
}
|
|
50
|
-
export declare const codeMessageMap: {
|
|
51
|
-
200: string;
|
|
52
|
-
};
|