vim-web 0.3.39-dev.2 → 0.3.39-dev.4
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/types/core-viewers/webgl/index.d.ts +0 -1
- package/dist/types/react-viewers/controlbar/measureState.d.ts +2 -2
- package/dist/types/react-viewers/helpers/camera.d.ts +4 -4
- package/dist/types/react-viewers/helpers/isolation.d.ts +1 -1
- package/dist/vim-web.iife.js +40188 -40189
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +40188 -40189
- package/dist/vim-web.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { WebglViewer } from '../../index';
|
|
2
2
|
import { CursorManager } from '../helpers/cursor';
|
|
3
|
-
export declare function getMeasureState(viewer:
|
|
3
|
+
export declare function getMeasureState(viewer: WebglViewer.Viewer, cursor: CursorManager): {
|
|
4
4
|
active: boolean;
|
|
5
5
|
toggle: () => void;
|
|
6
6
|
clear: () => void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module viw-webgl-react
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
4
|
+
import { WebglViewer, THREE } from '../../index';
|
|
5
5
|
/**
|
|
6
6
|
* Wraps the webgl viewer and provide higher level methods
|
|
7
7
|
*/
|
|
8
8
|
export declare class ComponentCamera {
|
|
9
9
|
private _viewer;
|
|
10
|
-
constructor(viewer:
|
|
10
|
+
constructor(viewer: WebglViewer.Viewer);
|
|
11
11
|
/**
|
|
12
12
|
* Resets the camera to its initial position.
|
|
13
13
|
*/
|
|
@@ -27,11 +27,11 @@ export declare class ComponentCamera {
|
|
|
27
27
|
* @param source Optional VIM to specify the source of objects to frame.
|
|
28
28
|
* @param duration Duration of the camera movement animation (default: 1).
|
|
29
29
|
*/
|
|
30
|
-
frameVisibleObjects(source?:
|
|
30
|
+
frameVisibleObjects(source?: WebglViewer.Vim, duration?: number): void;
|
|
31
31
|
/**
|
|
32
32
|
* Returns the bounding box of all visible objects.
|
|
33
33
|
* @param source Optional VIM to specify the source of visible objects.
|
|
34
34
|
* @returns The bounding box of all visible objects.
|
|
35
35
|
*/
|
|
36
|
-
getVisibleBoundingBox(source?:
|
|
36
|
+
getVisibleBoundingBox(source?: WebglViewer.Vim): THREE.Box3;
|
|
37
37
|
}
|
|
@@ -82,6 +82,6 @@ export declare class Isolation {
|
|
|
82
82
|
* Show all objects and quit isolation mode.
|
|
83
83
|
*/
|
|
84
84
|
private _showAll;
|
|
85
|
-
getMaterial(settings: ComponentSettings, isolate: boolean):
|
|
85
|
+
getMaterial(settings: ComponentSettings, isolate: boolean): import("three").Material;
|
|
86
86
|
private _isolate;
|
|
87
87
|
}
|