Skip to content

KBE3D / KBCore / Cesium / I3SNode

类: I3SNode

This class implements an I3S Node. In CesiumJS each I3SNode creates a Cesium3DTile. <p> Do not construct this directly, instead access tiles through I3SLayer. </p>

属性

resource

readonly resource: Resource

Gets the resource for the node.


layer

readonly layer: I3SLayer

Gets the parent layer.


parent

readonly parent: I3SNode | undefined

Gets the parent node.


children

readonly children: I3SNode[]

Gets the children nodes.


geometryData

readonly geometryData: I3SGeometry[]

Gets the collection of geometries.


featureData

readonly featureData: I3SFeature[]

Gets the collection of features.


fields

readonly fields: I3SField[]

Gets the collection of fields.


tile

readonly tile: Cesium3DTile

Gets the Cesium3DTile for this node.


data

readonly data: any

Gets the I3S data for this object.

方法

loadFields()

loadFields(): Promise<void>

Loads the node fields.

返回

Promise<void>

A promise that is resolved when the I3S Node fields are loaded


loadField()

loadField(name: string): Promise<void>

Loads the node field.

参数

name

string

The field name

返回

Promise<void>

A promise that is resolved when the I3S Node field is loaded


getFieldsForPickedPosition()

getFieldsForPickedPosition(pickedPosition: Cartesian3): any

Returns the fields for a given picked position

参数

pickedPosition

Cartesian3

The picked position

返回

any

Object containing field names and their values


getFieldsForFeature()

getFieldsForFeature(featureIndex: number): any

Returns the fields for a given feature

参数

featureIndex

number

Index of the feature whose attributes we want to get

返回

any

Object containing field names and their values

构造函数

构造函数

new I3SNode(): I3SNode

返回

I3SNode

KBE3D @3.0.0 Copyright © 2024-present KBE3D