コンテンツにスキップ

PointCloudCollection

PointCloudを管理するクラス

See

Viewer.point_cloud_collection

Constructors

new PointCloudCollection()

new PointCloudCollection(scene): PointCloudCollection

Parameters

Parameter Type Description
scene Scene 所属するシーン

Returns

PointCloudCollection

Accessors

length

get length(): number

点群オブジェクト数

Returns

number

Methods

add()

add(item): Promise<PointCloud>

点群オブジェクトを追加

Parameters

Parameter Type Description
item PointCloudProvider 点群プロバイダ

Returns

Promise<PointCloud>

追加された点群


get()

get(index): PointCloud

点群オブジェクトを取得

Parameters

Parameter Type Description
index number 番号

Returns

PointCloud


insert()

insert(index, item): Promise<PointCloud>

点群オブジェクトを指定した位置に追加

Parameters

Parameter Type Description
index number 番号
item PointCloudProvider 点群プロバイダ

Returns

Promise<PointCloud>

追加された点群


remove()

remove(item): void

指定した点群オブジェクトを削除

Parameters

Parameter Type Description
item PointCloud 削除する点群

Returns

void


removeByIndex()

removeByIndex(index): PointCloud

指定した位置の点群オブジェクトを削除

Parameters

Parameter Type Description
index number 番号

Returns

PointCloud

削除された点群