vim-web 0.3.44-dev.3 → 0.3.44-dev.30
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/README.md +2 -2
- package/dist/style.css +9 -5
- package/dist/types/core-viewers/ultra/index.d.ts +1 -1
- package/dist/types/core-viewers/ultra/viewer/camera.d.ts +2 -1
- package/dist/types/core-viewers/ultra/viewer/inputs/{inputKeyboard.d.ts → keyboardHandler.d.ts} +1 -1
- package/dist/types/core-viewers/ultra/viewer/inputs/{inputMouse.d.ts → mouseHandler.d.ts} +7 -6
- package/dist/types/core-viewers/ultra/viewer/inputs/{InputTouch.d.ts → touchHandler.d.ts} +1 -1
- package/dist/types/core-viewers/ultra/viewer/marshal.d.ts +1 -1
- package/dist/types/core-viewers/ultra/viewer/sectionBox.d.ts +1 -0
- package/dist/types/core-viewers/ultra/viewer/selection.d.ts +3 -0
- package/dist/types/core-viewers/ultra/viewer/vim.d.ts +1 -1
- package/dist/types/core-viewers/webgl/loader/materials/viewerMaterials.d.ts +1 -1
- package/dist/types/core-viewers/webgl/viewer/gizmos/sectionBox/sectionBoxHandle.d.ts +2 -0
- package/dist/types/core-viewers/webgl/viewer/inputs/inputHandler.d.ts +1 -0
- package/dist/types/react-viewers/bim/bimPanel.d.ts +3 -3
- package/dist/types/react-viewers/bim/bimTree.d.ts +2 -2
- package/dist/types/react-viewers/controlbar/controlBar.d.ts +1 -0
- package/dist/types/react-viewers/controlbar/controlBarIds.d.ts +29 -0
- package/dist/types/react-viewers/helpers/{inputs.d.ts → componentInputs.d.ts} +2 -2
- package/dist/types/react-viewers/helpers/isolation.d.ts +2 -2
- package/dist/types/react-viewers/helpers/reactUtils.d.ts +39 -0
- package/dist/types/react-viewers/index.d.ts +4 -0
- package/dist/types/react-viewers/panels/axesPanel.d.ts +2 -2
- package/dist/types/react-viewers/panels/contextMenu.d.ts +2 -2
- package/dist/types/react-viewers/panels/icons.d.ts +1 -0
- package/dist/types/react-viewers/state/cameraState.d.ts +22 -0
- package/dist/types/react-viewers/state/controlBarState.d.ts +31 -33
- package/dist/types/react-viewers/state/sectionBoxState.d.ts +12 -14
- package/dist/types/react-viewers/ultra/errors/ultraErrors.d.ts +1 -1
- package/dist/types/react-viewers/ultra/index.d.ts +1 -0
- package/dist/types/react-viewers/ultra/ultraCameraState.d.ts +2 -0
- package/dist/types/react-viewers/ultra/ultraComponent.d.ts +1 -7
- package/dist/types/react-viewers/ultra/ultraComponentRef.d.ts +36 -0
- package/dist/types/react-viewers/ultra/ultraControlBarState.d.ts +14 -1
- package/dist/types/react-viewers/urls.d.ts +1 -0
- package/dist/types/react-viewers/webgl/webglCameraState.d.ts +2 -0
- package/dist/types/react-viewers/webgl/webglComponentRef.d.ts +7 -2
- package/dist/vim-web.iife.js +529 -396
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +529 -396
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/react-viewers/helpers/camera.d.ts +0 -37
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module viw-webgl-react
|
|
3
|
-
*/
|
|
4
|
-
import { WebglViewer, THREE } from '../../index';
|
|
5
|
-
/**
|
|
6
|
-
* Wraps the webgl viewer and provide higher level methods
|
|
7
|
-
*/
|
|
8
|
-
export declare class ComponentCamera {
|
|
9
|
-
private _viewer;
|
|
10
|
-
constructor(viewer: WebglViewer.Viewer);
|
|
11
|
-
/**
|
|
12
|
-
* Resets the camera to its initial position.
|
|
13
|
-
*/
|
|
14
|
-
reset(): void;
|
|
15
|
-
/**
|
|
16
|
-
* Frames selected elements if there is an active selection; otherwise, frames all visible objects.
|
|
17
|
-
* @param duration Optional duration of the camera movement animation (default: 1).
|
|
18
|
-
*/
|
|
19
|
-
frameContext(duration?: number): void;
|
|
20
|
-
/**
|
|
21
|
-
* Frames selected elements if there is an active selection; otherwise, does nothing.
|
|
22
|
-
* @param duration Optional duration of the camera movement animation (default: 1).
|
|
23
|
-
*/
|
|
24
|
-
frameSelection(duration?: number): void;
|
|
25
|
-
/**
|
|
26
|
-
* Frames all visible objects in the scene.
|
|
27
|
-
* @param source Optional VIM to specify the source of objects to frame.
|
|
28
|
-
* @param duration Duration of the camera movement animation (default: 1).
|
|
29
|
-
*/
|
|
30
|
-
frameVisibleObjects(source?: WebglViewer.Vim, duration?: number): void;
|
|
31
|
-
/**
|
|
32
|
-
* Returns the bounding box of all visible objects.
|
|
33
|
-
* @param source Optional VIM to specify the source of visible objects.
|
|
34
|
-
* @returns The bounding box of all visible objects.
|
|
35
|
-
*/
|
|
36
|
-
getVisibleBoundingBox(source?: WebglViewer.Vim): THREE.Box3;
|
|
37
|
-
}
|