C3DTTemporalBatchTable

Implements the batch table of the 3DTILES_temporal extension. See the spec in ./jsonSchemas/3DTILES_temporal.batchTable.schema.json

Constructor

new C3DTTemporalBatchTable(json)

Verifies the integrity and stores the data corresponding to the batch table part of the 3DTiles_temporal extension.

Parameters:
NameTypeDescription
jsonobject

The json containing the 3DTiles_temporal extension batch table part for a given tile.

Classes

C3DTTemporalBatchTable

Methods

getInfoById(batchId) → {Object}

Returns information for the given batchId. Can be used to display information associated with an object picked with the mouse for instance.

Parameters:
NameTypeDescription
batchIdnumber

The given identifier (identifier in the batch, i.e. position in the arrays).

Returns:

object containing infos

Type: 
Object

hasInfoForId(batchId) → {boolean}

Checks that the batch table temporal extension has values for a given identifier.

Parameters:
NameTypeDescription
batchIdnumber

The identifier to check (identifier in the batch, i.e. position in the arrays).

Returns:

True if this.startDates[batchId] is filled

Type: 
boolean