Skip to main content

Class: TablePointsDataProvider

Defined in: @tissuumaps-storage/src/table/TablePointsDataProvider.ts:14

Data provider for point clouds

Implements

Constructors

Constructor

new TablePointsDataProvider(): TablePointsDataProvider

Returns

TablePointsDataProvider

Properties

name

readonly name: "Table" = "Table"

Defined in: @tissuumaps-storage/src/table/TablePointsDataProvider.ts:19

The name of the data provider

Implementation of

PointsDataProvider.name


schema

readonly schema: object

Defined in: @tissuumaps-storage/src/table/TablePointsDataProvider.ts:21

The JSON schema for the data source

properties

properties: object

properties.table

table: object

properties.table.type

type: string = "string"

properties.x

x: object

properties.x.default

default: string = tablePointsDataSourceDefaults.x

properties.x.type

type: string = "string"

properties.y

y: object

properties.y.default

default: string = tablePointsDataSourceDefaults.y

properties.y.type

type: string = "string"

required

required: string[]

type

type: string = "object"

Implementation of

PointsDataProvider.schema


uischema

readonly uischema: object

Defined in: @tissuumaps-storage/src/table/TablePointsDataProvider.ts:39

The JSON Forms UI schema for the data source

elements

elements: object[]

type

type: string = "VerticalLayout"

Implementation of

PointsDataProvider.uischema

Methods

load()

load(normalizedDataSource, options?): Promise<TablePointsData>

Defined in: @tissuumaps-storage/src/table/TablePointsDataProvider.ts:66

Opens a data source and returns the loaded data accessor

The data source has to have been normalized by DataProvider.normalize beforehand.

Parameters

normalizedDataSource

NormalizedTablePointsDataSource

The normalized data source to open

options?

AnnotatedDataProviderLoadOptions

See AnnotatedDataProviderLoadOptions

Returns

Promise<TablePointsData>

A promise that resolves to the loaded data accessor

Implementation of

PointsDataProvider.load


normalize()

normalize(dataSource): NormalizedTablePointsDataSource

Defined in: @tissuumaps-storage/src/table/TablePointsDataProvider.ts:60

Returns the data source with all of this data provider's defaults applied and all of its relative URLs resolved

Data sources that normalize to the same value are considered equal, and their data is loaded only once and shared between all referencing objects. Normalization has to be idempotent: normalizing an already normalized data source must return the same value again.

Relative URLs are resolved against the URL the project was loaded from, and against the document base URL for projects without one.

Parameters

dataSource

TablePointsDataSource

The data source to normalize

Returns

NormalizedTablePointsDataSource

The normalized data source

Implementation of

PointsDataProvider.normalize