Skip to main content

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​

NameType
currentCenter?vec3
idnumber
profilenumber

grid​

• Optional grid: Object

Grid settings

Type declaration​

NameTypeDescription
axisXvec3X axis of the grid, length determines the distance between lines
axisYvec3Y axis of the grid, length determines the distance between lines
enabledbooleanEnable grid plane.
majorColorReadonlyVec3Color of major grid lines
majorLineCountnumberNumber of major lines, odd number needed to have lines go through origo.
minorColorReadonlyVec3Color of minor grid lines
minorLineCountnumberNumber of minor lines between major lines.
origovec3Origo 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​

NameType
idsnumber[]
modenumber