Data JS API
DataJsAPI.Bookmark
Bookmark, used to store camera parameters such as postion, rotation, fov etc.
Properties​
camera​
• Optional
camera: CameraProperties
Bookmark camera position.
clippingPlanes​
• Optional
clippingPlanes: ClippingPlanes
Clipping planes
clippingVolume​
• Optional
clippingVolume: ClippingVolume
Clipping volume
defaultVisibility​
• Optional
defaultVisibility: "neutral"
| "semiTransparent"
| "transparent"
description​
• Optional
description: string
Bookmark description.
followPath​
• Optional
followPath: Object
Follow path
Type declaration​
Name | Type |
---|---|
currentCenter? | vec3 |
id | number |
profile | number |
grid​
• Optional
grid: Object
Grid settings
Type declaration​
Name | Type | Description |
---|---|---|
axisX | vec3 | X axis of the grid, length determines the distance between lines |
axisY | vec3 | Y axis of the grid, length determines the distance between lines |
enabled | boolean | Enable grid plane. |
majorColor | ReadonlyVec3 | Color of major grid lines |
majorLineCount | number | Number of major lines, odd number needed to have lines go through origo. |
minorColor | ReadonlyVec3 | Color of minor grid lines |
minorLineCount | number | Number of minor lines between major lines. |
origo | vec3 | Origo of the grid |
grouping​
• Optional
grouping: string
Grouping.
id​
• Optional
id: string
Bookmark id.
img​
• Optional
img: string
Bookmark preview image as base64 encoded.
measurement​
• Optional
measurement: vec3
[]
Measurement points
name​
• name: string
Bookmark name.
objectGroups​
• Optional
objectGroups: ObjectGroup
[]
Bookmark objects groups.
objectMeasurement​
• Optional
objectMeasurement: MeasureObjectPoint
[]
Measurement objects points
ortho​
• Optional
ortho: OrthoControllerParams
Bookmark ortho camera.
selectedOnly​
• selectedOnly: boolean
Show selection only in 3D
selectionBasket​
• Optional
selectionBasket: Object
Selection basket
Type declaration​
Name | Type |
---|---|
ids | number [] |
mode | number |