Skip to main content
Version: 4.x

Class: AnnotationIdPointCloudObjectCollection

@cognite/reveal.AnnotationIdPointCloudObjectCollection

A simple PointCloudObjectCollection that consists of an explicitly provided list of annotation IDs

Hierarchy

Constructors

constructor

new AnnotationIdPointCloudObjectCollection(ids)

Parameters

NameType
idsIterable<number>

Overrides

PointCloudObjectCollection.constructor

Defined in

packages/pointcloud-styling/src/AnnotationIdPointCloudObjectCollection.ts:13

Accessors

isLoading

get isLoading(): false

Returns

false

whether the collection is still loading data in the background i.e. not yet ready for use

Overrides

PointCloudObjectCollection.isLoading

Defined in

packages/pointcloud-styling/src/AnnotationIdPointCloudObjectCollection.ts:22

Methods

getAnnotationIds

getAnnotationIds(): Iterable<number>

Returns

Iterable<number>

annotation IDs of the annotations for the objects represented by this PointCloudObjectCollection instance

Overrides

PointCloudObjectCollection.getAnnotationIds

Defined in

packages/pointcloud-styling/src/AnnotationIdPointCloudObjectCollection.ts:18


off

off(event, listener): void

Parameters

NameType
event"changed"
listener() => void

Returns

void

Inherited from

PointCloudObjectCollection.off

Defined in

packages/pointcloud-styling/src/PointCloudObjectCollection.ts:30


on

on(event, listener): void

Parameters

NameType
event"changed"
listener() => void

Returns

void

Inherited from

PointCloudObjectCollection.on

Defined in

packages/pointcloud-styling/src/PointCloudObjectCollection.ts:25