Skip to main content
Version: Next

Interface: Image360

@cognite/reveal.Image360

A single 360 image "station", which may consist of several revisions captured in approximately the same location

Properties

id

Readonly id: string

Get Id of 360 image entity.

Defined in

packages/360-images/src/entity/Image360.ts:42


image360Visualization

Readonly image360Visualization: Image360Visualization

The object containing the unit cube with the 360 images.

Defined in

packages/360-images/src/entity/Image360.ts:36


label

Readonly label: undefined | string

Get label of 360 image entity.

Defined in

packages/360-images/src/entity/Image360.ts:48


transform

Readonly transform: Matrix4

Get a copy of the model-to-world transformation matrix of the given 360 image.

Defined in

packages/360-images/src/entity/Image360.ts:30

Methods

getActiveRevision

getActiveRevision(): Image360Revision

Get the revision that is currently loaded for this entry.

Returns

Image360Revision

The active revision.

Defined in

packages/360-images/src/entity/Image360.ts:60


getIconColor

getIconColor(): Color | "default"

Get a copy of the color assigned to the icon of this entity

Returns

Color | "default"

The currently assign color, or 'default' if none is assigned

Defined in

packages/360-images/src/entity/Image360.ts:67


getRevisions

getRevisions(): Image360Revision[]

List all historical images for this entity.

Returns

Image360Revision[]

A list of available revisions.

Defined in

packages/360-images/src/entity/Image360.ts:54


setIconColor

setIconColor(color): void

Assign a color to the icon of this entity

Parameters

NameType
colorColor | "default"

Returns

void

Defined in

packages/360-images/src/entity/Image360.ts:72