Skip to main content

Interface: PointsDataProvider<TPointsDataSource, TPointsData>

Defined in: storage/points.ts:11

Data provider for point clouds

Extends

Type Parameters

TPointsDataSource

TPointsDataSource extends PointsDataSource

TPointsData

TPointsData extends PointsData

The concrete PointsData type produced by this data provider

Properties

name

readonly name: string

Defined in: storage/base.ts:14

The name of the data provider

Inherited from

DataProvider.name


schema

readonly schema: JsonSchema

Defined in: storage/base.ts:17

The JSON schema for the data source

Inherited from

DataProvider.schema


uischema

readonly uischema: UISchemaElement

Defined in: storage/base.ts:20

The JSON Forms UI schema for the data source

Inherited from

DataProvider.uischema

Methods

open()

open(dataSource, options?): Promise<TPointsData>

Defined in: storage/base.ts:29

Opens a data source and returns the loaded data accessor

Parameters

dataSource

TPointsDataSource

The data source to open

options?

Optional abort signal, progress callback, and workspace directory handle

onProgress?

ProgressCallback

signal?

AbortSignal

workspace?

FileSystemDirectoryHandle | null

Returns

Promise<TPointsData>

A promise that resolves to the loaded data accessor

Inherited from

DataProvider.open